Abdelrazak Younes wrote:
When the '-e' or --export option is passed, we don't load the GUI at all
and the program exits as soon as the given file is converted or failed
to convert.
Currently only the last loaded file is converted and this is consistent
with 1.4 behaviour. So currently this command line:
lyx -e latex file1.lyx file2.lyx file3.lyx
will load all three files but only convert file3.lyx.
This limitation was probably due to the fact that batch command
processing necessitated to load the full GUI and batch commands can be
safely applied to only one Buffer in GUI mode.
Thanks to the separation of GUI and non GUI command-lines, it is now
possible to convert all three files with the same command.
Would you like me this feature?
This is in now. The next step would be to recognize * identifiers so
that we could do:
lyx -e *.lyx -e latex
This could be easily achieved if we made use of more boost::filesystem
functionalities. But that's 1.6 material I guess, unless Georg is
advancing rapidly in its cleanup of filenames.
Abdel.