On Mon, Apr 23, 2018 at 08:19:12AM +0000, Jürgen Spitzmüller wrote:
> Am Montag, den 23.04.2018, 09:30 +0200 schrieb Jürgen Spitzmüller:
> > AFAIU this would simply overshoot the cprotecting. It would cprotect
> > each single command that has an environment in its argument, but
> > AFAIU
> > only some commands need the cprotecting (I suppose those who are not
> > \long).
> 
> Without having tested it, but is it possible that the real problem is
> that we need to cprotect environments (only) in fragile contexts (such
> as section headings and captions)?

That could be. I really don't know. Is there a LyX method to check if
the context is fragile? Or should I hardcode the names of the
environments that seem to need it (from testing)?

Alternatively, I'm also fine to stop working on this. I thought there
was some low-hanging fruit, but since I don't understand the
complexities, it might be better to leave it.

Thanks for the help,

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to