Skip to content

Commit 32aadb9

Browse files
committed
scantokens better?
1 parent 9660e12 commit 32aadb9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ducksay.dtx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,16 @@ and the derived files ducksay.pdf
18941894
% \begin{macrocode}
18951895
\NewDocumentCommand \ducksay_eat_argument_tabular_verb:w
18961896
{ >{ \ducksay_process_verb_newline:nnn { ~ } { ~ \par } } +v }
1897-
{ \ducksay_eat_argument_tabular_inner:w { \scantokens { #1 } } }
1897+
{
1898+
\ducksay_eat_argument_tabular_inner:w
1899+
{
1900+
\group_begin:
1901+
\tex_everyeof:D { \exp_not:N }
1902+
\exp_after:wN
1903+
\group_end:
1904+
\tex_scantokens:D { #1 }
1905+
}
1906+
}
18981907
% \end{macrocode}
18991908
% \end{macro}^^A<<<
19001909
%

ducksay.pdf

143 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)