makegobbler – Keep or drop some part of LaTeX source code
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
| Quellen | /macros/latex/contrib/makegobbler |
| Dokumentation | |
| Home-Page | https://puszcza.gnu.org.ua/projects/latex-makegobbler |
| Fehlermeldungen | https://puszcza.gnu.org.ua/bugs/?group=latex-makegobbler |
| Repository | https://svn.gnu.org.ua/sources/latex-makegobbler/trunk |
| Version | 0.3.2 2026-02-15 |
| Lizenzen | The LaTeX Project Public License 1.3c Free license not otherwise listed |
| Copyright | 2025–2026 Vincent Belaïche |
| Betreuer | Vincent Belaïche |
| Enthalten in | TeX Live als makegobbler MiKTeX als makegobbler |
| Themen | Makro-Unterstützung Bedingter Satz |
| Siehe auch | etoolbox |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (497.8k).
Ankündigungen
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare