Hi All,
I am very grateful to Johan for the excellent work he did putting a Latex export into 0.48.
In my use of Inkscape/Latex, I maintain a sub-directory with the figures in... indeed, sometimes I maintain a sub-directory for each chapter, each with a figures directory.
This use doesn't play well with the export as it stands currently. The Latex export assumes that the figure is in the same directory as the calling latex document.
I would like to ask if the directory that the exports reside in could be specified from Inkscape. I would like, for example, to make mine './ chapter1/figures'. The output .tex from latex would then append this to the image path called by 'includegraphics'. A text field on the export dialogue is one possibility (but I appreciate that dialogue is already busy).
Please let me know any if you require any further detail or work on this proposal,
Richard
-----Original Message----- From: Richard Henwood [mailto:rjhenwood@...529...] Sent: Friday, October 15, 2010 10:41 To: inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] pdflatex use case
Hi All,
I am very grateful to Johan for the excellent work he did putting a Latex export into 0.48.
In my use of Inkscape/Latex, I maintain a sub-directory with the figures in... indeed, sometimes I maintain a sub-directory for each chapter, each with a figures directory.
This use doesn't play well with the export as it stands currently. The Latex export assumes that the figure is in the same directory as the calling latex document.
I would like to ask if the directory that the exports reside in could be specified from Inkscape. I would like, for example, to make mine './ chapter1/figures'. The output .tex from latex would then append this to the image path called by 'includegraphics'. A text field on the export dialogue is one possibility (but I appreciate that dialogue is already busy).
I also have my figures in a sub directory, and I use
\graphicspath{{figures/}{chapter1/figures/}{chapter2/figures/}}
in the LaTeX preamble. But I think you are already doing that too. Adding a text field to the export dialogue seems too much to me; I think the \graphicspath command is less work, and also makes it possible to reuse the inkscape generated files in a different folder structure.
I think we have a "bug"-report on this on Launchpad.
Ciao, Johan
On 15/10/10 14:19, J.B.C.Engelen@...1578... wrote:
From: Richard Henwood [mailto:rjhenwood@...529...] Sent: Friday, October 15, 2010 10:41
In my use of Inkscape/Latex, I maintain a sub-directory with the figures in... indeed, sometimes I maintain a sub-directory for each chapter, each with a figures directory.
I also have my figures in a sub directory, and I use
\graphicspath{{figures/}{chapter1/figures/}{chapter2/figures/}}
in the LaTeX preamble. But I think you are already doing that too. Adding a text field to the export dialogue seems too much to me; I think the \graphicspath command is less work, and also makes it possible to reuse the inkscape generated files in a different folder structure.
I think we have a "bug"-report on this on Launchpad.
This one?
Bug #569256 in Inkscape: “PDF + LaTeX export help for subdirectories”: https://bugs.launchpad.net/inkscape/+bug/569256
~suv
On Fri, 15 Oct 2010 14:19:30 +0200, J.B.C.Engelen-/CpmR+5df7GqJD6lH+W9+A wrote:
-----Original Message----- From: Richard Henwood
<snip>
I also have my figures in a sub directory, and I use
\graphicspath{{figures/}{chapter1/figures/}{chapter2/figures/}}
in the LaTeX preamble. But I think you are already doing that too. Adding a text field to the export dialogue seems too much to me; I think the \graphicspath command is less work, and also makes it possible to reuse the inkscape generated files in a different folder structure.
Oh, \graphicspath? I'm not using that - it seems that it will solve my problems!
I'll have a play - thanks for the tip!
richard
-----Original Message----- From: Richard Henwood [mailto:rjhenwood@...529...] Sent: Friday, October 15, 2010 14:59 To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] pdflatex use case
On Fri, 15 Oct 2010 14:19:30 +0200, J.B.C.Engelen-/CpmR+5df7GqJD6lH+W9+A wrote:
-----Original Message----- From: Richard Henwood
<snip> > > I also have my figures in a sub directory, and I use > > \graphicspath{{figures/}{chapter1/figures/}{chapter2/figures/}} > > in the LaTeX preamble. But I think you are already doing that too. > Adding a text field to the export dialogue seems too much to me; I > think the \graphicspath command is less work, and also makes it > possible to reuse the inkscape generated files in a different folder structure. >
Oh, \graphicspath? I'm not using that - it seems that it will solve my problems!
I'll have a play - thanks for the tip!
See section 3.1 in the article I wrote about using it: http://mirror.ctan.org/info/svg-inkscape/InkscapePDFLaTeX.pdf
Cheers, Johan
participants (3)
-
unknown@example.com
-
Richard Henwood
-
~suv