Messed up and sent this to Bert rather than to the list. :-(

On 12/19/18 11:18 AM, Bert Lloyd wrote:
Dear LyX Users,

When writing problem sets, I create a Solutions branch so that I can
maintain just a single LyX file. I like to give students .tex and .lyx
files so they can type up their solutions.

Creating a .tex file without the content of the Solutions branch is
very easy - I just toggle off the Solutions branch and export to .tex
in the usual way.

Is there a similar way to "export" (or just save-as) a .lyx file
without deactivated branches? At the moment, my workaround is to
export to tex and then import tex to lyx.

Many thanks,
BL
Might be easier to "Save as" to create a copy under a new name. The document open in LyX is now the saved copy, not the original. Go to Document > Settings... > Branches. select the answers branch, click Remove and OK, Save and you're in business.

Paul

Reply via email to