olsak / tex-nutshell

TeX in a Nutshell -- A short document about TeX principles
4 stars 2 forks source link

Introduce explicit and implicit braces #5

Open muzimuzhi opened 1 year ago

muzimuzhi commented 1 year ago

Adding an introduction to explicit (tokens having catcode 1 and 2) and implicit (tokens having catcode 1 and 2 or let to such characters) braces can help make the syntax of commands accepting a <general text> (like \detokenize) and relationship between {1/}2 and \bgroup/\endgroup more accurate.

Currently in TeX in a Nutshell v0.9,

TeX by Topic introduces explicit and implicit braces in sec. 36.3.3 "{} and <left brace><right brace>".

olsak commented 1 year ago

The introduction text of TeX in a Nutshell reads: "The main goal of this document is its brevity. So features are described only roughly and sometimes inaccurately here." I mean that the mention of obscure syntax like \uppercase \bgroup ...} is not needed here. I never used something like that during my three decades of using TeX.