Anders Host-Madsen <ahostmadsen <at> yahoo.com> writes: A few more comment on this. To get the same latex file as one would get when exporting from the menu, set the "nice" flag in the exporter.
The main issue with the script approach is that it changes the name of the files. For example, spaces become _. I don't see how to solve this. I doesn't seem the real name of the original file is available to the converter.