Il 09/09/2011 22:58, Richard Heck ha scritto:
I have a worry here about what happens to associated files. E.g., if you
export a master document, where do the exported children go, and with
what names? This makes me wonder whether all we should really allow the
user to provide is a directory, and then LyX should export everything to
that directory, or under it, or whatever makes sense.

This would be similar to OpenOffice: they only have an option for an output folder, not for an output file name.

Thinking aloud:
-) a destination folder might be inferred from the destination file-name, i.e., its immediately containing folder. -) I think for some formats a file-name makes perfectly sense (pdf), while for others (html, latex, ...) we would need (also) a folder. In the former case, I would really dislike the fact that I could decide the file name, but only the folder. I know that can be overcome with proper scripting (e.g., look at the acrobatic things I had to do in the libreoffice2eps.sh script, just because libreoffice doesn't have an option for the output filename). -) one possible way to go might be 2 options, one for the export folder, another for the master export filename (independently of the syntax that may support that) -) what do we do with subfolders ? Re-create the folder structure in the destination folder (a'la mkdir -p) ? That seems the only reasonable behavior.

    T.

Reply via email to