On Fri, Aug 31, 2012 at 02:51:29PM -0400, Scott Kostyshak wrote: > On Ubuntu 12.04 using current trunk I get an error [1] from > > 1. Start a new document > 2. File > Export > Export to LyX Archive > > The converter for me is: > > python -tt $$s/scripts/lyxpak.py $$r/$$f > > Does a new flag need to be created? For example, "promptsave", which > if specified in a converter would prompt the user to save the file > (and $$f would be set to the new filename).
Yes, this would be the best approach. A flag specifying that a modified file has to be saved before the converter can operate. > Or is a better approach to save the .lyx file in the temp folder and > pass that filename to lyxpak.py? No, this would not work as expected. The file has to be saved to its proper place in order to reproduce the wanted structure in the archive. > Also, is "$$f" missing from the Customization documentation (3.3 Converters)? Probably. -- Enrico