Branches and InsetLayout
Pavel Sanda
sanda at lyx.org
Thu Nov 16 21:12:24 UTC 2023
On Thu, Nov 16, 2023 at 02:17:57PM -0500, Richard Kimberly Heck wrote:
> Found the problem: The use of right_note, with the underscore, seems not to
> work.
My bad :) I replaced in the email the branch names so they have some meaning in
english and did not know that "_" will break it...
> We seem to need something like the attached.
IMHO not really needed, as said the code was just an inspiration.
> LabelString does not have any effect for me, and looking at the code it's
> clear why. Pavel, do you have some local patch that makes that work? Should
> it work? Easy to do, I think.
To be honest I did not try what it does with 2.4. I used that for critical
bilingual edition a decade ago where bunch of different note-types were needed.
Looking now, the files are saved by lyx 2.0, and I vaguely remember I had
some trivial patch, which needed to be pushed for 2.1 so the branch names are
recognized correctly within layout syntax.
With the LabelString I don't remember. Maybe it never worked, maybe something
broke in the code during the years...
> And it is quite fantastic. I was not aware you could embed branch content in
> a command or an environment. It's something I've seen asked for, and I've
> always thought it wasn't possible yet.
Right? :) This allowed me to have single document with several different
note-apparatuses for completely different target audiences.
I think that with complex enough commands you could do pretty crazy
stuff with different on-off branch combinations :)
Pavel
More information about the lyx-devel
mailing list