Subject: mailing-list for TeXmacs Users
List archive
From : Jan Kuhfeld <address@hidden>- To: address@hidden
- Subject: Rendering of SVG in exported PDF
- Date: Thu, 6 Jan 2022 18:11:36 +0100
Hello everyone,
when inserting SVG images they are rendered nicely in Texmacs (2.1). But in the exported PDF they are not shown correctly. For example the markers (arrowheads etc.) are missing.
I attach some example files which should illustrate the issue. I produced the SVG file in two versions, because I initially thought the problem is the Inkscape format. But the same problem remains for 'normal' SVG. Also, it does not make a difference if the images are linked or embedded.
For me, it looks, like only a subset of the SVG format is supported when exporting.
Please let me know, if I can provide more information.
Best regards,
Jan
Attachment:
test.pdf
Description: Adobe PDF document
<TeXmacs|2.1> <style|generic> <\body> <doc-data|<doc-title|SVG Test>> <section|Inkscape SVG> <image|<tuple|<#3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D3822207374616E64616C6F6E653D226E6F223F3E0A3C212D2D2043726561746564207769746820496E6B73636170652028687474703A2F2F7777772E696E6B73636170652E6F72672F29202D2D3E0A0A3C7376670A20202077696474683D223239376D6D220A2020206865696768743D223231306D6D220A20202076696577426F783D223020302032393720323130220A20202076657273696F6E3D22312E31220A20202069643D2273766735220A202020696E6B73636170653A76657273696F6E3D22312E312E312028336266356165306432352C20323032312D30392D32302C20637573746F6D29220A202020736F6469706F64693A646F636E616D653D22696E6B73636170652E737667220A202020786D6C6E733A696E6B73636170653D22687474703A2F2F7777772E696E6B73636170652E6F72672F6E616D657370616365732F696E6B7363617065220A202020786D6C6E733A736F6469706F64693D22687474703A2F2F736F6469706F64692E736F75726365666F7267652E6E65742F4454442F736F6469706F64692D302E647464220A202020786D6C6E733D22687474703A2F2F7777772E77332E6F72672F323030302F737667220A202020786D6C6E733A7376673D22687474703A2F2F7777772E77332E6F72672F323030302F737667223E0A20203C736F6469706F64693A6E616D6564766965770A202020202069643D226E616D65647669657737220A202020202070616765636F6C6F723D2223666666666666220A2020202020626F72646572636F6C6F723D2223363636363636220A2020202020626F726465726F7061636974793D22312E30220A2020202020696E6B73636170653A70616765736861646F773D2232220A2020202020696E6B73636170653A706167656F7061636974793D22302E30220A2020202020696E6B73636170653A70616765636865636B6572626F6172643D2230220A2020202020696E6B73636170653A646F63756D656E742D756E6974733D226D6D220A202020202073686F77677269643D2266616C7365220A2020202020696E6B73636170653A736E61702D706167653D2274727565220A2020202020696E6B73636170653A736E61702D62626F783D2274727565220A2020202020696E6B73636170653A7A6F6F6D3D22302E3536353639313634220A2020202020696E6B73636170653A63783D222D392E37323236313134220A2020202020696E6B73636170653A63793D223536322E3134333732220A2020202020696E6B73636170653A77696E646F772D77696474683D2231393230220A2020202020696E6B73636170653A77696E646F772D6865696768743D2231303438220A2020202020696E6B73636170653A77696E646F772D783D2230220A2020202020696E6B73636170653A77696E646F772D793D223332220A2020202020696E6B73636170653A77696E646F772D6D6178696D697A65643D2231220A2020202020696E6B73636170653A63757272656E742D6C617965723D226C617965723122202F3E0A20203C646566730A202020202069643D226465667332223E0A202020203C6D61726B65720A202020202020207374796C653D226F766572666C6F773A76697369626C65220A2020202020202069643D22446F744C220A20202020202020726566583D22302E30220A20202020202020726566593D22302E30220A202020202020206F7269656E743D226175746F220A20202020202020696E6B73636170653A73746F636B69643D22446F744C220A20202020202020696E6B73636170653A697373746F636B3D2274727565223E0A2020202020203C706174680A2020202020202020207472616E73666F726D3D227363616C6528302E3829207472616E736C61746528372E342C203129220A2020202020202020207374796C653D2266696C6C2D72756C653A6576656E6F64643B66696C6C3A636F6E746578742D7374726F6B653B7374726F6B653A636F6E746578742D7374726F6B653B7374726F6B652D77696474683A312E307074220A202020202020202020643D224D202D322E352C2D312E302043202D322E352C312E37363030303030202D342E373430303030302C342E30202D372E352C342E302043202D31302E3236303030302C342E30202D31322E352C312E37363030303030202D31322E352C2D312E302043202D31322E352C2D332E37363030303030202D31302E3236303030302C2D362E30202D372E352C2D362E302043202D342E373430303030302C2D362E30202D322E352C2D332E37363030303030202D322E352C2D312E30207A20220A20202020202020202069643D22706174683130343322202F3E0A202020203C2F6D61726B65723E0A202020203C6D61726B65720A202020202020207374796C653D226F766572666C6F773A76697369626C653B220A2020202020202069643D224172726F77314C656E64220A20202020202020726566583D22302E30220A20202020202020726566593D22302E30220A202020202020206F7269656E743D226175746F220A20202020202020696E6B73636170653A73746F636B69643D224172726F77314C656E64220A20202020202020696E6B73636170653A697373746F636B3D2274727565223E0A2020202020203C706174680A2020202020202020207472616E73666F726D3D227363616C6528302E382920726F746174652831383029207472616E736C6174652831322E352C3029220A2020202020202020207374796C653D2266696C6C2D72756C653A6576656E6F64643B66696C6C3A636F6E746578742D7374726F6B653B7374726F6B653A636F6E746578742D7374726F6B653B7374726F6B652D77696474683A312E3070743B220A202020202020202020643D224D20302E302C302E30204C20352E302C2D352E30204C202D31322E352C302E30204C20352E302C352E30204C20302E302C302E30207A20220A20202020202020202069643D227061746839383522202F3E0A202020203C2F6D61726B65723E0A20203C2F646566733E0A20203C670A2020202020696E6B73636170653A6C6162656C3D224562656E652031220A2020202020696E6B73636170653A67726F75706D6F64653D226C61796572220A202020202069643D226C6179657231223E0A202020203C726563740A202020202020207374796C653D2266696C6C3A6E6F6E653B66696C6C2D6F7061636974793A302E3536373830313B7374726F6B653A233030303030303B7374726F6B652D77696474683A312E38393033333B7061696E742D6F726465723A7374726F6B652066696C6C206D61726B657273220A2020202020202069643D22726563743331220A2020202020202077696474683D223233362E3633303537220A202020202020206865696768743D2236322E313235353732220A20202020202020783D2232332E343732393633220A20202020202020793D2232312E30383736303822202F3E0A202020203C706174680A202020202020207374796C653D2266696C6C3A6E6F6E653B7374726F6B653A233030303030303B7374726F6B652D77696474683A302E343835313970783B7374726F6B652D6C696E656361703A627574743B7374726F6B652D6C696E656A6F696E3A6D697465723B7374726F6B652D6F7061636974793A313B6D61726B65722D656E643A75726C28234172726F77314C656E64293B6D61726B65722D73746172743A75726C2823446F744C29220A20202020202020643D224D2032332E3437323936332C3135362E30363030322048203236302E3138343333220A2020202020202069643D2270617468363622202F3E0A20203C2F673E0A3C2F7376673E0A>|inkscape.svg>|1par|||> <section|Normal SVG> <image|<tuple|<#3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D3822207374616E64616C6F6E653D226E6F223F3E0A3C212D2D2043726561746564207769746820496E6B73636170652028687474703A2F2F7777772E696E6B73636170652E6F72672F29202D2D3E0A0A3C7376670A20202077696474683D223239376D6D220A2020206865696768743D223231306D6D220A20202076696577426F783D223020302032393720323130220A20202076657273696F6E3D22312E31220A20202069643D2273766735220A202020786D6C6E733D22687474703A2F2F7777772E77332E6F72672F323030302F737667220A202020786D6C6E733A7376673D22687474703A2F2F7777772E77332E6F72672F323030302F737667223E0A20203C646566730A202020202069643D226465667332223E0A202020203C6D61726B65720A202020202020207374796C653D226F766572666C6F773A76697369626C65220A2020202020202069643D22446F744C220A20202020202020726566583D22302E30220A20202020202020726566593D22302E30220A202020202020206F7269656E743D226175746F223E0A2020202020203C706174680A2020202020202020207472616E73666F726D3D227363616C6528302E3829207472616E736C61746528372E342C203129220A2020202020202020207374796C653D2266696C6C2D72756C653A6576656E6F64643B66696C6C3A636F6E746578742D7374726F6B653B7374726F6B653A636F6E746578742D7374726F6B653B7374726F6B652D77696474683A312E307074220A202020202020202020643D224D202D322E352C2D312E302043202D322E352C312E37363030303030202D342E373430303030302C342E30202D372E352C342E302043202D31302E3236303030302C342E30202D31322E352C312E37363030303030202D31322E352C2D312E302043202D31322E352C2D332E37363030303030202D31302E3236303030302C2D362E30202D372E352C2D362E302043202D342E373430303030302C2D362E30202D322E352C2D332E37363030303030202D322E352C2D312E30207A20220A20202020202020202069643D22706174683130343322202F3E0A202020203C2F6D61726B65723E0A202020203C6D61726B65720A202020202020207374796C653D226F766572666C6F773A76697369626C653B220A2020202020202069643D224172726F77314C656E64220A20202020202020726566583D22302E30220A20202020202020726566593D22302E30220A202020202020206F7269656E743D226175746F223E0A2020202020203C706174680A2020202020202020207472616E73666F726D3D227363616C6528302E382920726F746174652831383029207472616E736C6174652831322E352C3029220A2020202020202020207374796C653D2266696C6C2D72756C653A6576656E6F64643B66696C6C3A636F6E746578742D7374726F6B653B7374726F6B653A636F6E746578742D7374726F6B653B7374726F6B652D77696474683A312E3070743B220A202020202020202020643D224D20302E302C302E30204C20352E302C2D352E30204C202D31322E352C302E30204C20352E302C352E30204C20302E302C302E30207A20220A20202020202020202069643D227061746839383522202F3E0A202020203C2F6D61726B65723E0A20203C2F646566733E0A20203C670A202020202069643D226C6179657231223E0A202020203C726563740A202020202020207374796C653D2266696C6C3A6E6F6E653B66696C6C2D6F7061636974793A302E3536373830313B7374726F6B653A233030303030303B7374726F6B652D77696474683A312E38393033333B7061696E742D6F726465723A7374726F6B652066696C6C206D61726B657273220A2020202020202069643D22726563743331220A2020202020202077696474683D223233362E3633303537220A202020202020206865696768743D2236322E313235353732220A20202020202020783D2232332E343732393633220A20202020202020793D2232312E30383736303822202F3E0A202020203C706174680A202020202020207374796C653D2266696C6C3A6E6F6E653B7374726F6B653A233030303030303B7374726F6B652D77696474683A302E343835313970783B7374726F6B652D6C696E656361703A627574743B7374726F6B652D6C696E656A6F696E3A6D697465723B7374726F6B652D6F7061636974793A313B6D61726B65722D656E643A75726C28234172726F77314C656E64293B6D61726B65722D73746172743A75726C2823446F744C29220A20202020202020643D224D2032332E3437323936332C3135362E30363030322048203236302E3138343333220A2020202020202069643D2270617468363622202F3E0A20203C2F673E0A3C2F7376673E0A>|normal.svg>|1par|||> </body> <\initial> <\collection> <associate|page-medium|paper> </collection> </initial> <\references> <\collection> <associate|auto-1|<tuple|1|1>> <associate|auto-2|<tuple|2|2>> </collection> </references> <\auxiliary> <\collection> <\associate|toc> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|1<space|2spc>Inkscape SVG> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>> <no-break><pageref|auto-1><vspace|0.5fn> <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|2<space|2spc>Normal SVG> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>> <no-break><pageref|auto-2><vspace|0.5fn> </associate> </collection> </auxiliary>
Attachment:
normal.svg
Description: image/svg
Attachment:
inkscape.svg
Description: image/svg
- Rendering of SVG in exported PDF, Jan Kuhfeld, 01/06/2022
Archive powered by MHonArc 2.6.24.