Jürgen Spitzmüller wrote:
Jean-Marc Lasgouttes wrote:

I have to say that I use that too. What we have to do is to find the
correct, not over-engineered implementation.

+1.

The simplest would be a "add name when exporting" checkbox. That could
maybe be done by a change to Buffer::latexName.

Which name (if several active branches are involved)?

The names of all active branches that has this box checked. I meant to have one checkbox per branch. If you simplify to only one checkbox - then use the names of all active branches in the order they are defined.

Example:
Document named test.lyx, containing test questions for students
One branch named "answers", containing correct answers to the questions
Another branch named "comments" where the teacher later can add stuff like "90% failed this question, update the course material"

With no branches active,  export->PDF yields "test.pdf"
With the "answers" branch active, you get "test-answers.pdf"
With both branches active, you get "test-answers-comments.pdf"

Other use cases:
* Multilingual document with language branches
* Docment with comments from several people, one branch per person

Helge Hafting

Reply via email to