Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

11
  • 4
    \$\begingroup\$ A better version: \def\fi{}\iffalse. I can't post answers on this because it requires at least 10 rep earned from this site, but this will not allow output anymore too. \$\endgroup\$
    – user530873
    Commented Oct 26, 2015 at 0:12
  • 1
    \$\begingroup\$ @smpl you can still redefine \fi to its original meaning, right? Thus the language is not broken beyond any repair. \$\endgroup\$
    – Cephalopod
    Commented Oct 26, 2015 at 12:07
  • 1
    \$\begingroup\$ @Cephalopod \fi is a TeX primitive. And no you can't redefine anything at this point, \iffalse has been called. \$\endgroup\$
    – user530873
    Commented Oct 26, 2015 at 14:48
  • 1
    \$\begingroup\$ @smpl Hmm, I see. Very clever. \$\endgroup\$
    – Cephalopod
    Commented Oct 26, 2015 at 19:23
  • 1
    \$\begingroup\$ +1. I just started teaching myself out of the TeXBook and when I realized \catcode13=9% would completely break the language (Everything after % is commented and newlines (ASCII char 13) are ignored, so the comment extends to infinity) I wanted to post it here. But you have a slightly longer command already in here. \$\endgroup\$ Commented Jan 23, 2016 at 23:03