Re: svg with embedded jpg
Hussein Shafie <[email protected]>
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
On 8/10/20 9:06 AM, Grundtvig Nielsen Niels wrote: > > I have a few Illustrator graphics (.eps) in my non-DITA documents that > are built up from a photograph (.jpg) and arrows/callouts. They display > correctly in the XML Mind workspace, and in Chrome – but when I try to > create a .pdf, conversion fails because the jpg 'cannot be found'. Sorry but I have no way to reproduce this problem here at XMLmind Software. If it's just about embedding JPG into an SVG, you have already asked a question about this. See https://www.mail-archive.com/[email protected]/msg11545.html > > Here's the log file, and I'm hoping there may be a workaround. Mixing > vector and non-vector has been a good solution so far, because I have to > illustrate a control panel (vector drawing) that includes a status > monitor and visual menu (photo). > > Thanks in advance for any hints. > > N > > Invoking process command "dita.toPS" > > with parameter ""pdf" "pdf"" > > Invoking method > > "com.xmlmind.xmleditext.dita.PreProcess.process" > > with arguments > > "-v info -toc -images images/*.{pdf,mml,svg,png,jpg,jpeg,gif} -out > __doc.pdf -media print -options dita.toPS.options" > > Loading "T:\14_Adyton\referenceGuide_DITA\arg_89bp70.dita"... > > Using an automatically generated topic map... > > Controlling attribute values in > "T:\structured\changeTracking_files\updated.ditaval"... > > Adding frontmatter and/or backmatter to the topic map... > > Controlling attribute values in "C:\__MAP.ditamap"... > > Controlling attribute values in > "T:\14_Adyton\referenceGuide_DITA\arg_89bp70.dita"... > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:7:41: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:30:28: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:53:49: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:65:43: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:90:45: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:91:27: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:92:27: cannot > resolve keyref="awl" and there is no "href" fallback attribute > > file:/T:/14_Adyton/referenceGuide_DITA/arg_89bp70.dita:104:76: cannot > resolve keyref="ady" and there is no "href" fallback attribute > > Processing inclusions in the topics... > > Processing related links in the topics... > > Filtering the topics... > > Determining which files are to contain the topics... > > Processing IDs and links... > > Processing resources... > > Copying resource "T:\14_Adyton\graphics\adt_front.svg" to > "C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\images\adt_front.svg"... > > Copying resource "T:\14_Adyton\graphics\adt_side.svg" to > "C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\images\adt_side.svg"... > > Saving information about preprocessed files to > "C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\ditac_lists.ditac_lists"... > > Saving preprocessed file > "C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\__doc.ditac"... > > Transforming XML file "__doc.ditac" to "__doc.fo" using "<property > name="dita.toPS.transform">" > > Compiling stylesheet "file:/T:/_templates/fo_indent_custom.xsl" > > Using the following stylesheet parameters: > > number=table > > show-draft-comments=yes > > use-note-icon=yes > > ditacListsURI=file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/ditac_lists.ditac_lists > > outputFormat=pdf > > title-after=fig > > Processing XML file > "C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\__doc.ditac" > > Converting XSL-FO file "__doc.fo" to "__doc.pdf" using FOP > > [FOP ERROR] SVG error: Image not found: > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/2A3AB457.jpg: > Image not found: > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/2A3AB457.jpg > > [FOP ERROR] SVG graphic could not be built. Reason: > org.apache.batik.bridge.BridgeException: > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/adt_front.svg:0 > > The URI > "file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/2A3AB457.jpg" > > on element <image> can't be opened because: > > The URI can't be opened: > > C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\images\2A3AB457.jpg > (The system cannot find the file specified): > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/adt_front.svg:0 > > The URI > "file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/2A3AB457.jpg" > > on element <image> can't be opened because: > > The URI can't be opened: > > C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\images\2A3AB457.jpg > (The system cannot find the file specified) > > [FOP ERROR] SVG error: Image not found: > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/EE1F0537.jpg: > Image not found: > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/EE1F0537.jpg > > [FOP ERROR] SVG graphic could not be built. Reason: > org.apache.batik.bridge.BridgeException: > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/adt_side.svg:0 > > The URI > "file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/EE1F0537.jpg" > > on element <image> can't be opened because: > > The URI can't be opened: > > C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\images\EE1F0537.jpg > (The system cannot find the file specified): > file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/adt_side.svg:0 > > The URI > "file:/C:/Users/a548040/AppData/Local/Temp/xxe1150465205087479793_d/images/EE1F0537.jpg" > > on element <image> can't be opened because: > > The URI can't be opened: > > C:\Users\a548040\AppData\Local\Temp\xxe1150465205087479793_d\images\EE1F0537.jpg > (The system cannot find the file specified) > > [FOP INFO] Rendered page #1. > > [FOP INFO] Rendered page #2. > > [FOP INFO] Generated 2 pages. > > Copying files to "file:/T:/14_Adyton/referenceGuide_DITA/toDelete.pdf" > > Creating "T:\14_Adyton\referenceGuide_DITA\toDelete.pdf"... > -- XMLmind XML Editor Support List [email protected] https://www.xmlmind.com/mailman/listinfo/xmleditor-support