
On 4/27/25 20:42, Joel via ntg-context wrote:
[...] Because the actual file is quite large, commenting and un-commenting the lines takes a long time, and can lead to mistakes. Is there any simpler way to easily switch between the two versions?
Hi Joel, your source (which has \startmode...\stopmode added): \define\macroA{This outputs some stuff.} \define\macroB{\input knuth } \define\macroC{This outputs other stuff.} \define\macroD{This outputs other stuff.} \define\macroE{This outputs other stuff.} \define[2]\macroF{This is text #1 and #2.} \define\macroG{This outputs other stuff.} \define\macroH{This outputs other stuff.} \starttext \macroA \startmode[just-checking] \macroB \macroC \macroD \macroE some more code \stopmode \macroF{a}{b} \macroG \macroH \stoptext Compile to get the just-checking content with: context --mode=just-checking source.tex https://www.pragma-ade.com/general/manuals/mmodes.pdf contains the documentation and it’s only five pages long (excluding the cover). Just in case it helps, Pablo