summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-14 00:11:01 +0000
committerKarl Berry <karl@freefriends.org>2012-12-14 00:11:01 +0000
commit2071d59f0fa2c729b7b112423d8659ef92ebc0d7 (patch)
treea36c6657d2fb4ddf9ee28c3010a731208db65dfc /Master/texmf-dist/source/generic
parent4996e3ce908a0e5ec391ab42143b17e17751c137 (diff)
dirtree (14dec12)
git-svn-id: svn://tug.org/texlive/trunk@28524 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/dirtree/dirtree.dtx37
1 files changed, 23 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/generic/dirtree/dirtree.dtx b/Master/texmf-dist/source/generic/dirtree/dirtree.dtx
index b3886623eb9..1991b1b35ef 100644
--- a/Master/texmf-dist/source/generic/dirtree/dirtree.dtx
+++ b/Master/texmf-dist/source/generic/dirtree/dirtree.dtx
@@ -24,8 +24,8 @@
%%
% \fi
% \iffalse
-%<latex-wrapper|tex> \def\fileversion{0.31}
-%<latex-wrapper|tex> \def\filedate{2012/11/02}
+%<latex-wrapper|tex> \def\fileversion{0.32}
+%<latex-wrapper|tex> \def\filedate{2012/12/11}
%<*driver>
\documentclass{ltxdoc}
\GetFileInfo{dirtree.dtx}
@@ -63,6 +63,9 @@
% and \LaTeX.}
% \changes{v0.3}{2009/04/08}{xkeyval syntax, breakable tree}
% \changes{v0.31}{2012/11/02}{bug about some lengths}
+% \changes{v0.32}{2012/12/11}{bug about length (thanks to Philipp
+% K\"uhl). Some macro names changed in order to prevent clash with
+% other packages.}
%
% \DoNotIndex{\@,\@gobble,\@latex@error,\@nameuse}
% \DoNotIndex{\@ne,\@nil,\@namedef}
@@ -446,16 +449,18 @@
\edef\DTAtCode{\the\catcode`\@}
\catcode`\@=11
% \end{macrocode}
-% Define |\LOOP|, |\REPEAT|, and |\ITERATE| like |\loop|, |\repeat|,
-% and |\iterate|. The uppercase form allows to place loop inside
-% loop.
+% \changes{v0.32}{2012/12/11}{LOOP, REPEAT and ITERATE modified to DT@
+% form in order to prevent some clash with other packages.}
+% Define |\DT@loop|, |\DT@repeat|, and |\DT@iterate| like |\loop|,
+% |\repeat|, and |\iterate|. The |\DT@| form allows to place loop
+% inside loop.
% \begin{macrocode}
-\long\def\LOOP#1\REPEAT{%
- \def\ITERATE{#1\relax\expandafter\ITERATE\fi}%
- \ITERATE
- \let\ITERATE\relax
+\long\def\DT@loop#1\DT@repeat{%
+ \def\DT@iterate{#1\relax\expandafter\DT@iterate\fi}%
+ \DT@iterate
+ \let\DT@iterate\relax
}
-\let\REPEAT=\fi
+\let\DT@repeat=\fi
% \end{macrocode}
% Define some \LaTeX{} macros if we work under Plain \TeX{}.
% |\@namedef|-like for |\edef|.
@@ -559,7 +564,7 @@
}
% \end{macrocode}
% \end{macro}
-% \changes{0.31}{2012/11/02}{save lengths as lengths (not as macro)}
+% \changes{v0.31}{2012/11/02}{save lengths as lengths (not as macro)}
% In order to save some lengths we create newdimen
% \begin{macrocode}
\newdimen\DT@indent
@@ -669,7 +674,7 @@
% \begin{macrocode}
\DT@countiv=\DT@countii
\count@=\z@
- \LOOP
+ \DT@loop
% \end{macrocode}
% Look for previous node
% \begin{macrocode}
@@ -684,7 +689,7 @@
\count@=\@ne
\fi
\ifnum\count@=\z@
- \REPEAT
+ \DT@repeat
% \end{macrocode}
% Now |\DT@countiv| holds the index node connected to current node.
%
@@ -771,7 +776,11 @@
% \begin{macrocode}
\parindent=\DT@indent
\parskip=\DT@parskip
- \DT@baselineskip=\baselineskip
+% \end{macrocode}
+% \changes{v0.32}{2012/12/11}{Inverse order of assignation between
+% baselineskip and DT@baselineskip.}
+% \begin{macrocode}
+ \baselineskip=\DT@baselineskip
\let\strut\DT@strut
}
% \end{macrocode}