makegobbler__source
Keep or drop some part of LaTeX source code
- Version:
- 0.3.1
- Copyright:
- Vincent Belaïche
- License:
- lppl1.3c
- Packaged on:
- 02/14/2026 11:43:56
- Number of files:
- 23
- Size on disk:
- 155.31 kB
The makegobbler package provides a mechanism to selectively drop (gobble) or keep (“ungobble”) portions of LaTeX source code, either conditionally or unconditionally. The affected code is delimited by user-defined control sequences that act as explicit markers. For example, you can define a conditional as follows: \newif\ifkeep You can then make a portion of the source conditional like this: \keepfalse \MGBkeep*\ifkeep\SomeArbitraryDelimitingControlSequence Here, everything — including \fi#!{}_^$ — is dropped. \SomeArbitraryDelimitingControlSequence