CTAN Comprehensive TeX Archive Network

New on CTAN: makegobbler

Date: February 2, 2026 7:22:28 PM CET
Vincent Belaïche submitted the makegobbler package. Version number: 0.3 2025-11-29 License type: lppl1.3c other-free Summary description: Keep or drop some part of LaTeX source code Announcement text:
A package to keep/drop some part of outer LaTeX source code contionally/unconditionally Volunteers to translate the manual from French to your favorite language are welcome.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/makegobbler More information is at https://www.ctan.org/pkg/makegobbler
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

makegobbler – Keep or drop some part of source code

The makegobbler package provides a mechanism to selectively drop (gobble) or keep (“ungobble”) portions of 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

Packagemakegobbler
Version0.3.1 2026-02-01
Copyright2025–2026 Vincent Belaïche
MaintainerVincent Belaïche

Announcements

more

Guest Book Sitemap Contact Contact Author