Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm having trouble getting an SVG diagram to appear in a PDF. From researching online it looks like it should be simple enough, but I'm yet to discover what I'm doing wrong.

I'm working in LyX, and inserting graphics I drew in Inkscape. The image does then appear in my LyX code. However, when I compile to a PDF (pdfLaTeX - though other compilers don't work either), there is only a blank space where the image file should be.

Very frustrating, since it took some time to even get the image to appear in LyX, and I assumed that had solved the problem.

Long story short: Working in LyX, I can insert an SVG file I made in Inkscape - it appears in LyX's gui but it doesn't appear when compiled by pdfLaTeX.

share|improve this question
Welcome to TeX.sx! – Peter Jansson Feb 5 at 17:01
2  
Works here! Maybe you give some more details (OS, version of LyX, version of Inkscape...) – vaettchen Feb 5 at 17:04
1  
Check out Tools -> Settings -> File-Handling -> Converters. Do you have there any entries for SVG files. What version of LYX do you use? – Dohn Joe Feb 5 at 17:05
Windows 7, LyX 2.0.5.1 Here's what I have under SVG -> PDF (pdflatex) converter: inkscape --file=$$p/$$i --export-area-drawing --without-gui --export-pdf=$$p/$$o – LucidLogic Feb 5 at 17:45

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.