Take the 2-minute tour ×
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

closed as unclear what you're asking by Joseph Wright Aug 6 '13 at 12:28

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.sx! –  Peter Jansson Feb 5 '13 at 17:01
2  
Works here! Maybe you give some more details (OS, version of LyX, version of Inkscape...) –  vaettchen Feb 5 '13 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 '13 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 '13 at 17:45
    
Does Inkscape run at the command line? If not, you probably need to add its directory to your path. –  WillAdams Jul 5 '13 at 16:34
show 1 more comment

Browse other questions tagged or ask your own question.