Skip to content

Commit

Permalink
mumble
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Nov 6, 2023
1 parent 34b3318 commit e9a6214
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions required/tools/verbatim.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -545,17 +545,21 @@
% \begin{macro}{\@vobeyspaces}
% \changes{v1.5}{1993/10/11}{Changed definition to not use \cs{gdef}.}
% \changes{v1.1a}{1989/10/16}{\cs{@vobeyspaces} added.}
% \changes{v1.5v}{20230/10/06}{\cs{@vobeytabs} added when available (gh/1160)}
% The macro |\@vobeyspaces| causes spaces in the input
% to be printed as spaces in the output.
% \begin{macrocode}
\begingroup
\catcode`\ =\active%
\@ifl@t@r\fmtversion{2023-11-01}%
{\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp
\@vobeytabs}}}%
{\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp}}}%
\expandafter\endgroup\x
\catcode`\ =\active%
% \end{macrocode}
% Because space is active we can't indent the following code
% nicely---we would then get the spaces at the beginning of the
% line as the third and fourth argument to \cs{@ifl@t@r}.
% \changes{v1.5v}{20230/10/06}{\cs{@vobeytabs} added when available (gh/1160)}
% \begin{macrocode}
\@ifl@t@r\fmtversion{2023-11-01}%
{\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp\@vobeytabs}}}%
{\def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp}}}%
\expandafter\endgroup\x
% \end{macrocode}
% \end{macro}
%
Expand Down

0 comments on commit e9a6214

Please sign in to comment.