summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-02-22 01:33:20 +0000
committerKarl Berry <karl@freefriends.org>2008-02-22 01:33:20 +0000
commitffb293118629e67aa481486f9b91ea737263cbee (patch)
tree178ee4b74f36515259cc6f40b854a5f4eb9e4dbc /Master
parent31919995b0051edba6ec4fa4a1b6b1bfb08929b7 (diff)
new latex package dprogress (21feb08)
git-svn-id: svn://tug.org/texlive/trunk@6713 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/dprogress/README29
-rw-r--r--Master/texmf-dist/doc/latex/dprogress/dprogress.pdfbin0 -> 74283 bytes
-rw-r--r--Master/texmf-dist/source/latex/dprogress/dprogress.dtx250
-rw-r--r--Master/texmf-dist/source/latex/dprogress/dprogress.ins58
-rw-r--r--Master/texmf-dist/tex/latex/dprogress/dprogress.sty135
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/dprogress.tlpsrc2
8 files changed, 476 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/dprogress/README b/Master/texmf-dist/doc/latex/dprogress/README
new file mode 100644
index 00000000000..fc242c7e794
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/dprogress/README
@@ -0,0 +1,29 @@
+DPROGRESS
+=========
+
+Introduction
+------------
+
+This package logs latex's progress through the file, making the latex output
+more verbose. This helps to make latex debugging easier, as it is simpler to
+find where exactly latex failed.
+It outputs the typesetting of section, subsection, subsubsection headers and
+the align environment. The align environment is only output if the amsmath
+package is loaded.
+
+
+Distribution
+------------
+
+Copyright (C) 2008 by Brian Amberg <latex@brian-amberg.de>
+
+This file may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.2
+of this license or (at your option) any later version.
+The latest version of this license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.2 or later is part of all distributions of LaTeX
+version 1999/12/01 or later.
+
diff --git a/Master/texmf-dist/doc/latex/dprogress/dprogress.pdf b/Master/texmf-dist/doc/latex/dprogress/dprogress.pdf
new file mode 100644
index 00000000000..1c70fca0e50
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/dprogress/dprogress.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/dprogress/dprogress.dtx b/Master/texmf-dist/source/latex/dprogress/dprogress.dtx
new file mode 100644
index 00000000000..9a3b9d00a1f
--- /dev/null
+++ b/Master/texmf-dist/source/latex/dprogress/dprogress.dtx
@@ -0,0 +1,250 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2008 by Brian Amberg <latex@brian-amberg.de>
+% -------------------------------------------------------
+%
+% This file may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.2
+% of this license or (at your option) any later version.
+% The latest version of this license is in:
+%
+% http://www.latex-project.org/lppl.txt
+%
+% and version 1.2 or later is part of all distributions of LaTeX
+% version 1999/12/01 or later.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{dprogress.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{dprogress}
+%<*package>
+ [2008/02/21 v0.1 .dtx dprogress]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{dprogress}[2008/02/21]
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{dprogress.dtx}
+ \PrintChanges
+ \PrintIndex
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{139}
+%
+% \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
+% Lower-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
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \changes{v0.1}{2008/02/21}{Initial version}
+%
+% \GetFileInfo{dprogress.dtx}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+%
+% \title{The \textsf{dprogress} package\thanks{This document
+% corresponds to \textsf{dprogress}~\fileversion, dated \filedate.}}
+% \author{Brian Amberg\\ \texttt{latex@brian-amberg.de}}
+%
+% \maketitle
+%
+% \section{Installation}
+% \begin{enumerate}
+% \item \verb|pdflatex dprogress.ins|
+% \item \verb|pdflatex dprogress.dtx|
+% \item Copy the generated file \verb|dprogress.sty| into a directory where
+% latex can find it.
+% \end{enumerate}
+%
+%
+% \section{Introduction}
+%
+% This package logs latex's dprogress through the file, making the latex output
+% more verbose. This helps to make latex debugging easier, as it is simpler to
+% find where exactly latex failed.
+% It outputs the typesetting of section, subsection, subsubsection headers and
+% the align environment. The align environment is only output if the amsmath
+% package is loaded.
+%
+% \section{Usage}
+%
+% Use\\
+% \verb|\usepackage{dprogress}|\\
+% as the last include, and read the latex output.
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+%
+%\begin{macro}{\dprogress@Display}
+% A macro to typeout a header in a very obtrusive style
+% \begin{macrocode}
+ \newcommand{\dprogress@Display}[3]{%
+ \typeout{#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1}%
+ \typeout{#1 #2: #3}%
+ \typeout{}
+ }
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{\align}
+% Redefinition of the amsmath displayed equation environment. Output the equation number.
+% \begin{macrocode}
+ \ifdefined\align
+ \message{\string\foo\space is defined}%
+ \let\dprogress@OldAlign\align
+ \renewcommand{\align}{%
+ \typeout{}%
+ \typeout{= Equation: \theequation}%
+ \typeout{}%
+ \dprogress@OldAlign%
+ }
+ \else
+ \message{Progress: the align command is not defined, not overriding. If you use amsmath, be sure to include dprogress as the last file}%
+ \fi
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{\part}
+% Redefinition of the \verb|\part| command. Output the section number and title.
+% \begin{macrocode}
+ \ifdefined\part
+ \let\dprogress@OldPart\part
+ \renewcommand{\part}{%
+ \@ifstar
+ \dprogress@DisplayPartStar%
+ \dprogress@DisplayPartNoStar%
+ }
+ \newcommand{\dprogress@DisplayPartNoStar}[1]{%
+ \dprogress@Display{*}{Part \thepart}{#1}
+ \dprogress@OldPart{#1}%
+ }
+ \newcommand{\dprogress@DisplayPartStar}[1]{%
+ \dprogress@Display{*}{Part \thepart}{#1}
+ \dprogress@OldPart*{#1}%
+ }
+ \else
+ \message{Progress: the part command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{\chapter}
+% Redefinition of the \verb|\chapter| command. Output the section number and title.
+% \begin{macrocode}
+ \ifdefined\chapter
+ \let\dprogress@OldChapter\chapter
+ \renewcommand{\chapter}{%
+ \@ifstar
+ \dprogress@DisplayChapterStar%
+ \dprogress@DisplayChapterNoStar%
+ }
+ \newcommand{\dprogress@DisplayChapterNoStar}[1]{%
+ \dprogress@Display{*}{Chapter \thechapter}{#1}
+ \dprogress@OldChapter{#1}%
+ }
+ \newcommand{\dprogress@DisplayChapterStar}[1]{%
+ \dprogress@Display{*}{Chapter \thechapter}{#1}
+ \dprogress@OldChapter*{#1}%
+ }
+ \else
+ \message{Progress: the chapter command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{\section}
+% Redefinition of the \verb|\section| command. Output the section number and title.
+% \begin{macrocode}
+ \ifdefined\section
+ \let\dprogress@OldSection\section
+ \renewcommand{\section}{%
+ \@ifstar
+ \dprogress@DisplaySectionStar%
+ \dprogress@DisplaySectionNoStar%
+ }
+ \newcommand{\dprogress@DisplaySectionNoStar}[1]{%
+ \dprogress@Display{*}{Section \thesection}{#1}
+ \dprogress@OldSection{#1}%
+ }
+ \newcommand{\dprogress@DisplaySectionStar}[1]{%
+ \dprogress@Display{*}{Section \thesection}{#1}
+ \dprogress@OldSection*{#1}%
+ }
+ \else
+ \message{Progress: the section command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{\section}
+% Redefinition of the \verb|\subsection| command. Output the section number and title.
+% \begin{macrocode}
+ \ifdefined\subsection
+ \let\dprogress@OldSubSection\subsection
+ \renewcommand{\subsection}{\@ifstar
+ \dprogress@DisplaySubSectionStar%
+ \dprogress@DisplaySubSectionNoStar%
+ }
+ \newcommand{\dprogress@DisplaySubSectionNoStar}[1]{%
+ \dprogress@Display{+}{Subsection \thesubsection}{#1}
+ \dprogress@OldSubSection{#1}%
+ }
+ \newcommand{\dprogress@DisplaySubSectionStar}[1]{%
+ \dprogress@Display{+}{Subsection \thesubsection}{#1}
+ \dprogress@OldSubSection*{#1}%
+ }
+ \else
+ \message{Progress: the subsection command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+% \end{macrocode}
+%\end{macro}
+%
+%\begin{macro}{\section}
+% Redefinition of the \verb|\subsubsection| command. Output the section number and title.
+% \begin{macrocode}
+ \ifdefined\subsubsection
+ \let\dprogress@OldSubSubSection\subsubsection
+ \renewcommand{\subsubsection}{\@ifstar
+ \dprogress@DisplaySubSubSectionStar%
+ \dprogress@DisplaySubSubSectionNoStar%
+ }
+ \newcommand{\dprogress@DisplaySubSubSectionNoStar}[1]{%
+ \dprogress@Display{-}{Subsubsection \thesubsection}{#1}
+ \dprogress@OldSubSubSection{#1}%
+ }
+ \newcommand{\dprogress@DisplaySubSubSectionStar}[1]{%
+ \dprogress@Display{-}{Subsubsection \thesubsection}{#1}
+ \dprogress@OldSubSubSection*{#1}%
+ }
+ \else
+ \message{Progress: the subsubsection command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+% \end{macrocode}
+%\end{macro}
+%
+% \Finale
+\endinput
diff --git a/Master/texmf-dist/source/latex/dprogress/dprogress.ins b/Master/texmf-dist/source/latex/dprogress/dprogress.ins
new file mode 100644
index 00000000000..f70cbe3df56
--- /dev/null
+++ b/Master/texmf-dist/source/latex/dprogress/dprogress.ins
@@ -0,0 +1,58 @@
+%%
+%% Copyright (C) 2008 by Brian Amberg <latex@brian-amberg.de>
+%% ----------------------------------------------------------
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.2 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/dprogress}
+
+\preamble
+
+dprogress: Output more dprogress information while compiling latex
+
+This is a generated file.
+
+Copyright (C) 2008 by Brian Amberg <latex@brian-amberg.de>
+
+This file may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.2 of this license
+or (at your option) any later version. The latest version of this
+license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.2 or later is part of all distributions of LaTeX version
+1999/12/01 or later.
+
+\endpreamble
+
+\generate{\file{dprogress.sty}{\from{dprogress.dtx}{package}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* dprogress.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file dprogress.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/dprogress/dprogress.sty b/Master/texmf-dist/tex/latex/dprogress/dprogress.sty
new file mode 100644
index 00000000000..a5f75bb1f9e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dprogress/dprogress.sty
@@ -0,0 +1,135 @@
+%%
+%% This is file `dprogress.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% dprogress.dtx (with options: `package')
+%%
+%% dprogress: Output more dprogress information while compiling latex
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2008 by Brian Amberg <latex@brian-amberg.de>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.2 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX version
+%% 1999/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{dprogress}
+ [2008/02/21 v0.1 .dtx dprogress]
+ \newcommand{\dprogress@Display}[3]{%
+ \typeout{#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1#1}%
+ \typeout{#1 #2: #3}%
+ \typeout{}
+ }
+ \ifdefined\align
+ \message{\string\foo\space is defined}%
+ \let\dprogress@OldAlign\align
+ \renewcommand{\align}{%
+ \typeout{}%
+ \typeout{= Equation: \theequation}%
+ \typeout{}%
+ \dprogress@OldAlign%
+ }
+ \else
+ \message{Progress: the align command is not defined, not overriding. If you use amsmath, be sure to include dprogress as the last file}%
+ \fi
+ \ifdefined\part
+ \let\dprogress@OldPart\part
+ \renewcommand{\part}{%
+ \@ifstar
+ \dprogress@DisplayPartStar%
+ \dprogress@DisplayPartNoStar%
+ }
+ \newcommand{\dprogress@DisplayPartNoStar}[1]{%
+ \dprogress@Display{*}{Part \thepart}{#1}
+ \dprogress@OldPart{#1}%
+ }
+ \newcommand{\dprogress@DisplayPartStar}[1]{%
+ \dprogress@Display{*}{Part \thepart}{#1}
+ \dprogress@OldPart*{#1}%
+ }
+ \else
+ \message{Progress: the part command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+ \ifdefined\chapter
+ \let\dprogress@OldChapter\chapter
+ \renewcommand{\chapter}{%
+ \@ifstar
+ \dprogress@DisplayChapterStar%
+ \dprogress@DisplayChapterNoStar%
+ }
+ \newcommand{\dprogress@DisplayChapterNoStar}[1]{%
+ \dprogress@Display{*}{Chapter \thechapter}{#1}
+ \dprogress@OldChapter{#1}%
+ }
+ \newcommand{\dprogress@DisplayChapterStar}[1]{%
+ \dprogress@Display{*}{Chapter \thechapter}{#1}
+ \dprogress@OldChapter*{#1}%
+ }
+ \else
+ \message{Progress: the chapter command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+ \ifdefined\section
+ \let\dprogress@OldSection\section
+ \renewcommand{\section}{%
+ \@ifstar
+ \dprogress@DisplaySectionStar%
+ \dprogress@DisplaySectionNoStar%
+ }
+ \newcommand{\dprogress@DisplaySectionNoStar}[1]{%
+ \dprogress@Display{*}{Section \thesection}{#1}
+ \dprogress@OldSection{#1}%
+ }
+ \newcommand{\dprogress@DisplaySectionStar}[1]{%
+ \dprogress@Display{*}{Section \thesection}{#1}
+ \dprogress@OldSection*{#1}%
+ }
+ \else
+ \message{Progress: the section command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+ \ifdefined\subsection
+ \let\dprogress@OldSubSection\subsection
+ \renewcommand{\subsection}{\@ifstar
+ \dprogress@DisplaySubSectionStar%
+ \dprogress@DisplaySubSectionNoStar%
+ }
+ \newcommand{\dprogress@DisplaySubSectionNoStar}[1]{%
+ \dprogress@Display{+}{Subsection \thesubsection}{#1}
+ \dprogress@OldSubSection{#1}%
+ }
+ \newcommand{\dprogress@DisplaySubSectionStar}[1]{%
+ \dprogress@Display{+}{Subsection \thesubsection}{#1}
+ \dprogress@OldSubSection*{#1}%
+ }
+ \else
+ \message{Progress: the subsection command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+ \ifdefined\subsubsection
+ \let\dprogress@OldSubSubSection\subsubsection
+ \renewcommand{\subsubsection}{\@ifstar
+ \dprogress@DisplaySubSubSectionStar%
+ \dprogress@DisplaySubSubSectionNoStar%
+ }
+ \newcommand{\dprogress@DisplaySubSubSectionNoStar}[1]{%
+ \dprogress@Display{-}{Subsubsection \thesubsection}{#1}
+ \dprogress@OldSubSubSection{#1}%
+ }
+ \newcommand{\dprogress@DisplaySubSubSectionStar}[1]{%
+ \dprogress@Display{-}{Subsubsection \thesubsection}{#1}
+ \dprogress@OldSubSubSection*{#1}%
+ }
+ \else
+ \message{Progress: the subsubsection command is not defined, not overriding. Be sure to include dprogress as the last file, if your document uses this command.}%
+ \fi
+\endinput
+%%
+%% End of file `dprogress.sty'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 321534336f0..fdb8ea7f367 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -56,7 +56,7 @@ my @WorkingTLP = qw(
dateiliste datetime dcpic decimal delimtxt digiconfigs din1505
dinat dingbat directory disser dk-bib dlfltxb doi doipubmed
dotarrow dottex
- doublestroke dpfloat draftcopy
+ doublestroke dpfloat dprogress draftcopy
draftwatermark dramatist dtxgallery
dtxtut duerer-latex dvdcoll dvipsconfig dyntree
easy ebong ebsthesis eCards ecc ecclesiastic economic
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index b737336778b..41c5892914a 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -115,6 +115,7 @@ depend doi
depend dotarrow
depend dotseqn
depend dpfloat
+depend dprogress
depend draftcopy
depend draftwatermark
depend dtk
diff --git a/Master/tlpkg/tlpsrc/dprogress.tlpsrc b/Master/tlpkg/tlpsrc/dprogress.tlpsrc
new file mode 100644
index 00000000000..00f732b972d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/dprogress.tlpsrc
@@ -0,0 +1,2 @@
+name dprogress
+category Package