Useful to know how many branch insets are used?

Peter GAAL pgaal at gmx.net
Sat Feb 12 17:34:40 UTC 2022


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 at 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 at lists.lyx.org <mailto:lyx-users at lists.lyx.org>
> <http://lists.lyx.org/mailman/listinfo/lyx-users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220212/5197efd4/attachment.html>


More information about the lyx-users mailing list