X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/3934b7ee2c441fc30d64e401facd0e798fe4978f..944bf9362ff51217b1617f85126d26e821b8aa91:/doc/sod.sty diff --git a/doc/sod.sty b/doc/sod.sty index eacd977..9da7def 100644 --- a/doc/sod.sty +++ b/doc/sod.sty @@ -106,8 +106,8 @@ %% Intercept grammar typesetting and replace the vertical bar with the %% maths-font version. -\let\@@grammar\grammar -\def\grammar{\def\textbar{\hbox{$|$}}\@@grammar} +\let\@@syn@shorts\syn@shorts +\def\syn@shorts{\def\textbar{\hbox{$|$}}\@@syn@shorts} %% Collect super- and subscripts. (Note that underscores are active for the %% most part.) When we're done, end maths mode if we entered it