summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/ydoc/ydoc.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-28 01:54:47 +0000
committerKarl Berry <karl@freefriends.org>2011-01-28 01:54:47 +0000
commit139df1037ef019c4fb1d87b0c192159160f6a99b (patch)
treea06fe0f91675112bfb3c83ced8f72b7303a1f97e /Master/texmf-dist/source/latex/ydoc/ydoc.dtx
parent9ab1132a50db5f46b01e9136c9741e7cc3baa663 (diff)
ydoc (27jan11)
git-svn-id: svn://tug.org/texlive/trunk@21202 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ydoc/ydoc.dtx')
-rw-r--r--Master/texmf-dist/source/latex/ydoc/ydoc.dtx25
1 files changed, 21 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/ydoc/ydoc.dtx b/Master/texmf-dist/source/latex/ydoc/ydoc.dtx
index be3645188bb..b4cd14a106c 100644
--- a/Master/texmf-dist/source/latex/ydoc/ydoc.dtx
+++ b/Master/texmf-dist/source/latex/ydoc/ydoc.dtx
@@ -35,7 +35,7 @@
%<expl> [ydoc-expl]
%<doc> [ydoc-doc]
%<*driver|class|package|code|desc|expl|doc>
- {$Id: ydoc.dtx 2035 2011-01-09 17:22:24Z martin $}
+ {$Id: ydoc.dtx 2073 2011-01-26 11:25:50Z martin $}
[v0.4alpha]
%</driver|class|package|code|desc|expl|doc>
%<class> [ydoc class: document LaTeX class and packages]
@@ -74,7 +74,7 @@
%</driver>
% \fi
%
-% \CheckSum{1459}
+% \CheckSum{1488}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -1275,8 +1275,24 @@
%
% \begin{macro}{\read@Macro@marg}
% \begin{macrocode}
-\def\read@Macro@marg#1{%
- \@marg{#1}\read@Macro@arg
+\def\read@Macro@marg{%
+ \begingroup
+ \afterassignment\read@Macro@marg@
+ \let\@let@token=%
+}
+\def\read@Macro@marg@{%
+ \setbox\@tempboxa\hbox\bgroup
+ \color@setgroup\bgroup
+ \aftergroup\color@endgroup
+ \aftergroup\egroup
+ \aftergroup\read@Macro@marg@@
+ \let\end@Macro@args\empty%
+ \read@Macro@arg
+}
+\def\read@Macro@marg@@{%
+ \@marg{\usebox\@tempboxa}%
+ \endgroup
+ \read@Macro@arg
}
% \end{macrocode}
% \end{macro}
@@ -1348,6 +1364,7 @@
\begingroup
\let\do\@makeother
\dospecials
+ \obeyspaces
\read@Macro@verb@
}
% \end{macrocode}