Richard Heck wrote:
> On 03/23/2012 04:22 AM, Pavel Sanda wrote:
>> Bert Lloyd wrote:
>>> Hi LyXers,
>>>
>>> I am finding the Branches function to be incredibly useful for adding
>>> notes and questions to shared documents. I would like to know if there
>>> is a way to have specific formats applied to certain branches when
>>> exporting to PDF. In particular, I would like to have the text
>>> highlighted, but it would also be useful if the text appeared in a
>>> special color, emphasized, boldface, etc.
>> This is not currently possible. I would need something similar, but
>> its not clear to me what is the right way. It would be possible, for
>> example, to define specific TeX snippet for a given branch, which is
>> put just before and after each branch inset. It looks somewhat hackish
>> and perhaps not usable for normal users. (?)
>>
> One idea would be to allow every Flex inset to be a branch inset, in the 
> sense that it would appear in the branch menu and could be turned on and off. 
> E.g.:
>     InsetLayout Footnote
>         Branch 1
>     End
> would mean: Allow footnotes to be turned on and off. Of course, one could 
> then have customized insets of this type, too.
>
> This would be easy to do.

I was bit afraid to open Pandora's box, since it opens questions about
reorganizing the insets. What is the purpose of e.g. Note inset when we
have mechanism how to switch off any Foot/GreyedNote/Comment...

But right, having option to disable any flex inset like a given text style
looks better than ERT-like magic around branch insets.

Is there any reason to forbid specific insets to be "branchable" (and thus
introducing "Branch 1" construct)?

Pavel

Reply via email to