News for hackers. Stuff that matters.
Re:LyX – The Document Processor by diarrhea on Monday October 19, 2020 @03:48AM (#24824120)
I haven't come across a method to toggle parts, chapters or sections directly, but you can get pretty close by including them from separate files, then calling `includeonly`. Perhaps also look at the `import` package: https://ctan.org/pkg/import.

If that is not for you, then yes, a custom environment (`begin`/ `end`) would be my next attempt. As for the engine, definitely use lua(la)tex, where -- perhaps -- the Lua integration can come in handy for this too.

There are no comments on this comment yet.