On Wed, Jul 01, 2009 at 05:47:47PM +0200, Jean-Marc Lasgouttes wrote: > Helge Hafting <helge.haft...@hist.no> writes: > > > It is useful to give active branches opportunity to add to the > > filename of exported files. This way, exports with and without the > > branch won't collide. > > > > My common case: > > I make a test for my students, with answers in a "answers" branch. > > When I export this to pdf, I get "test.pdf". After activating the > > answers branch, I export again and should get "test-answers.pdf" > > I have to say that I use that too. What we have to do is to find the > correct, not over-engineered implementation. > > The simplest would be a "add name when exporting" checkbox. That could > maybe be done by a change to Buffer::latexName.
I think that the simplest and best way to handle this is allowing to change name (and location) of the exported file through a file dialog. Not everybody knows that, when exporting, the file will be located next to the lyx file and, UI wise, it is bad that nothing seems to have happened. -- Enrico