On 8/10/19 10:57 PM, Anthony Macks wrote:
> Dear Lyx-Users,
>
> I have several branches in my LyX document. I know hos to
> activate/deactivate the branches one at a time but I would like to be
> able to turn them all on at once or all off at once.
>
> Is there a way to do this?

Not in general, no. But if you know the branch names, you can create a
command like the following:

command-sequence branch-deactivate branch1; branch-deactivate branch2;
branch-deactivate branch3; branch-deactivate branch4

Then assign that to a key, or menu item, or what have you.
Unfortunately, you do have to hardcode the branch names.

Obviously, you can reverse it by using "branch-activate".

Riki


Reply via email to