1. 49

  2. 11

    TeX has something that I miss in all* other markup languages, from lightweight to heavyweight: macros. I don’t even need logic or anything hairy – I just want to define


    , so I can write \bug{442} to create a properly marked-up link to a bug.

    * Honourable exception: MediaWiki.

    1. 4

      other typesetting languages in the same space, like scribble or lout do this too

      1. 1

        Yay, counterexamples! Thank you very much, I’ll check them out.

      2. 4

        Honourable exception: MediaWiki.

        Thanks for reminding me I still know way too much about MediaWiki templating and parser function.

        1. 2

          It’s been a long time since I read up on SGML but I believe there’s a form of macro capabilities in the DTD.

          1. 1

            I’m not sure if it qualifies as a “markup” language for your purposes as it’s closer to typesetting than markup, but troff also knows macros. In fact, using troff without macros is a fairly painful experience.

          2. 8

            As yakshaves go, TeX might outdo the one where Ken and Dennis wrote an operating system for that spare PDP-7 at the back of the lab, so they could play Space Travel.

            1. 7

              I had no idea TeX was invented to typeset his book but of course it makes sense that a programming text would be the impetus. Neat!

              1. 5

                Happy to be of assistance! (I’m the author)