summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-17 21:10:51 +0000
committerKarl Berry <karl@freefriends.org>2019-09-17 21:10:51 +0000
commit345c4728c1410fe37c996be2226c00e47be9c1d5 (patch)
tree303b4223ae537219ffb9d4c620bc7a148b02cb38 /Master/texmf-dist
parent7a9fe7b86890a9c51f2cd25eca0ed3559573a47a (diff)
extract (17sep19)
git-svn-id: svn://tug.org/texlive/trunk@52109 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/extract/README4
-rw-r--r--Master/texmf-dist/doc/latex/extract/extract.bib139
-rw-r--r--Master/texmf-dist/doc/latex/extract/extract.pdfbin201813 -> 229260 bytes
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex1.tex56
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex2.tex57
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex3.tex64
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex4.tex54
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex5.tex59
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex6.tex62
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrex7.tex56
-rw-r--r--Master/texmf-dist/doc/latex/extract/xtrpream.ble165
-rw-r--r--Master/texmf-dist/source/latex/extract/extract.dtx29
-rw-r--r--Master/texmf-dist/tex/latex/extract/extract.sty6
13 files changed, 740 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/extract/README b/Master/texmf-dist/doc/latex/extract/README
index 7cc0a467797..c54f79fc8a0 100644
--- a/Master/texmf-dist/doc/latex/extract/README
+++ b/Master/texmf-dist/doc/latex/extract/README
@@ -1,4 +1,4 @@
-extract v1.8
+extract v1.9
------------
This package can be used to (conditionally) extract specific
@@ -44,7 +44,7 @@ extract into your LaTeX distribution
License
-------
-Copyright (C) 2004-2005 Hendri Adriaens
+Copyright (C) 2004-2019 Hendri Adriaens
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/doc/latex/extract/extract.bib b/Master/texmf-dist/doc/latex/extract/extract.bib
new file mode 100644
index 00000000000..87c3bde3be2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/extract.bib
@@ -0,0 +1,139 @@
+%%
+%% This is file `extract.bib',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `bib')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+@MISC{LaTeXbase,
+ author = {Johannes Braams and David Carlisle and Alan Jeffrey and Leslie Lamport
+ and Frank Mittelbach and Chris Rowley and Rainer Sch\"opf},
+ title = {The {\LaTeXe} Sources},
+ howpublished = {\url{CTAN:/macros/latex/base}},
+ year = 2003
+}
+
+@MISC{xkeyval,
+ author = {Hendri Adriaens},
+ title = {\pf{xkeyval} package},
+ howpublished = {\url{CTAN:/macros/latex/contrib/xkeyval}}
+}
+
+@MISC{verbatim,
+ author = {Rainer Sch\"opf},
+ title = {\pf{verbatim} package, v1.5q},
+ howpublished = {\url{CTAN:/macros/latex/required/tools}},
+ year = {2003/08/22}
+}
+
+@MISC{xcomment,
+ author = {Timothy Van Zandt},
+ title = {\pf{xcomment} package, v1.2},
+ howpublished = {\url{CTAN:/macros/latex/contrib/seminar}},
+ year = {1993/02/12}
+}
+
+@MISC{askinclude,
+ author = {{Pablo A. Straub}},
+ title = {\pf{askinclude} package, v1.2e},
+ howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+ year = {1994/11/11}
+}
+
+@MISC{excludeonly,
+ author = {Dan Luecking},
+ title = {\pf{excludeonly} package, v1.0},
+ howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+ year = {2003/03/14}
+}
+
+@MISC{comment,
+ author = {Victor Eijkhout},
+ title = {\pf{comment} package, v3.6},
+ howpublished = {\url{CTAN:/macros/latex/contrib/comment}},
+ year = {1999/10}
+}
+
+@MISC{optional,
+ author = {Donald Arseneau},
+ title = {\pf{optional} package, v2.2},
+ howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+ year = {2001/09}
+}
+
+@MISC{version,
+ author = {Stephen Bellantoni},
+ title = {\pf{version} package},
+ howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+ year = {1990}
+}
+
+@MISC{versions,
+ author = {Uwe L\"uck},
+ title = {\pf{versions} package, v0.51},
+ howpublished = {\url{CTAN:/macros/latex/contrib/versions}},
+ year = {2003/10/15}
+}
+
+@MISC{pagesel,
+ author = {Heiko Oberdiek},
+ title = {\pf{pagesel} package, v1.1},
+ howpublished = {\url{CTAN:/macros/latex/contrib/oberdiek}},
+ year = {1999/04/13}
+}
+
+@MISC{pdfpages,
+ author = {Andreas Matthias},
+ title = {\pf{pdfpages} package, v0.3e},
+ howpublished = {\url{CTAN:/macros/latex/contrib/pdfpages}},
+ year = {2004/01/31}
+}
+
+@MISC{selectp,
+ author = {Donald Arseneau},
+ title = {\pf{selectp} package, v0.9},
+ howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+ year = {1992/09/25}
+}
+
+@MISC{fancyvrb,
+ author = {Timothy Van Zandt},
+ title = {\pf{fancyvrb} package, v2.6},
+ howpublished = {\url{CTAN:/macros/latex/contrib/fancyvrb}},
+ year = {1998/07/17}
+}
+
+@MISC{listings,
+ author = {Carsten Heinz},
+ title = {\pf{listings} package, v1.3},
+ howpublished = {\url{CTAN:/macros/latex/contrib/listings}},
+ year = {2004/09/07}
+}
+\endinput
+%%
+%% End of file `extract.bib'.
diff --git a/Master/texmf-dist/doc/latex/extract/extract.pdf b/Master/texmf-dist/doc/latex/extract/extract.pdf
index 3176259e8e0..1ed5ee687dd 100644
--- a/Master/texmf-dist/doc/latex/extract/extract.pdf
+++ b/Master/texmf-dist/doc/latex/extract/extract.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex1.tex b/Master/texmf-dist/doc/latex/extract/xtrex1.tex
new file mode 100644
index 00000000000..b3f0df8918e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex1.tex
@@ -0,0 +1,56 @@
+%%
+%% This is file `xtrex1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex1')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass[10pt]{article}
+\usepackage[
+ active,
+ generate=file,
+ copydocumentclass=false,
+ extract-env=equation
+]{extract}
+\begin{extract}
+\documentclass[11pt]{article}
+\end{extract}
+\begin{document}
+Some text.
+\begin{equation}
+a^2+b^2=c^2
+\end{equation}
+Some text.
+\begin{equation}
+x^2+y^2=z^2
+\end{equation}
+Some text.
+\end{document}
+\endinput
+%%
+%% End of file `xtrex1.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex2.tex b/Master/texmf-dist/doc/latex/extract/xtrex2.tex
new file mode 100644
index 00000000000..34fb73b4b0c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex2.tex
@@ -0,0 +1,57 @@
+%%
+%% This is file `xtrex2.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex2')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass{article}
+\usepackage[
+ active,
+ generate=file,
+ extract-env=exercise,
+ extract-cmd=section,
+ extract-cmdline=label
+]{extract}
+\begin{extract*}
+\newtheorem{exercise}{Exercise}
+\end{extract*}
+\begin{document}
+\section{Theory}
+\label{sec:1}
+Some text.
+\section{Exercises}
+\begin{exercise}
+Use the results from section
+\ref{sec:1} to show that\dots
+\end{exercise}
+Some text.
+\end{document}
+\endinput
+%%
+%% End of file `xtrex2.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex3.tex b/Master/texmf-dist/doc/latex/extract/xtrex3.tex
new file mode 100644
index 00000000000..d3dfc3b25fa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex3.tex
@@ -0,0 +1,64 @@
+%%
+%% This is file `xtrex3.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex3')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass{article}
+\usepackage[
+ active,
+ generate=file,
+ extract-env=figure,
+ figure-nrs={1,3},
+ figure-labels={fig-a,fig-b}
+]{extract}
+\begin{document}
+Some text.
+\begin{figure}
+Figure 1.
+\end{figure}
+Some text.
+\extractionlabel{fig-a}
+\begin{figure}
+Figure 2.
+\end{figure}
+Some text.
+\extractionlabel{fig-b}
+\begin{figure}
+Figure 3.
+\end{figure}
+Some text.
+\extractionlabel{fig-c}
+\begin{figure}
+Figure 4.
+\end{figure}
+\end{document}
+\endinput
+%%
+%% End of file `xtrex3.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex4.tex b/Master/texmf-dist/doc/latex/extract/xtrex4.tex
new file mode 100644
index 00000000000..d8376bdc711
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex4.tex
@@ -0,0 +1,54 @@
+%%
+%% This is file `xtrex4.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex4')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass{article}
+\usepackage[
+ active,
+ generate=file,
+ extract-env=equation*
+]{extract}
+\begin{extract*}
+\usepackage{amsmath}
+\end{extract*}
+\begin{document}
+Some text.
+\begin{equation*}
+x^2+y^2=z^2
+\end{equation*}
+\begin{extract}
+$x=3$, $y=4$ and $z=5$
+satisfy this equation.
+\end{extract}
+\end{document}
+\endinput
+%%
+%% End of file `xtrex4.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex5.tex b/Master/texmf-dist/doc/latex/extract/xtrex5.tex
new file mode 100644
index 00000000000..4c5bbe6680f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex5.tex
@@ -0,0 +1,59 @@
+%%
+%% This is file `xtrex5.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex5')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass{article}
+\usepackage[
+ active,
+ generate=file,
+ copydocumentclass=false,
+ extract-labels=type-a,
+ line-labels={type-a,type-c},
+ line-nrs=3
+]{extract}
+\begin{extract}[type-a]
+\documentclass{article}
+\end{extract}
+\begin{extract}[type-b]
+\documentclass{book}
+\end{extract}
+\begin{document}
+\parindent0pt
+\extractline[type-a]line 1\\
+\extractline*line 2\\
+\extractline line 3\\
+\extractline*[type-a]line 4\\
+\extractline*[type-c]line 5\\
+\extractline line 6\\
+\end{document}
+\endinput
+%%
+%% End of file `xtrex5.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex6.tex b/Master/texmf-dist/doc/latex/extract/xtrex6.tex
new file mode 100644
index 00000000000..e01b2725e02
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex6.tex
@@ -0,0 +1,62 @@
+%%
+%% This is file `xtrex6.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex6')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass{article}
+\usepackage[
+ active,
+ generate=file,
+ extract-env=figure
+]{extract}
+\begin{document}
+\begin{figure}[!h]
+\begin{extractskip}
+\fbox{figure 1}
+\end{extractskip}
+\fbox{figure 2}
+\end{figure}
+\begin{extract*}
+\begin{itemize}
+\item 1
+\item 2
+a\begin{extractskip}b
+\item 3
+c\end{extractskip}d
+\item 4
+\begin{extractskip}
+\item 5
+\end{extractskip}
+\end{itemize}
+\end{extract*}
+\end{document}
+\endinput
+%%
+%% End of file `xtrex6.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrex7.tex b/Master/texmf-dist/doc/latex/extract/xtrex7.tex
new file mode 100644
index 00000000000..98ae6ff31a3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrex7.tex
@@ -0,0 +1,56 @@
+%%
+%% This is file `xtrex7.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `xtrex7')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\documentclass{article}
+\usepackage[
+ active,
+ generate=file,
+ extractskip-labels=skipb
+]{extract}
+\begin{document}
+\begin{extract*}
+\begin{itemize}
+\begin{extractskip}[skipa]
+\item 1
+\end{extractskip}
+\begin{extractskip}[skipb]
+\item 2
+\end{extractskip}
+\begin{extractskip}[skipc]
+\item 3
+\end{extractskip}
+\end{itemize}
+\end{extract*}
+\end{document}
+\endinput
+%%
+%% End of file `xtrex7.tex'.
diff --git a/Master/texmf-dist/doc/latex/extract/xtrpream.ble b/Master/texmf-dist/doc/latex/extract/xtrpream.ble
new file mode 100644
index 00000000000..de284ca5b2a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/extract/xtrpream.ble
@@ -0,0 +1,165 @@
+%%
+%% This is file `xtrpream.ble',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% extract.dtx (with options: `preamble')
+%%
+%% ---------------------------------------
+%% Copyright (C) 2004-2005 Hendri Adriaens
+%% ---------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Hendri Adriaens.
+%%
+%% This work consists of the file extract.dtx and the derived files
+%% extract.sty, xtrex1.tex, xtrex2.tex, xtrex3.tex, xtrex4.tex,
+%% xtrex5.tex, xtrex6.tex and xtrex7.tex.
+%%
+%% The following files constitute the extract package and must be
+%% distributed as a whole: readme, extract.dtx, extract.pdf and
+%% extract.sty.
+%%
+\usepackage{url}
+\usepackage{extract}
+\usepackage{xcolor}
+\usepackage{fourier}
+\usepackage{varioref}
+\usepackage{pst-text}
+\def\reftextafter{on page~\thevpagerefnum}
+\def\reftextbefore{on page~\thevpagerefnum}
+\def\reftextfaceafter{on page~\thevpagerefnum}
+\def\reftextfacebefore{on page~\thevpagerefnum}
+\usepackage{listings}
+\lstnewenvironment{command}{%
+ \lstset{columns=flexible,frame=single,backgroundcolor=\color{blue!20},%
+ xleftmargin=\fboxsep,xrightmargin=\fboxsep,escapeinside=`',gobble=1}}{}
+\lstnewenvironment{example}{%
+ \lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
+ backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
+ xrightmargin=\fboxsep,gobble=1}}{}
+\def\mktitledecor{%
+ \rput[tl]{90}(-6.5,-22.56){%
+ \psline[linewidth=1pt](0,1.5)(\paperheight,1.5)%
+ \rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,%
+ fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
+ {\Huge\bfseries\sffamily extract}%
+ }%
+ \rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,%
+ fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
+ {\Huge\bfseries Documentation}%
+ }%
+ \psline[linewidth=1pt](0,0)(\paperheight,0)%
+ }%
+}
+\usepackage{float}
+\newfloat{Listing}{htb}{loe}
+\makeatletter
+\def\tableofcontents{%
+ \begin{multicols}{2}%
+ [\section*{Contents}%
+ \setlength{\columnseprule}{.4pt}%
+ \setlength{\columnsep}{18pt}]%
+ \@starttoc{toc}%
+ \end{multicols}%
+}
+\def\changes@#1#2#3{%
+ \protected@edef\@tempa{%
+ \noexpand\glossary{\textbf{#1}\hfill\emph{(#2)}%
+ \levelchar
+ \ifx\saved@macroname\@empty
+ \space\actualchar\generalname
+ \else
+ \expandafter\@gobble\saved@macroname
+ \actualchar\string\verb\quotechar*%
+ \verbatimchar\saved@macroname\verbatimchar
+ \fi
+ :\levelchar #3}%
+ }%
+ \@tempa\endgroup\@esphack
+}
+\def\DescribeMacros{\leavevmode\@bsphack
+ \begingroup\MakePrivateLetters\Describe@Macros}
+\def\Describe@Macros#1{\endgroup\strut
+ \marginpar{\raggedleft
+ \def\@tempa{#1}\count@\z@
+ \@for\@tempa:=\@tempa\do{%
+ \ifnum\count@>\z@\\\fi\advance\count@\@ne
+ \MacroFont\expandafter\string\@tempa
+ \expandafter\SpecialUsageIndex\expandafter{\@tempa}%
+ }}%
+ \@esphack\ignorespaces
+}
+\def\DescribeOption#1{\leavevmode\@bsphack
+ \marginpar{\raggedleft\PrintDescribeOption{#1}}%
+ \SpecialOptionIndex{#1}\@esphack\ignorespaces}
+\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
+\def\SpecialOptionIndex#1{\@bsphack
+ \index{#1\actualchar{\protect\ttfamily#1}
+ (option)\encapchar usage}%
+ \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
+ usage}\@esphack}
+\def\DescribeOptions#1{\leavevmode\@bsphack
+ \marginpar{\raggedleft\strut\emph{options}%
+ \@for\@tempa:=#1\do{%
+ \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
+ }}\@esphack\ignorespaces}
+\def\DescribeEnv#1{\leavevmode\@bsphack
+ \marginpar{\raggedleft\PrintDescribeEnv{#1}}%
+ \SpecialEnvIndex{#1}\@esphack\ignorespaces}
+\def\PrintDescribeEnv#1{\strut\emph{environment}\\\MacroFont #1\ }
+\def\SpecialEnvIndex#1{\@bsphack
+ \index{#1\actualchar{\protect\ttfamily#1}
+ (environment)\encapchar usage}%
+ \index{environments:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
+ usage}\@esphack}
+\def\SpecialMainEnvIndex#1{\@bsphack\special@index{%
+ #1\actualchar
+ {\string\ttfamily\space#1}
+ \encapchar main}%
+ \special@index{environments:\levelchar#1\actualchar{%
+ \string\ttfamily\space#1}\encapchar
+ main}\@esphack}
+\def\DescribeEnvs#1{\leavevmode\@bsphack
+ \marginpar{\raggedleft\strut\emph{environments}%
+ \@for\@tempa:=#1\do{%
+ \\\strut\MacroFont\@tempa\SpecialEnvIndex\@tempa
+ }}\@esphack\ignorespaces}
+\renewenvironment{theglossary}{%
+ \glossary@prologue
+ \GlossaryParms \let\item\@idxitem \ignorespaces
+ }{}%
+\makeatother
+\def\PrintChangesX{%
+ \begingroup
+ \let\efill\relax
+ \PrintChanges
+ \endgroup
+}
+\def\PrintIndexX{%
+ \begingroup
+ \setcounter{IndexColumns}{2}
+ \setlength{\columnsep}{18pt}%
+ \setlength{\columnseprule}{.4pt}%
+ \PrintIndex
+ \endgroup
+}
+\def\pf#1{\textsf{#1}}
+\def\descriptionlabel{\hspace\labelsep\normalfont}
+\EnableCrossrefs
+\RecordChanges
+\GlossaryPrologue{\section*{Version history}}
+\CodelineIndex
+\endinput
+%%
+%% End of file `xtrpream.ble'.
diff --git a/Master/texmf-dist/source/latex/extract/extract.dtx b/Master/texmf-dist/source/latex/extract/extract.dtx
index b4b74776bef..42aa96f4c5b 100644
--- a/Master/texmf-dist/source/latex/extract/extract.dtx
+++ b/Master/texmf-dist/source/latex/extract/extract.dtx
@@ -109,7 +109,7 @@ of the package.
%
% \GetFileInfo{extract.sty}
%
-% \CheckSum{1013}
+% \CheckSum{1011}
%
% \DoNotIndex{\@backslashchar,\@bsphack,\@checkend,\@currenvir,
% \@currenvline,\@doendpe,\@eha,\@ehc,\@empty,\@endpefalse,\@esphack,
@@ -152,7 +152,7 @@ of the package.
%\texttt{/macros/latex/contrib/extract}. See \texttt{extract.dtx} for
%information on installing \pf{extract} into your \LaTeX\
%distribution and for the license of this package.}}
-%\author{Hendri Adriaens\\\url{http://stuwww.uvt.nl/~hendri}}
+%\author{\mktitledecor Hendri Adriaens}
%\date{\fileversion\ (\filedate)}
%\maketitle
%
@@ -920,7 +920,7 @@ of the package.
%<*extract>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{extract}
- [2005/05/07 v1.8 extract content from document (HA)]
+ [2019/09/17 v1.9 extract content from document (HA)]
\RequirePackage{verbatim}
\RequirePackage{xkeyval}
\newwrite\XTR@out
@@ -1086,11 +1086,12 @@ of the package.
% \end{macro}
% \begin{macro}{\begin}
% \marg{environment}\\
+% \changes{v1.9}{2019/09/17}{Changed definition to robust version}
% Modify the macro |\begin| to allow adding code to a level specific
% hook which can be executed after |\endgroup| in |\end|. See for
% more info on this macro the \LaTeX\ source~\cite{LaTeXbase}.
% \begin{macrocode}
-\def\begin#1{%
+\@namedef{begin}#1{%
\@ifundefined{#1}%
{\def\reserved@a{\@latex@error{Environment #1 undefined}\@eha}}%
{\def\reserved@a{\def\@currenvir{#1}%
@@ -1111,9 +1112,10 @@ of the package.
% \end{macro}
% \begin{macro}{\end}
% \marg{environment}\\
+% \changes{v1.9}{2019/09/17}{Changed definition to robust version}
% Modify |\end| to execute the code collected in the hook.
% \begin{macrocode}
-\def\end#1{%
+\@namedef{end}#1{%
\csname end#1\endcsname\@checkend{#1}%
\expandafter\endgroup\if@endpe\@doendpe\fi
% \end{macrocode}
@@ -1130,7 +1132,7 @@ of the package.
% decreasing the depth as to avoid level mixing problems when the
% hook contains another environment. This environment has to be
% executed at the same level as the environment in which the hook was
-% defined since it is executed after the group and does not below
+% defined since it is executed after the group and does not belong
% anymore to the environment in which the hook was defined.
% \begin{macrocode}
\reserved@a\relax
@@ -2109,6 +2111,7 @@ c\end{extractskip}d
\usepackage{xcolor}
\usepackage{fourier}
\usepackage{varioref}
+\usepackage{pst-text}
\def\reftextafter{on page~\thevpagerefnum}
\def\reftextbefore{on page~\thevpagerefnum}
\def\reftextfaceafter{on page~\thevpagerefnum}
@@ -2121,6 +2124,20 @@ c\end{extractskip}d
\lstset{basicstyle=\footnotesize\ttfamily,columns=flexible,frame=single,%
backgroundcolor=\color{yellow!20},xleftmargin=\fboxsep,%
xrightmargin=\fboxsep,gobble=1}}{}
+\def\mktitledecor{%
+ \rput[tl]{90}(-6.5,-22.56){%
+ \psline[linewidth=1pt](0,1.5)(\paperheight,1.5)%
+ \rput[lB](.075\paperheight,.5){\pscharpath[linecolor=blue!50,%
+ fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
+ {\Huge\bfseries\sffamily extract}%
+ }%
+ \rput[rB](.925\paperheight,.5){\pscharpath[linecolor=blue!50,%
+ fillcolor=yellow!20,fillstyle=solid,linewidth=.5pt]%
+ {\Huge\bfseries Documentation}%
+ }%
+ \psline[linewidth=1pt](0,0)(\paperheight,0)%
+ }%
+}
\usepackage{float}
\newfloat{Listing}{htb}{loe}
\makeatletter
diff --git a/Master/texmf-dist/tex/latex/extract/extract.sty b/Master/texmf-dist/tex/latex/extract/extract.sty
index 46a653bf85d..af58fd244be 100644
--- a/Master/texmf-dist/tex/latex/extract/extract.sty
+++ b/Master/texmf-dist/tex/latex/extract/extract.sty
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{extract}
- [2005/05/07 v1.8 extract content from document (HA)]
+ [2019/09/17 v1.9 extract content from document (HA)]
\RequirePackage{verbatim}
\RequirePackage{xkeyval}
\newwrite\XTR@out
@@ -97,7 +97,7 @@
\fi
\fi
\newcount\@envdepth\@envdepth\z@
-\def\begin#1{%
+\@namedef{begin}#1{%
\@ifundefined{#1}%
{\def\reserved@a{\@latex@error{Environment #1 undefined}\@eha}}%
{\def\reserved@a{\def\@currenvir{#1}%
@@ -108,7 +108,7 @@
\global\advance\@envdepth\@ne
\global\@namedef{@afterendenvhook@\romannumeral\@envdepth}{}%
\reserved@a}
-\def\end#1{%
+\@namedef{end}#1{%
\csname end#1\endcsname\@checkend{#1}%
\expandafter\endgroup\if@endpe\@doendpe\fi
\expandafter\let\expandafter\reserved@a