Hi all,
I have an important question about the extension of the generated TeX file when using the PDF+LaTeX option. Right now, it generates an imagename.pdf file and an imagename.tex file. However, if a user has chosen the same name for the image as his tex document file, the tex file is overwritten. A suggestion at Launchpad proposes to create not a .tex file but a .pdf_tex file instead. I am inclined to go with this option, as this also enables use of different export settings for pdf+latex and ps+latex and eps+latex...
Thanks for your quick input, Johan
__________________________________________ ir. J.B.C. Engelen PhD student Microelectromechanical Systems TST EEMCS University of Twente, The Netherlands e-mail: j.b.c.engelen@...1887... tel.nr.: +31 53 489 4354
-----Original Message-----
From: J.B.C.Engelen@...1578... [mailto:J.B.C.Engelen@...1578...] Sent: 27 June 2010 19:57 To: Inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] PDF+LaTeX: extension of tex file?
Hi all,
I have an important question about the extension of the generated TeX file when using the PDF+LaTeX option. Right now, it generates an imagename.pdf file and an imagename.tex file. However, if a user has chosen the same name for the image as his tex document file, the tex file is overwritten. A suggestion at Launchpad proposes to create not
a
.tex file but a .pdf_tex file instead.
Actually, imagename.pdf.tex would be easiest to implement, and perhaps better too.
-Johan
2010/6/27 <J.B.C.Engelen@...1578...>:
Actually, imagename.pdf.tex would be easiest to implement, and perhaps better too.
-Johan
.pdf.tex sounds a lot better than .pdf_tex. Regardless of that, Inkscape should warn when either of those files exists before overwriting them.
Regards, Krzysztof
-----Original Message----- From: Krzysztof Kosiński [mailto:tweenk.pl@...400...] Sent: zondag 27 juni 2010 21:18 To: Engelen, J.B.C. (Johan) Cc: Inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] PDF+LaTeX: extension of tex file?
2010/6/27 <J.B.C.Engelen@...1578...>:
Actually, imagename.pdf.tex would be easiest to implement,
and perhaps
better too.
-Johan
.pdf.tex sounds a lot better than .pdf_tex. Regardless of that, Inkscape should warn when either of those files exists before overwriting them.
Thanks for your quick response. Tested ".pdf.tex", but it does not work with LaTeX, so it is not an option unfortunately. I have provided a patch for ".pdf_tex".
Indeed, Inkscape should not overwrite either when using Inkscape's GUI, but, using inkscape from the commandline, it should overwite.
Ciao, Johan
participants (2)
-
unknown@example.com
-
Krzysztof Kosiński