[XeTeX] A native support for SVG

Will Robertson wspr81 at gmail.com
Mon Jun 30 04:12:03 CEST 2008


On 30/06/2008, at 11:08 AM, TeXWorld wrote:

>> I think the
>> best way to get SVG in XeTeX would be to convert to PDF while
>> stripping out the text labels; save their position and get XeTeX to
>> paste them on top.

> That's a good idea but how can XeTeX convert SVG to PDF ? Will it use
> external programs such as Inkscape ?

Yeah, I assumed an external utility would be used to prepare the  
figures. You'd run `svg2xtx myfig.svg` and get "myfig.pdf" and  
"myfig.tex", then \include{myfig.tex} would insert the figure in  
XeTeX. This could be automated from within XeTeX, though.

This is how Asymptote, for example, creates figures with nice labels  
for (La)TeX documents.

This is all hypothetical, but *probably* the easiest way to solve the  
problem.

Cheers,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080630/e649dd59/attachment.bin 


More information about the XeTeX mailing list