summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-04 22:58:35 +0000
committerKarl Berry <karl@freefriends.org>2012-11-04 22:58:35 +0000
commita2d52ffe16ebdda589a6c8a174bce181d7847d3d (patch)
treedbb5144691ec0987522aa4a98b1e7868785c4432 /Master/texmf-dist/source/generic
parentcc14f05300604ee3a793fc3d489bfe31048a342d (diff)
dirtree (4nov12)
git-svn-id: svn://tug.org/texlive/trunk@28171 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/dirtree/dirtree.dtx52
-rw-r--r--Master/texmf-dist/source/generic/dirtree/dirtree.ins4
2 files changed, 34 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/generic/dirtree/dirtree.dtx b/Master/texmf-dist/source/generic/dirtree/dirtree.dtx
index 4d2c6565b5a..b3886623eb9 100644
--- a/Master/texmf-dist/source/generic/dirtree/dirtree.dtx
+++ b/Master/texmf-dist/source/generic/dirtree/dirtree.dtx
@@ -2,7 +2,7 @@
%%
%% Package `dirtree.dtx'
%% -----------------------------------------------
-%% Copyright (C) 2004-2006 Jean-C\^ome Charpentier
+%% Copyright (C) 2004-2009 Jean-C\^ome Charpentier
%% -----------------------------------------------
%%
%% This work may be distributed and/or modified under the
@@ -24,8 +24,8 @@
%%
% \fi
% \iffalse
-%<latex-wrapper|tex> \def\fileversion{0.2}
-%<latex-wrapper|tex> \def\filedate{2006/01/25}
+%<latex-wrapper|tex> \def\fileversion{0.31}
+%<latex-wrapper|tex> \def\filedate{2012/11/02}
%<*driver>
\documentclass{ltxdoc}
\GetFileInfo{dirtree.dtx}
@@ -33,6 +33,7 @@
\usepackage[latin1]{inputenc}
\usepackage{lmodern}
\usepackage[english]{babel}
+\usepackage{hypdoc}
\usepackage{xcolor}
\usepackage{pstricks}
\usepackage{dirtree}
@@ -43,7 +44,7 @@
\EnableCrossrefs
\RecordChanges
\CodelineIndex}
-\AtEndDocument{
+\AtEndDocument{%
\PrintChanges
\PrintIndex}
\hbadness=7000 % Over and under full box warnings
@@ -53,17 +54,18 @@
\end{document}
%</driver>
% \fi
-%
-% \changes{v0.2}{\filedate}{dtx for CTAN, code for both Plain \TeX{}
-% and \LaTeX.}
-% \changes{v0.12}{2005/12/20}{\cs{DTbaselineskip}. local \cs{parskip},
-% \cs{baselineskip}, and \cs{strut} in order to fix a displaying bug.}
-% \changes{v0.11}{2005/12/19}{fix bug}
% \changes{v0.01}{2004/08/10}{First realease to answer a question on
% fctt.}
+% \changes{v0.11}{2005/12/19}{fix bug}
+% \changes{v0.12}{2005/12/20}{\cs{DTbaselineskip}. local \cs{parskip},
+% \cs{baselineskip}, and \cs{strut} in order to fix a displaying bug.}
+% \changes{v0.2}{2006/01/25}{dtx for CTAN, code for both Plain \TeX{}
+% and \LaTeX.}
+% \changes{v0.3}{2009/04/08}{xkeyval syntax, breakable tree}
+% \changes{v0.31}{2012/11/02}{bug about some lengths}
%
-% \DoNotIndex{\@,\@gobble,\@latex@error,\@namedef,\@nameuse}
-% \DoNotIndex{\@ne,\@nil}
+% \DoNotIndex{\@,\@gobble,\@latex@error,\@nameuse}
+% \DoNotIndex{\@ne,\@nil,\@namedef}
% \DoNotIndex{\advance}
% \DoNotIndex{\baselineskip,\box}
% \DoNotIndex{\catcode,\count@,\csname}
@@ -74,8 +76,8 @@
% \DoNotIndex{\ifnum,\ifx,\input,\iterate}
% \DoNotIndex{\kern}
% \DoNotIndex{\leavevmode,\let,\long,\loop}
-% \DoNotIndex{\m@ne}
-% \DoNotIndex{\NeedsTeXFormat,\newcount,\newdimen,\next,\noindent}
+% \DoNotIndex{\m@ne,\message}
+% \DoNotIndex{\NeedsTeXFormat,\newcount,\newcommand,\newdimen,\next,\noindent}
% \DoNotIndex{\par,\parindent,\parskip,\ProvidesFile,\ProvidesPackage}
% \DoNotIndex{\relax,\repeat,\rm,\rmfamily}
% \DoNotIndex{\setbox,\space,\strut}
@@ -122,7 +124,7 @@
% directory tree and how display such a structure, it appeared that
% there wasn't many packages which do the job.
%
-% One obvious solution is to use \package{PsTricks} but some people
+% One obvious solution is to use \package{PSTricks} but some people
% don't like or don't know this package, so I made the first release
% of \package{dirtree}.
%
@@ -135,11 +137,14 @@
% \begin{verbatim}
% \usepackage{dirtree}
% \end{verbatim}
-% for \LaTeX{} (no option available) and
+% for \LaTeX{} and
% \begin{verbatim}
% \input dirtree
% \end{verbatim}
-% for Plain \TeX{}.
+% for Plain \TeX{}.
+%
+% Since version~0.3, \package{dirtree} has some
+% package options. We'll see these options one by one.
%
% \begin{DescribeMacro}{\dirtree}
% The main macro is |\dirtree| which take one argument (the tree
@@ -554,6 +559,13 @@
}
% \end{macrocode}
% \end{macro}
+% \changes{0.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
+\newdimen\DT@parskip
+\newdimen\DT@baselineskip
+% \end{macrocode}
% \begin{macro}{\dirtree}
% |\dirtree| is the main package macro.
% \begin{macrocode}
@@ -561,11 +573,11 @@
% \end{macrocode}
% Change some parameters (save them before).
% \begin{macrocode}
- \let\DT@indent=\parindent
+ \DT@indent=\parindent
\parindent=\z@
- \let\DT@parskip=\parskip
+ \DT@parskip=\parskip
\parskip=\z@
- \let\DT@baselineskip=\baselineskip
+ \DT@baselineskip=\baselineskip
\baselineskip=\DTbaselineskip
\let\DT@strut=\strut
\def\strut{\vrule width\z@ height0.7\baselineskip depth0.3\baselineskip}%
diff --git a/Master/texmf-dist/source/generic/dirtree/dirtree.ins b/Master/texmf-dist/source/generic/dirtree/dirtree.ins
index 77de7a2ad48..5a68bee3c79 100644
--- a/Master/texmf-dist/source/generic/dirtree/dirtree.ins
+++ b/Master/texmf-dist/source/generic/dirtree/dirtree.ins
@@ -1,10 +1,10 @@
-%% `dirtree.ins.ins'
+%% `dirtree.ins'
%%
%% Docstrip installation instruction file for docstyle `dirtree'
%%
%% Jean-C\^ome Charpentier <Jean-Come.Charpentier@wanadoo.fr> (jcc)
%%
-%% January 25, 2006
+%% April 08, 2009
\def\batchfile{dirtree.ins}
\input docstrip.tex