summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-16 00:07:34 +0000
committerKarl Berry <karl@freefriends.org>2007-09-16 00:07:34 +0000
commitd85f248e3b38ea0ecda38c5340e3cadd08d65346 (patch)
tree52e17f32b395006895b3917bc7729c7ac1514ae3 /Master/texmf-dist/tex/latex/oberdiek
parent2389552f283181e0d8c610037712ade989112da3 (diff)
oberdiek update (14sep07)
git-svn-id: svn://tug.org/texlive/trunk@4947 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty8
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/embedfile.sty162
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty43
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty386
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty161
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/selinput.sty4
6 files changed, 676 insertions, 88 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty b/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty
index 12adcbb92c9..8705c332dc7 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty
@@ -25,12 +25,14 @@
%% This work consists of the main source file embedfile.dtx
%% and the derived files
%% embedfile.sty, embedfile.pdf, embedfile.ins, embedfile.drv,
-%% dtx-attach.sty, embedfile-example-plain.tex.
+%% dtx-attach.sty, embedfile-example-plain.tex,
+%% embedfile-test1.tex, embedfile-test2.tex,
+%% embedfile-test3.tex.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{dtx-attach}
- [2007/04/11 v1.1 Embed \string\jobname.dtx (HO)]%
-\RequirePackage{embedfile}[2007/04/11]
+ [2007/09/09 v1.2 Embed \string\jobname.dtx (HO)]%
+\RequirePackage{embedfile}[2007/09/09]
\embedfile[%
stringmethod=escape,%
mimetype=plain/text,%
diff --git a/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty b/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty
index b571aaa09f6..af9a34ac7d7 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty
@@ -25,7 +25,9 @@
%% This work consists of the main source file embedfile.dtx
%% and the derived files
%% embedfile.sty, embedfile.pdf, embedfile.ins, embedfile.drv,
-%% dtx-attach.sty, embedfile-example-plain.tex.
+%% dtx-attach.sty, embedfile-example-plain.tex,
+%% embedfile-test1.tex, embedfile-test2.tex,
+%% embedfile-test3.tex.
%%
\begingroup
\catcode44 12 % ,
@@ -79,66 +81,53 @@
\fi
\expandafter\x\csname ver@embedfile.sty\endcsname
\ProvidesPackage{embedfile}%
- [2007/04/11 v1.1 embed files into PDF (HO)]
-\edef\EmbedFileRestoreCatcodes{%
- \catcode39 \the\catcode39 % '
- \catcode40 \the\catcode40 % (
- \catcode41 \the\catcode41 % )
- \catcode47 \the\catcode47 % /
- \catcode60 \the\catcode60 % <
- \catcode62 \the\catcode62 % >
- \catcode64 \the\catcode64 % @
- \catcode91 \the\catcode91 % [
- \catcode93 \the\catcode93 % ]
- \catcode96 \the\catcode96 % `
+ [2007/09/09 v1.2 embed files into PDF (HO)]
+\expandafter\edef\csname EmbedFile@AtEnd\endcsname{%
+ \catcode64 \the\catcode64\relax
}
-\catcode39 12 % '
-\catcode40 12 % (
-\catcode41 12 % )
-\catcode47 12 % /
-\catcode60 12 % <
-\catcode62 12 % >
\catcode64 11 % @
-\catcode91 12 % [
-\catcode93 12 % ]
-\catcode96 12 % `
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname PackageError\endcsname\relax
- \def\EmbedFile@PackageError#1#2{%
- \errhelp{#2}%
- \errmessage{Package embedfile Error: #1.}%
- }%
-\else
- \def\EmbedFile@PackageError#1#2{%
- \begingroup
- \let\on@line\empty
- \PackageError{embedfile}{#1}{#2}%
- \endgroup
+\def\TMP@EnsureCode#1#2{%
+ \edef\EmbedFile@AtEnd{%
+ \EmbedFile@AtEnd
+ \catcode#1 \the\catcode#1\relax
}%
-\fi
+ \catcode#1 #2\relax
+}
+\TMP@EnsureCode{39}{12}% '
+\TMP@EnsureCode{40}{12}% (
+\TMP@EnsureCode{41}{12}% )
+\TMP@EnsureCode{44}{12}% ,
+\TMP@EnsureCode{46}{12}% .
+\TMP@EnsureCode{47}{12}% /
+\TMP@EnsureCode{58}{12}% :
+\TMP@EnsureCode{60}{12}% <
+\TMP@EnsureCode{61}{12}% =
+\TMP@EnsureCode{62}{12}% >
+\TMP@EnsureCode{91}{12}% [
+\TMP@EnsureCode{93}{12}% ]
+\TMP@EnsureCode{96}{12}% `
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
- \def\EmbedFile@RequirePackage#1#2{%
- \expandafter\ifx\csname #2\encsname\relax
- \input #1.sty\relax
- \fi
+ \def\EmbedFile@RequirePackage#1[#2]{%
+ \input #1.sty\relax
}%
\else
- \def\EmbedFile@RequirePackage#1#2{%
- \expandafter\ifx\csname #2\endcsname\relax
- \RequirePackage{#1}%
- \fi
- }%
+ \let\EmbedFile@RequirePackage\RequirePackage
\fi
-\EmbedFile@RequirePackage{ifpdf}{ifpdf}
+\EmbedFile@RequirePackage{infwarerr}[2007/09/09]%
+\def\EmbedFile@PackageError{%
+ \@PackageError{embedfile}%
+}
+\EmbedFile@RequirePackage{ifpdf}[2007/09/09]
\ifpdf
\else
\EmbedFile@PackageError{%
Missing pdfTeX in PDF mode%
}{%
- Currently other drivers are not supported. Package loading is aborted.%
+ Currently other drivers are not supported. %
+ Package loading is aborted.%
}%
- \EmbedFileRestoreCatcodes
+ \EmbedFile@AtEnd
\expandafter\endinput
\fi
\begingroup\expandafter\expandafter\expandafter\endgroup
@@ -148,10 +137,83 @@
}{%
At least version 1.30 is necessary. Package loading is aborted.%
}%
- \EmbedFileRestoreCatcodes
+ \EmbedFile@AtEnd
\expandafter\endinput
\fi
-\EmbedFile@RequirePackage{keyval}{define@key}
+\expandafter\ifx\csname define@key\endcsname\relax
+ \chardef\EmbedFile@plain=\z@
+ \def\EmbedFile@temp#1{%
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname#1\endcsname\relax
+ \chardef\EmbedFile@plain=\@ne
+ \fi
+ }%
+ \EmbedFile@temp{NeedsTeXFormat}%
+ \EmbedFile@temp{ProvidesPackage}%
+ \EmbedFile@temp{DeclareOption}%
+ \EmbedFile@temp{ExecuteOptions}%
+ \EmbedFile@temp{ProcessOptions}%
+ \ifnum\EmbedFile@plain=\@ne
+ \def\EmbedFile@temp#1{%
+ \expandafter\let\csname EmbedFile@Org#1\expandafter\endcsname
+ \csname#1\endcsname
+ \expandafter\def\csname#1\endcsname
+ }%
+ \EmbedFile@temp{NeedsTeXFormat}#1{}%
+ \EmbedFile@temp{ProvidesPackage}#1[#2]{}% hash-ok
+ \EmbedFile@temp{DeclareOption}#1{}%
+ \EmbedFile@temp{ExecuteOptions}#1{}%
+ \EmbedFile@temp{ProcessOptions}{}%
+ \def\KV@errx#1{%
+ \@PackageError{keyval}{#1}\@ehc
+ }%
+ \expandafter\ifx\csname @ifnextchar\endcsname\relax
+ \def\@ifnextchar#1#2#3{%
+ \let\reserved@d=#1%
+ \def\reserved@a{#2}%
+ \def\reserved@b{#3}%
+ \futurelet\@let@token\@ifnch
+ }%
+ \def\@ifnch{%
+ \ifx\@let@token\@sptoken
+ \let\reserved@c\@xifnch
+ \else
+ \ifx\@let@token\reserved@d
+ \let\reserved@c\reserved@a
+ \else
+ \let\reserved@c\reserved@b
+ \fi
+ \fi
+ \reserved@c
+ }%
+ \begingroup
+ \def\:{\global\let\@sptoken= }%
+ \: % this makes \@sptoken a space token
+ \def\:{\@xifnch}%
+ \expandafter\gdef\: {%
+ \futurelet\@let@token\@ifnch
+ }%
+ \endgroup
+ \fi
+ \expandafter\ifx\csname @namedef\endcsname\relax
+ \def\@namedef#1{%
+ \expandafter\def\csname#1\endcsname
+ }%
+ \fi
+ \fi
+ \EmbedFile@RequirePackage{keyval}[1999/03/16]%
+ \ifnum\EmbedFile@plain=\@ne
+ \def\EmbedFile@temp#1{%
+ \expandafter\let\csname#1\expandafter\endcsname
+ \csname EmbedFile@Org#1\endcsname
+ }%
+ \EmbedFile@temp{NeedsTeXFormat}%
+ \EmbedFile@temp{ProvidesPackage}%
+ \EmbedFile@temp{DeclareOption}%
+ \EmbedFile@temp{ExecuteOptions}%
+ \EmbedFile@temp{ProcessOptions}%
+ \fi
+\fi
\def\EmbedFile@DefineKey#1#2{%
\define@key{EmbedFile}{#1}{%
\expandafter\def\csname EmbedFile@#1\endcsname{##1}%
@@ -315,7 +377,7 @@
\else
\AtEndDocument{\embedfilefinish}%
\fi
-\EmbedFileRestoreCatcodes
+\EmbedFile@AtEnd
\endinput
%%
%% End of file `embedfile.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty
index 777ee1cefd1..be223fd79fb 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty
@@ -24,46 +24,23 @@
%%
%% This work consists of the main source file pdfcolfoot.dtx
%% and the derived files
-%% pdfcolfoot.sty, pdfcolfoot.pdf, pdfcolfoot.ins, pdfcolfoot.drv.
+%% pdfcolfoot.sty, pdfcolfoot.pdf, pdfcolfoot.ins, pdfcolfoot.drv,
+%% pdfcolfoot-test1.tex.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pdfcolfoot}%
- [2007/01/08 v1.0 pdfTeX's color stack for footnotes (HO)]%
-\RequirePackage{ifpdf}
-\ifpdf
+ [2007/09/09 v1.1 pdfTeX's color stack for footnotes (HO)]%
+\RequirePackage{pdfcol}[2007/09/09]
+\ifpdfcolAvailable
\else
- \PackageWarningNoLine{pdfcolfoot}{%
- Loading aborted, because pdfTeX is not running in PDF mode%
- }%
- \expandafter\endinput
-\fi
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdfcolorstackinit\endcsname\relax
- \PackageWarningNoLine{pdfcolfoot}{%
- Your pdfTeX version does not support color stacks%
- }%
- \expandafter\endinput
-\fi
-\@ifpackageloaded{color}{}{\RequirePackage[pdftex]{color}}
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname @pdfcolorstack\endcsname\relax
- \PackageWarningNoLine{pdfcolfoot}{%
- Your pdftex.def is too old, you need at least 2007/01/02 v0.04b%
+ \PackageInfo{pdfcolfoot}{%
+ Loading aborted, because color stacks are not available%
}%
\expandafter\endinput
\fi
-\newcommand{\pdfcolfoot@stack}{}
-\edef\pdfcolfoot@stack{%
- \pdfcolorstackinit direct{\current@color}%
-}
-\begingroup
- \let\on@line\@empty
- \PackageInfo{pdfcolfoot}{%
- Color stack number: \pdfcolfoot@stack
- }%
-\endgroup
+\pdfcolInitStack{foot}
\newcommand*{\pdfcolfoot@switch}{%
- \let\@pdfcolorstack\pdfcolfoot@stack
+ \pdfcolSwitchStack{foot}%
}
\AtBeginDocument{%
\newcommand*{\pdfcolfoot@makefntext}{}%
@@ -79,7 +56,7 @@
}%
}
\newcommand*{\pdfcolfoot@current}{%
- \pdfcolorstack\pdfcolfoot@stack current\relax
+ \pdfcolSetCurrent{foot}%
}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname detokenize\endcsname\relax
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty
new file mode 100644
index 00000000000..410c56d1ef5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty
@@ -0,0 +1,386 @@
+%%
+%% This is file `pdfcolparallel.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfcolparallel.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%%
+%% 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 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% This work consists of the main source file pdfcolparallel.dtx
+%% and the derived files
+%% pdfcolparallel.sty, pdfcolparallel.pdf, pdfcolparallel.ins, pdfcolparallel.drv,
+%% pdfcolparallel-test1.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{pdfcolparallel}%
+ [2007/09/09 v1.0 Color stacks support for parallel (HO)]%
+\DeclareOption*{%
+ \PassoptionsToPackage{\CurrentOption}{parallel}%
+}
+\ProcessOptions\relax
+\RequirePackage{parallel}[2003/04/13]
+\RequirePackage{pdfcol}[2007/09/09]
+\ifpdfcolAvailable
+\else
+ \PackageInfo{pdfcolparallel}{%
+ Loading aborted, because color stacks are not available%
+ }%
+ \expandafter\endinput
+\fi
+\RequirePackage{infwarerr}[2007/09/09]
+\pdfcolInitStack{pcp@Left}
+\pdfcolInitStack{pcp@Right}
+\def\pcp@SwitchStack#1{%
+ \pdfcolSwitchStack{pcp@#1}%
+}
+\def\pcp@SetCurrent#1{%
+ \ifx\\#1\\%
+ \pdfcolSetCurrent{}%
+ \else
+ \pdfcolSetCurrent{pcp@#1}%
+ \fi
+}
+\def\pcp@CmdCheckRedef#1{%
+ \begingroup
+ \def\pcp@cmd{#1}%
+ \afterassignment\pcp@CmdDo
+ \long\def\reserved@a
+}
+\def\pcp@CmdDo{%
+ \expandafter\ifx\pcp@cmd\reserved@a
+ \else
+ \edef\x*{\expandafter\string\pcp@cmd}%
+ \@PackageWarningNoLine{pdfcolparallel}{%
+ Command \x* has changed.\MessageBreak
+ Supported versions of package `parallel':\MessageBreak
+ \space\space 2003/04/13\MessageBreak
+ The redefinition of \x* may\MessageBreak
+ not behave correctly depending on the changes%
+ }%
+ \fi
+ \expandafter\endgroup
+ \expandafter\def\pcp@cmd
+}
+\pcp@CmdCheckRedef\ParallelLText{%
+ \everypar{}%
+ \@restorepar
+ \begingroup
+ \hbadness=3000 %
+ \let\footnote=\ParallelLFootnote
+ \ParallelWhichBox=0 %
+ \global\setbox\ParallelLBox=\vbox\bgroup
+ \hsize=\ParallelLWidth
+ \aftergroup\ParallelAfterText
+ \begingroup
+ \afterassignment\ParallelCheckOpenBrace
+ \let\x=%
+}{%
+ \everypar{}%
+ \@restorepar
+ \begingroup
+ \hbadness=3000 %
+ \let\footnote=\ParallelLFootnote
+ \ParallelWhichBox=0 %
+ \global\setbox\ParallelLBox=\vbox\bgroup
+ \hsize=\ParallelLWidth
+ \pcp@SwitchStack{Left}%
+ \aftergroup\ParallelAfterText
+ \begingroup
+ \afterassignment\ParallelCheckOpenBrace
+ \let\x=%
+}
+\pcp@CmdCheckRedef\ParallelRText{%
+ \everypar{}%
+ \@restorepar
+ \begingroup
+ \hbadness=3000 %
+ \ifnum\ParallelFNMode=\@ne
+ \let\footnote=\ParallelRFootnote
+ \else
+ \let\footnote=\ParallelLFootnote
+ \fi
+ \ParallelWhichBox=\@ne
+ \global\setbox\ParallelRBox=\vbox\bgroup
+ \hsize=\ParallelRWidth
+ \aftergroup\ParallelAfterText
+ \begingroup
+ \afterassignment\ParallelCheckOpenBrace
+ \let\x=%
+}{%
+ \everypar{}%
+ \@restorepar
+ \begingroup
+ \hbadness=3000 %
+ \ifnum\ParallelFNMode=\@ne
+ \let\footnote=\ParallelRFootnote
+ \else
+ \let\footnote=\ParallelLFootnote
+ \fi
+ \ParallelWhichBox=\@ne
+ \global\setbox\ParallelRBox=\vbox\bgroup
+ \hsize=\ParallelRWidth
+ \pcp@SwitchStack{Right}%
+ \aftergroup\ParallelAfterText
+ \begingroup
+ \afterassignment\ParallelCheckOpenBrace
+ \let\x=%
+}
+\pcp@CmdCheckRedef\ParallelParOnePage{%
+ \ifnum\ParallelBoolVar=\@ne
+ \par
+ \begingroup
+ \leftmargin=\z@
+ \rightmargin=\z@
+ \parskip=\z@skip
+ \parindent=\z@
+ \vbadness=10000 %
+ \vfuzz=3ex %
+ \splittopskip=\z@skip
+ \loop
+ \ifnum\ParallelBoolVar=\@ne
+ \noindent
+ \hbox to\textwidth{%
+ \hskip\ParallelLeftMargin
+ \hbox to\ParallelTextWidth{%
+ \ifvoid\ParallelLBox
+ \hskip\ParallelLWidth
+ \else
+ \ParallelWhichBox=\z@
+ \vbox{%
+ \setbox\ParallelBoxVar
+ =\vsplit\ParallelLBox to\dp\strutbox
+ \unvbox\ParallelBoxVar
+ }%
+ \fi
+ \strut
+ \ifnum\ParallelBoolMid=\@ne
+ \hskip\ParallelMainMidSkip
+ \vrule
+ \else
+ \hss
+ \fi
+ \hss
+ \ifvoid\ParallelRBox
+ \hskip\ParallelRWidth
+ \else
+ \ParallelWhichBox=\@ne
+ \vbox{%
+ \setbox\ParallelBoxVar
+ =\vsplit\ParallelRBox to\dp\strutbox
+ \unvbox\ParallelBoxVar
+ }%
+ \fi
+ }%
+ }%
+ \ifvoid\ParallelLBox
+ \ifvoid\ParallelRBox
+ \global\ParallelBoolVar=\z@
+ \fi
+ \fi%
+ \fi%
+ \ifnum\ParallelBoolVar=\@ne
+ \penalty\interlinepenalty
+ \repeat
+ \par
+ \endgroup
+ \fi
+}{%
+ \ifnum\ParallelBoolVar=\@ne
+ \par
+ \begingroup
+ \leftmargin=\z@
+ \rightmargin=\z@
+ \parskip=\z@skip
+ \parindent=\z@
+ \vbadness=10000 %
+ \vfuzz=3ex %
+ \splittopskip=\z@skip
+ \loop
+ \ifnum\ParallelBoolVar=\@ne
+ \noindent
+ \hbox to\textwidth{%
+ \hskip\ParallelLeftMargin
+ \hbox to\ParallelTextWidth{%
+ \ifvoid\ParallelLBox
+ \hskip\ParallelLWidth
+ \else
+ \pcp@SetCurrent{Left}%
+ \ParallelWhichBox=\z@
+ \vbox{%
+ \setbox\ParallelBoxVar
+ =\vsplit\ParallelLBox to\dp\strutbox
+ \unvbox\ParallelBoxVar
+ }%
+ \fi
+ \strut
+ \ifnum\ParallelBoolMid=\@ne
+ \hskip\ParallelMainMidSkip
+ \vrule
+ \else
+ \hss
+ \fi
+ \hss
+ \ifvoid\ParallelRBox
+ \hskip\ParallelRWidth
+ \else
+ \pcp@SetCurrent{Right}%
+ \ParallelWhichBox=\@ne
+ \vbox{%
+ \setbox\ParallelBoxVar
+ =\vsplit\ParallelRBox to\dp\strutbox
+ \unvbox\ParallelBoxVar
+ }%
+ \fi
+ }%
+ }%
+ \ifvoid\ParallelLBox
+ \ifvoid\ParallelRBox
+ \global\ParallelBoolVar=\z@
+ \fi
+ \fi%
+ \fi%
+ \ifnum\ParallelBoolVar=\@ne
+ \penalty\interlinepenalty
+ \repeat
+ \par
+ \endgroup
+ \pcp@SetCurrent{}%
+ \fi
+}
+\pcp@CmdCheckRedef\ParallelParTwoPages{%
+ \ifnum\ParallelBoolVar=\@ne
+ \par
+ \begingroup
+ \global\ParallelWhichBox=\@ne
+ \newpage
+ \vbadness=10000 %
+ \vfuzz=3ex %
+ \splittopskip=\z@skip
+ \loop%
+ \ifnum\ParallelBoolVar=\@ne%
+ \ifnum\ParallelWhichBox=\@ne
+ \ifvoid\ParallelLBox
+ \mbox{} %
+ \newpage
+ \else
+ \global\ParallelWhichBox=\z@
+ \fi
+ \else
+ \ifvoid\ParallelRBox
+ \mbox{} %
+ \newpage
+ \else
+ \global\ParallelWhichBox=\@ne
+ \fi
+ \fi
+ \ifnum\ParallelWhichBox=\z@
+ \ifodd\thepage
+ \mbox{} %
+ \newpage
+ \fi
+ \hbox to\textwidth{%
+ \vbox{\vsplit\ParallelLBox to.98\textheight}%
+ }%
+ \else
+ \ifodd\thepage\relax
+ \else
+ \mbox{} %
+ \newpage
+ \fi
+ \hbox to\textwidth{%
+ \vbox{\vsplit\ParallelRBox to.98\textheight}%
+ }%
+ \fi
+ \vspace*{\fill}%
+ \newpage
+ \fi
+ \ifvoid\ParallelLBox
+ \ifvoid\ParallelRBox
+ \global\ParallelBoolVar=\z@
+ \fi
+ \fi
+ \ifnum\ParallelBoolVar=\@ne
+ \repeat
+ \par
+ \endgroup
+ \fi
+}{%
+ \ifnum\ParallelBoolVar=\@ne
+ \par
+ \begingroup
+ \global\ParallelWhichBox=\@ne
+ \newpage
+ \vbadness=10000 %
+ \vfuzz=3ex %
+ \splittopskip=\z@skip
+ \loop%
+ \ifnum\ParallelBoolVar=\@ne%
+ \ifnum\ParallelWhichBox=\@ne
+ \ifvoid\ParallelLBox
+ \mbox{}%
+ \newpage
+ \else
+ \global\ParallelWhichBox=\z@
+ \fi
+ \else
+ \ifvoid\ParallelRBox
+ \mbox{}%
+ \newpage
+ \else
+ \global\ParallelWhichBox=\@ne
+ \fi
+ \fi
+ \ifnum\ParallelWhichBox=\z@
+ \ifodd\value{page}%
+ \mbox{}%
+ \newpage
+ \fi
+ \hbox to\textwidth{%
+ \pcp@SetCurrent{Left}%
+ \vbox{\vsplit\ParallelLBox to.98\textheight}%
+ }%
+ \else
+ \ifodd\value{page}%
+ \else
+ \mbox{}%
+ \newpage
+ \fi
+ \hbox to\textwidth{%
+ \pcp@SetCurrent{Right}%
+ \vbox{\vsplit\ParallelRBox to.98\textheight}%
+ }%
+ \fi
+ \vspace*{\fill}%
+ \newpage
+ \fi
+ \ifvoid\ParallelLBox
+ \ifvoid\ParallelRBox
+ \global\ParallelBoolVar=\z@
+ \fi
+ \fi
+ \ifnum\ParallelBoolVar=\@ne
+ \repeat
+ \par
+ \endgroup
+ \pcp@SetCurrent{}%
+ \fi
+}
+\endinput
+%%
+%% End of file `pdfcolparallel.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty
new file mode 100644
index 00000000000..1dcbfa1f5a4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty
@@ -0,0 +1,161 @@
+%%
+%% This is file `pdfcolparcolumns.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfcolparcolumns.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%%
+%% 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 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% This work consists of the main source file pdfcolparcolumns.dtx
+%% and the derived files
+%% pdfcolparcolumns.sty, pdfcolparcolumns.pdf, pdfcolparcolumns.ins, pdfcolparcolumns.drv,
+%% pdfcolparcolumns-test1.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{pdfcolparcolumns}%
+ [2007/09/09 v1.1 Color stacks support for parcolumns (HO)]%
+\DeclareOption*{%
+ \PassoptionsToPackage{\CurrentOption}{parcolumns}%
+}
+\ProcessOptions\relax
+\RequirePackage{parcolumns}[2004/11/25]
+\RequirePackage{pdfcol}[2007/09/09]
+\ifpdfcolAvailable
+\else
+ \PackageInfo{pdfcolparcolumns}{%
+ Loading aborted, because color stacks are not available%
+ }%
+ \expandafter\endinput
+\fi
+\RequirePackage{infwarerr}[2007/09/09]
+\global\chardef\pcpc@MaxStack=\z@
+\def\pcpc@InitStacks#1{%
+ \ifnum#1>\pcpc@MaxStack
+ \begingroup
+ \count@\pcpc@MaxStack
+ \loop
+ \advance\count@\@ne
+ \pdfcolInitStack{pcpc@\the\count@}%
+ \ifnum#1>\count@
+ \repeat
+ \global\chardef\pcpc@MaxStack=\count@
+ \endgroup
+ \fi
+}
+\def\pcpc@SwitchStack#1{%
+ \pdfcolSwitchStack{pcpc@\number#1}%
+}
+\def\pcpc@SetCurrent#1{%
+ \pdfcolSetCurrent{pcpc@\number#1}%
+}
+\g@addto@macro\pc@alloccolumns{%
+ \pcpc@InitStacks\pc@columncount
+}
+\g@addto@macro\pc@setcolumnwidth{%
+ \pcpc@SwitchStack\pc@columnctr
+}
+\begingroup
+ \def\x{%
+ \global\let\@tempa\relax
+ \count@\z@
+ \hb@xt@\linewidth{%
+ \vfuzz30ex %
+ \vbadness\@M
+ \splittopskip\z@skip
+ \loop
+ \ifnum\count@<\pc@columncount
+ \advance\count@\@ne
+ \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
+ \hskip\csname pc@column@width@\number\count@\endcsname
+ \else
+ \expandafter\setbox\expandafter\@tempboxa\expandafter
+ \vsplit\csname pc@column@\number\count@\endcsname
+ to \dp\strutbox
+ \vbox{%
+ \unvbox\@tempboxa
+ }%
+ \fi
+ \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
+ \else
+ \global\let\@tempa\pc@placeboxes
+ \fi
+ \ifnum\count@<\pc@columncount
+ \strut
+ \hfill
+ \ifpc@rulebetween
+ \vrule
+ \hfill
+ \fi
+ \fi
+ \repeat
+ }%
+ \@tempa
+ }%
+ \ifx\x\pc@placeboxes
+ \else
+ \@PackageWarningNoLine{pdfcolparcolumns}{%
+ Command \string\pc@placeboxes\space has changed.\MessageBreak
+ Supported versions of package `parcolumns':\MessageBreak
+ \space\space 2004/08/05.\MessageBreak
+ The redefinition of \string\pc@placeboxes\space may not%
+ \MessageBreak
+ behave correctly depending on the changes%
+ }%
+ \fi
+\endgroup
+\renewcommand*{\pc@placeboxes}{%
+ \global\let\@tempa\relax
+ \count@\z@
+ \hb@xt@\linewidth{%
+ \vfuzz30ex %
+ \vbadness\@M
+ \splittopskip\z@skip
+ \loop
+ \ifnum\count@<\pc@columncount
+ \advance\count@\@ne
+ \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
+ \hskip\csname pc@column@width@\number\count@\endcsname
+ \else
+ \expandafter\setbox\expandafter\@tempboxa\expandafter
+ \vsplit\csname pc@column@\number\count@\endcsname
+ to \dp\strutbox
+ \vbox{%
+ \pcpc@SetCurrent\count@
+ \unvbox\@tempboxa
+ }%
+ \fi
+ \expandafter\ifvoid\csname pc@column@\number\count@\endcsname
+ \else
+ \global\let\@tempa\pc@placeboxes
+ \fi
+ \ifnum\count@<\pc@columncount
+ \strut
+ \hfill
+ \ifpc@rulebetween
+ \vrule
+ \hfill
+ \fi
+ \fi
+ \repeat
+ }%
+ \@tempa
+}
+\endinput
+%%
+%% End of file `pdfcolparcolumns.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/selinput.sty b/Master/texmf-dist/tex/latex/oberdiek/selinput.sty
index 0839c18dddf..25f7302e848 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/selinput.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/selinput.sty
@@ -30,7 +30,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{selinput}
- [2007/06/20 v1.1 Select input encoding (HO)]%
+ [2007/09/09 v1.2 Select input encoding (HO)]%
\RequirePackage{inputenc}
\RequirePackage{kvsetkeys}[2006/10/19]
\RequirePackage{stringenc}[2007/06/16]
@@ -64,7 +64,7 @@
\ifx\SIE@Encoding\@empty
\StringEncodingConvertTest\SIE@temp\SIE@StringDest
{ascii}{utf16be}{%
- \def\SIE@Encoding{ascii}
+ \def\SIE@Encoding{ascii}%
\SIE@Info{selinput}{%
Matching encoding not found, but input characters%
\MessageBreak