For me, the main use of branches is to separate the single language versions of a document needing to be translated into multiple languages. In this specific use case, it is extremely important that all languages have the /same/ number of branch insets, but this holds in my opinion even for the exemplary question-answer branches described in the LyX docs.

So yes, I think it’s a /very/ good idea to show the number of branch insets in the dialog.

PG

/What you see is what you get—it's ALL you get./

On Fri, Feb 11, 2022 at 8:48 PM, Scott Kostyshak via lyx-users <lyx-users@lists.lyx.org> wrote:
I use a lot of branches in my documents. I don't think many others do,
so I'm not sure how relevant this will be. But occasionally I find I
want to remove unused branches. Does anyone else come across this?

It would be pretty easy to write a Python script that does this
externally. That's my current plan.

However, I wonder if it would be useful more generally to display in
Document > Settings > Branches how many times each branch is used (i.e.,
how many insets of each branch there are). It would be a column, along
with the current columns "Activated", "Color", and "Filename Suffix".
For example, one could sort the branches by clicking on the column
header.

Would others find this useful? I'm guessing it's just me and maybe one
or two others, in which case it might be best not to propose this
feature on lyx-devel and just take the easy approach of writing the
Python script. Nonetheless I thought I would ask for feedback since
branches are such a flexible tool I'm not sure how others use them.

Scott
--
lyx-users mailing list
lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
<http://lists.lyx.org/mailman/listinfo/lyx-users>

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to