\type ignores space between command and bracket
Hi, in the following code example the result from \type lacks the space between \cmd and the following left bracket. \starttext \starttyping \cmd [...] \stoptyping \type{\cmd [...]} \stoptext Wolfgang
I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh.
On 2/2/2024 11:16 AM, wolfgangbackes--- via ntg-context wrote:
I have stumbeld across the same bug. Seems to be very elementary, but is still present after many years. Sigh. don't confuse bugs and features ...
\starttext here a \type{\test is} done here a \type{\test [is]} done here a \type{\test {is}} done here a \type[compact=yes]{\test is} done here a \type[compact=yes]{\test [is]} done here a \type[compact=yes]{\test {is}} done here a \type[compact=all]{\test is} done here a \type[compact=all]{\test [is]} done here a \type[compact=all]{\test {is}} done \stoptext it helps to read a bit about how tex handles spaces esp after control sequences and when passing stuff in arguments ... then sit down and ponder possible solutions for a while ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Wolfgang Schuster
-
wolfgangbackes@mail.de