Importing Inkscape files (.tex output / pdf) to LaTeX

Post questions on how to use or achieve an effect in Inkscape.
CNiall

Importing Inkscape files (.tex output / pdf) to LaTeX

Postby CNiall » Fri Jun 19, 2009 2:52 am

I really need to accompany some work I'm doing in LaTeX with some diagrams, and Inkscape seemed like a good choice for this: fairly simplistic to use and vector graphics. However, I'm finding it ridiculously difficult to import the graphics into Latex; I've tried exporting the diagram as a pdf, but the pdflatex compiler says that there's no bounding box, so I tried exporting it as the .tex file with pstricks macros and putting \usepackage{pstricks} in my preamble and compiling with plain latex, which causes it to stop with no apparent reason on (I'm trying to import the file srule.tex with \include{srule})

Code: Select all

`PSTricks' v1.15  <2006/12/22> (tvz)
(/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.con))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/etc/texmf/tex/latex/config/color.cfg))) (./srule.aux (./srule1.tex.aux))
[1] (./srule1.tex) [2])


I've looked around with Google and no-one's seemed to have any issue importing the pdf from Inkscape with the graphicx package but me--what can I do? Latex is great until moment like these, which have you ready to pull your hair out, heh.

jnnnnn

Re: Importing Inkscape files (.tex output / pdf) to LaTeX

Postby jnnnnn » Mon Jun 22, 2009 3:19 pm

Your method (export as pdf and include) has worked for me in the past but I'm now having the same problem!

Very annoying.

Rhymer
Posts: 1
Joined: Fri May 27, 2011 11:21 am

Re: Importing Inkscape files (.tex output / pdf) to LaTeX

Postby Rhymer » Fri May 27, 2011 11:25 am

Try PDFTeXify, it solves my `no bounding box' problem. Though I still have no idea what's happening there...


Return to “Help with using Inkscape”