On Sun, Apr 29, 2018 at 08:25:53AM +0000, Jürgen Spitzmüller wrote: > Am Dienstag, den 24.04.2018, 12:27 -0400 schrieb Scott Kostyshak: > > > It's more complicated. You need to pass down runparams.need_protect > > > to the > > > diverse cprotect methods. I'll have a look if I find some time. > > > > OK sounds good. > > Here's a patch for you to try. This works for me for boxes, grexed out > notes and floats in section headings. But I haven't checked hard for > potential side effects.
Seems to work very well in a lot of testing I just did. I've done some testing of weird situations (e.g. a box containing a greyed out inset, and putting all of that inside another box and putting all that in a section). And also, putting that nested thing in a float caption and then putting that float in a section. I'm surprised (and strangely a little disappointed in myself) that I was not able to break something :) Nice work! Scott
signature.asc
Description: PGP signature