Il 15/09/2011 15:13, Julien Rioux ha scritto:
Let's say I have a document, where all my figures are in ../images and
I want to export latex to out/latex and xhtml to out/xhtml and have my
images in out/images:
out/images <-- image files
out/latex <-- latex source
out/xhtml <-- xhtml source
How to do that?
If I do
lyx -E latex out/latex myfile.lyx
lyx -E xhtml out/xhtml myfile.lyx
I end up with duplicated images in out/latex/images and out/xhtml/images.
Actually, the current behavior takes output file names, so you should
choose between:
$ lyx -E latex out/myfile.tex myfile.lyx
$ lyx -E latex out/myfile.xhtml myfile.lyx
which would actually produce output images into the same folder
out/images/, and:
$ lyx -E latex out/latex/myfile.tex myfile.lyx
$ lyx -E latex out/xhtml/myfile.xhtml myfile.lyx
which would behave replicating images into out/latex/images/ and
out/xhtml/images.
If what you'd like is an additional option/argument for specifying the
output folder for additional contents such as images, included files,
bibliography, etc., then we could add that later on.
T.