texlive[52109] Master/texmf-dist: extract (17sep19)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 17 23:10:51 CEST 2019


Revision: 52109
          http://tug.org/svn/texlive?view=revision&revision=52109
Author:   karl
Date:     2019-09-17 23:10:51 +0200 (Tue, 17 Sep 2019)
Log Message:
-----------
extract (17sep19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/extract/README
    trunk/Master/texmf-dist/doc/latex/extract/extract.pdf
    trunk/Master/texmf-dist/source/latex/extract/extract.dtx
    trunk/Master/texmf-dist/tex/latex/extract/extract.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/extract/extract.bib
    trunk/Master/texmf-dist/doc/latex/extract/xtrex1.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrex2.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrex3.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrex4.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrex5.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrex6.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrex7.tex
    trunk/Master/texmf-dist/doc/latex/extract/xtrpream.ble

Modified: trunk/Master/texmf-dist/doc/latex/extract/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/README	2019-09-16 23:53:35 UTC (rev 52108)
+++ trunk/Master/texmf-dist/doc/latex/extract/README	2019-09-17 21:10:51 UTC (rev 52109)
@@ -1,4 +1,4 @@
-extract v1.8
+extract v1.9
 ------------
 
 This package can be used to (conditionally) extract specific
@@ -44,7 +44,7 @@
 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

Added: trunk/Master/texmf-dist/doc/latex/extract/extract.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/extract.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/extract.bib	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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.
+%%
+ at 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
+}
+
+ at MISC{xkeyval,
+  author       = {Hendri Adriaens},
+  title        = {\pf{xkeyval} package},
+  howpublished = {\url{CTAN:/macros/latex/contrib/xkeyval}}
+}
+
+ at MISC{verbatim,
+  author       = {Rainer Sch\"opf},
+  title        = {\pf{verbatim} package, v1.5q},
+  howpublished = {\url{CTAN:/macros/latex/required/tools}},
+  year         = {2003/08/22}
+}
+
+ at MISC{xcomment,
+  author       = {Timothy Van Zandt},
+  title        = {\pf{xcomment} package, v1.2},
+  howpublished = {\url{CTAN:/macros/latex/contrib/seminar}},
+  year         = {1993/02/12}
+}
+
+ at MISC{askinclude,
+  author       = {{Pablo A. Straub}},
+  title        = {\pf{askinclude} package, v1.2e},
+  howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+  year         = {1994/11/11}
+}
+
+ at MISC{excludeonly,
+  author       = {Dan Luecking},
+  title        = {\pf{excludeonly} package, v1.0},
+  howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+  year         = {2003/03/14}
+}
+
+ at MISC{comment,
+  author       = {Victor Eijkhout},
+  title        = {\pf{comment} package, v3.6},
+  howpublished = {\url{CTAN:/macros/latex/contrib/comment}},
+  year         = {1999/10}
+}
+
+ at MISC{optional,
+  author       = {Donald Arseneau},
+  title        = {\pf{optional} package, v2.2},
+  howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+  year         = {2001/09}
+}
+
+ at MISC{version,
+  author       = {Stephen Bellantoni},
+  title        = {\pf{version} package},
+  howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+  year         = {1990}
+}
+
+ at MISC{versions,
+  author       = {Uwe L\"uck},
+  title        = {\pf{versions} package, v0.51},
+  howpublished = {\url{CTAN:/macros/latex/contrib/versions}},
+  year         = {2003/10/15}
+}
+
+ at MISC{pagesel,
+  author       = {Heiko Oberdiek},
+  title        = {\pf{pagesel} package, v1.1},
+  howpublished = {\url{CTAN:/macros/latex/contrib/oberdiek}},
+  year         = {1999/04/13}
+}
+
+ at MISC{pdfpages,
+  author       = {Andreas Matthias},
+  title        = {\pf{pdfpages} package, v0.3e},
+  howpublished = {\url{CTAN:/macros/latex/contrib/pdfpages}},
+  year         = {2004/01/31}
+}
+
+ at MISC{selectp,
+  author       = {Donald Arseneau},
+  title        = {\pf{selectp} package, v0.9},
+  howpublished = {\url{CTAN:/macros/latex/contrib/misc}},
+  year         = {1992/09/25}
+}
+
+ at MISC{fancyvrb,
+  author       = {Timothy Van Zandt},
+  title        = {\pf{fancyvrb} package, v2.6},
+  howpublished = {\url{CTAN:/macros/latex/contrib/fancyvrb}},
+  year         = {1998/07/17}
+}
+
+ at 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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/extract.bib
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/extract/extract.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex1.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex1.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex2.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex2.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex3.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex3.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex4.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex4.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex5.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex5.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex5.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex6.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex6.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex6.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex6.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrex7.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrex7.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrex7.tex	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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'.


Property changes on: trunk/Master/texmf-dist/doc/latex/extract/xtrex7.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/extract/xtrpream.ble
===================================================================
--- trunk/Master/texmf-dist/doc/latex/extract/xtrpream.ble	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/extract/xtrpream.ble	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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 at edef\@tempa{%
+    \noexpand\glossary{\textbf{#1}\hfill\emph{(#2)}%
+      \levelchar
+      \ifx\saved at macroname\@empty
+        \space\actualchar\generalname
+      \else
+        \expandafter\@gobble\saved at macroname
+        \actualchar\string\verb\quotechar*%
+        \verbatimchar\saved at macroname\verbatimchar
+      \fi
+      :\levelchar #3}%
+    }%
+  \@tempa\endgroup\@esphack
+}
+\def\DescribeMacros{\leavevmode\@bsphack
+  \begingroup\MakePrivateLetters\Describe at Macros}
+\def\Describe at 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 at index{%
+                                      #1\actualchar
+                                      {\string\ttfamily\space#1}
+                                      \encapchar main}%
+    \special at 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 at 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'.

Modified: trunk/Master/texmf-dist/source/latex/extract/extract.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/extract/extract.dtx	2019-09-16 23:53:35 UTC (rev 52108)
+++ trunk/Master/texmf-dist/source/latex/extract/extract.dtx	2019-09-17 21:10:51 UTC (rev 52109)
@@ -109,7 +109,7 @@
 %
 % \GetFileInfo{extract.sty}
 %
-% \CheckSum{1013}
+% \CheckSum{1011}
 %
 % \DoNotIndex{\@backslashchar,\@bsphack,\@checkend,\@currenvir,
 % \@currenvline,\@doendpe,\@eha,\@ehc,\@empty,\@endpefalse,\@esphack,
@@ -152,7 +152,7 @@
 %\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 @@
 %<*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 at out
@@ -1086,11 +1086,12 @@
 % \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 at a{\@latex at error{Environment #1 undefined}\@eha}}%
     {\def\reserved at a{\def\@currenvir{#1}%
@@ -1111,9 +1112,10 @@
 % \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 at endpe\@doendpe\fi
 %    \end{macrocode}
@@ -1130,7 +1132,7 @@
 % 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 at a\relax
@@ -2109,6 +2111,7 @@
 \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 @@
   \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

Modified: trunk/Master/texmf-dist/tex/latex/extract/extract.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/extract/extract.sty	2019-09-16 23:53:35 UTC (rev 52108)
+++ trunk/Master/texmf-dist/tex/latex/extract/extract.sty	2019-09-17 21:10:51 UTC (rev 52109)
@@ -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 at out
@@ -97,7 +97,7 @@
   \fi
 \fi
 \newcount\@envdepth\@envdepth\z@
-\def\begin#1{%
+\@namedef{begin}#1{%
   \@ifundefined{#1}%
     {\def\reserved at a{\@latex at error{Environment #1 undefined}\@eha}}%
     {\def\reserved at a{\def\@currenvir{#1}%
@@ -108,7 +108,7 @@
   \global\advance\@envdepth\@ne
   \global\@namedef{@afterendenvhook@\romannumeral\@envdepth}{}%
   \reserved at a}
-\def\end#1{%
+\@namedef{end}#1{%
   \csname end#1\endcsname\@checkend{#1}%
   \expandafter\endgroup\if at endpe\@doendpe\fi
   \expandafter\let\expandafter\reserved at a



More information about the tex-live-commits mailing list