From b9fd29406413c01cc709fb8b05db351a186b59e1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 10 Jan 2007 14:24:11 +0000 Subject: oberdiek: pdfcolfoot 1.0, transparent 1.0 git-svn-id: svn://tug.org/texlive/trunk@3290 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf | Bin 134811 -> 134811 bytes Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf | Bin 159573 -> 159573 bytes .../texmf-dist/doc/latex/oberdiek/attachfile2.pdf | Bin 212556 -> 212555 bytes Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf | Bin 129375 -> 129375 bytes Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf | Bin 279696 -> 279696 bytes Master/texmf-dist/doc/latex/oberdiek/centernot.pdf | Bin 111817 -> 111816 bytes Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf | Bin 122540 -> 122540 bytes Master/texmf-dist/doc/latex/oberdiek/classlist.pdf | Bin 121114 -> 121114 bytes .../texmf-dist/doc/latex/oberdiek/colonequals.pdf | Bin 131137 -> 131137 bytes Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf | Bin 112410 -> 112409 bytes Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf | Bin 163942 -> 163942 bytes Master/texmf-dist/doc/latex/oberdiek/engord.pdf | Bin 142700 -> 142699 bytes Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf | Bin 120469 -> 120469 bytes Master/texmf-dist/doc/latex/oberdiek/grffile.pdf | Bin 146839 -> 146839 bytes Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf | Bin 132995 -> 132995 bytes Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf | Bin 140418 -> 140418 bytes Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf | Bin 124094 -> 124094 bytes .../texmf-dist/doc/latex/oberdiek/hypdestopt.pdf | Bin 152086 -> 152085 bytes Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf | Bin 147079 -> 147080 bytes Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf | Bin 117448 -> 117449 bytes Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf | Bin 133887 -> 133886 bytes Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf | Bin 125866 -> 125865 bytes Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf | Bin 422971 -> 422971 bytes Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf | Bin 242824 -> 242824 bytes Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf | Bin 158224 -> 158223 bytes .../texmf-dist/doc/latex/oberdiek/makerobust.pdf | Bin 117885 -> 117885 bytes Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf | Bin 393692 -> 405277 bytes Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf | Bin 157236 -> 157236 bytes .../texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf | Bin 0 -> 130291 bytes Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf | Bin 157796 -> 157796 bytes Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf | Bin 162520 -> 162520 bytes Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf | Bin 138011 -> 138011 bytes Master/texmf-dist/doc/latex/oberdiek/picture.pdf | Bin 135555 -> 135555 bytes Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf | Bin 179636 -> 179637 bytes Master/texmf-dist/doc/latex/oberdiek/refcount.pdf | Bin 131801 -> 131800 bytes .../texmf-dist/doc/latex/oberdiek/setouterhbox.pdf | Bin 161865 -> 161865 bytes Master/texmf-dist/doc/latex/oberdiek/settobox.pdf | Bin 137917 -> 137918 bytes Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf | Bin 121734 -> 121734 bytes Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf | Bin 162711 -> 162711 bytes Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf | Bin 112178 -> 112178 bytes Master/texmf-dist/doc/latex/oberdiek/telprint.pdf | Bin 138647 -> 138647 bytes .../doc/latex/oberdiek/transparent-example.tex | 51 ++ .../texmf-dist/doc/latex/oberdiek/transparent.pdf | Bin 0 -> 120958 bytes Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf | Bin 131947 -> 131947 bytes Master/texmf-dist/doc/latex/oberdiek/zref.pdf | Bin 282946 -> 282944 bytes .../texmf-dist/source/latex/oberdiek/oberdiek.ins | 4 +- .../texmf-dist/source/latex/oberdiek/oberdiek.tex | 26 +- .../source/latex/oberdiek/pdfcolfoot.dtx | 609 +++++++++++++++++++++ .../source/latex/oberdiek/transparent.dtx | 473 ++++++++++++++++ .../texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty | 188 +++++++ .../texmf-dist/tex/latex/oberdiek/transparent.sty | 141 +++++ Master/texmf-dist/tpm/oberdiek.tpm | 15 +- Master/texmf/lists/oberdiek | 7 + 53 files changed, 1508 insertions(+), 6 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf create mode 100644 Master/texmf-dist/doc/latex/oberdiek/transparent-example.tex create mode 100644 Master/texmf-dist/doc/latex/oberdiek/transparent.pdf create mode 100644 Master/texmf-dist/source/latex/oberdiek/pdfcolfoot.dtx create mode 100644 Master/texmf-dist/source/latex/oberdiek/transparent.dtx create mode 100644 Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty create mode 100644 Master/texmf-dist/tex/latex/oberdiek/transparent.sty (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf index 0f23c44f443..d61d6b434e0 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf index 974a82ab4c3..11282fcfa6f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf and b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf index 061dee696e7..b16cb1ced5d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf and b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf index d095222887a..b15ce495bab 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf and b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf index ec69a398b6c..e8540b4d489 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf and b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf index 3b523cd3b51..eda3bcc5d14 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf and b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf index 32d651d85d9..df0ac595cc2 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf and b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf index 2330e132aeb..576ee04e79d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf and b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf index 72156f5ac05..86aeb91e31f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf and b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf index c216dc598bb..b7f7c0d0e4c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf and b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf index e46c1b2db75..cf87c98594d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf and b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf index 24c4511ebec..2c5bf354ed0 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf and b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf index 2160f477cba..a1c074f77c4 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf and b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf index aa38c2ebd3f..e4cb8da862b 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf and b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf index 88f696e9b71..500e1452e0d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf and b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf index e61e55ba2a7..a054a290ea6 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf index 5180387a0fd..c453e10939f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf index d53bc112171..a8d98e353b3 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf index 3137f0a27ed..5aa66dc2a2c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf index 2a645cf5e70..bbc3b4a51cc 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf and b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf index 594038b8b8d..bfb27c6c856 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf and b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf index 2ba326832a5..ee867cfef0c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf and b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf index 6a7cedccfc5..3c35e1b653e 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf and b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf index f867c6a58c2..bd24ee5a68d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf and b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf index 1947947370c..3d0e166a3ae 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf and b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf index ef884f93d31..b51733acf36 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf and b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf index fbb16ea87b4..4e9f4160462 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf and b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf index 25b70713b75..be42d43576c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf new file mode 100644 index 00000000000..08e512ca10a Binary files /dev/null and b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf index 4f29a679aea..dc9bdbdf53b 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf index dab52832f20..d198c2c0663 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf index ea7a6f1cab2..2fa61a97a51 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf index 031316c198c..dacc33898f2 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf and b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf index 87e87c249f0..f8ad6e4bc7b 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf index a1fcc192095..6bf1d62ac6e 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf and b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf index 6001c550122..3f300bc4cdd 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf and b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf index 267c70d923b..8218fbb0ee2 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf and b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf index 1fc738f6fa7..2398814c54e 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf and b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf index adf1b5b1911..64e26cca896 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf and b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf index 82eefd49758..77f643c4f23 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf and b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf index 838b3f2fde0..f3e3ff246bb 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf and b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/transparent-example.tex b/Master/texmf-dist/doc/latex/oberdiek/transparent-example.tex new file mode 100644 index 00000000000..1dd926a2166 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/transparent-example.tex @@ -0,0 +1,51 @@ +%% +%% This is file `transparent-example.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% transparent.dtx (with options: `example') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek +%% +%% 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 transparent.dtx +%% and the derived files +%% transparent.sty, transparent.pdf, transparent.ins, transparent.drv, +%% transparent-example.tex. +%% +\documentclass[12pt]{article} + +\usepackage{color} +\usepackage{transparent} + +\begin{document} +\colorbox{yellow}{% + \bfseries + \color{blue}% + Blue and % + \transparent{0.6}% + transparent blue% +} + +\bigskip +Hello World +\texttransparent{0.5}{Hello\newpage World} +Hello World +\end{document} +\endinput +%% +%% End of file `transparent-example.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf new file mode 100644 index 00000000000..33a26595198 Binary files /dev/null and b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf index cf3d0d0c2c5..749257f536b 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf index 1e9ff6eee13..96b46dcd950 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf and b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf differ diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins index dd7748fa942..fca7c3d496a 100644 --- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins +++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins @@ -1,5 +1,5 @@ % oberdiek.ins -% 2006/12/31 +% 2007/01/08 % % Copyright (C) 1999, 2001, 2006 by % Heiko Oberdiek @@ -49,6 +49,7 @@ \batchinput{kvsetkeys.dtx} \batchinput{makerobust.dtx} \batchinput{pagesel.dtx} +\batchinput{pdfcolfoot.dtx} \batchinput{pdfcolmk.dtx} \batchinput{pdfcrypt.dtx} \batchinput{pdflscape.dtx} @@ -61,6 +62,7 @@ \batchinput{tabularht.dtx} \batchinput{tabularkv.dtx} \batchinput{telprint.dtx} +\batchinput{transparent.dtx} \batchinput{twoopt.dtx} \batchinput{zref.dtx} diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex index 98dbf046162..dfc0348e6a9 100644 --- a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex +++ b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex @@ -6,7 +6,7 @@ \newcommand*{\Subject}{CTAN:\CTANdir} \newcommand*{\Author}{Heiko Oberdiek} \newcommand*{\Email}{oberdiek@uni-freiburg.de} -\newcommand*{\Date}{2006/12/31} +\newcommand*{\Date}{2007/01/08} % Copyright (C) 2006 by % Heiko Oberdiek @@ -208,6 +208,8 @@ [\entrysep] \entry{pagesel}{2006/03/07}{1.5}{Selecting shipout output pages}% [\entrysep] +\entry{pdfcolfoot}{2007/01/08}{1.0}{pdfTeX's color stack for footnotes}% +[\entrysep] \entry{pdfcolmk}{2007/01/01}{1.0}{PDFtex COLor MarK}% [\entrysep] \entry{pdfcrypt}{2006/02/20}{0.8}{Setting pdf encryption}% @@ -232,6 +234,8 @@ [\entrysep] \entry{telprint}{2006/08/16}{1.7}{Formatting of German phone numbers}% [\entrysep] +\entry{transparent}{2007/01/08}{1.0}{Using a pdfTeX's color stack for transparency}% +[\entrysep] \entry{twoopt}{2006/02/20}{1.4}{Definitions with two optional arguments}% [\entrysep] \entry{zref}{2006/09/08}{1.3}{New reference scheme for \LaTeXe{}}% @@ -522,6 +526,16 @@ Single pages or page areas can be selected for output. \end{abstract} \tocinclude{pagesel} +\newpage +\subsection{\pkgsectformat{pdfcolfoot}} +\label{pdfcolfoot} +\begin{abstract} +Since version 1.40 \pdfTeX\ supports several color stacks. This +package uses a separate color stack for footnotes that can break +across pages. +\end{abstract} +\tocinclude{pdfcolfoot} + \newpage \subsection{\pkgsectformat{pdfcolmk}} \label{pdfcolmk} @@ -644,6 +658,16 @@ German phone numbers. \end{abstract} \tocinclude{telprint} +\newpage +\subsection{\pkgsectformat{transparent}} +\label{transparent} +\begin{abstract} +Since version 1.40 \pdfTeX\ supports several color stacks. This +package shows, how a separate color stack can be used for transparency, +a property besides color. +\end{abstract} +\tocinclude{transparent} + \newpage \subsection{\pkgsectformat{twoopt}} \label{twoopt} diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfcolfoot.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfcolfoot.dtx new file mode 100644 index 00000000000..5981b297891 --- /dev/null +++ b/Master/texmf-dist/source/latex/oberdiek/pdfcolfoot.dtx @@ -0,0 +1,609 @@ +% \iffalse meta-comment +% +% Copyright (C) 2007 by Heiko Oberdiek +% +% 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 pdfcolfoot.dtx +% and the derived files +% pdfcolfoot.sty, pdfcolfoot.pdf, pdfcolfoot.ins, pdfcolfoot.drv. +% +% Distribution: +% CTAN:macros/latex/contrib/oberdiek/pdfcolfoot.dtx +% CTAN:macros/latex/contrib/oberdiek/pdfcolfoot.pdf +% +% Unpacking: +% (a) If pdfcolfoot.ins is present: +% tex pdfcolfoot.ins +% (b) Without pdfcolfoot.ins: +% tex pdfcolfoot.dtx +% (c) If you insist on using LaTeX +% latex \let\install=y\input{pdfcolfoot.dtx} +% (quote the arguments according to the demands of your shell) +% +% Documentation: +% (a) If pdfcolfoot.drv is present: +% latex pdfcolfoot.drv +% (b) Without pdfcolfoot.drv: +% latex pdfcolfoot.dtx; ... +% The class ltxdoc loads the configuration file ltxdoc.cfg +% if available. Here you can specify further options, e.g. +% use A4 as paper format: +% \PassOptionsToClass{a4paper}{article} +% +% Programm calls to get the documentation (example): +% pdflatex pdfcolfoot.dtx +% makeindex -s gind.ist pdfcolfoot.idx +% pdflatex pdfcolfoot.dtx +% makeindex -s gind.ist pdfcolfoot.idx +% pdflatex pdfcolfoot.dtx +% +% Installation: +% TDS:tex/latex/oberdiek/pdfcolfoot.sty +% TDS:doc/latex/oberdiek/pdfcolfoot.pdf +% TDS:source/latex/oberdiek/pdfcolfoot.dtx +% +%<*ignore> +\begingroup + \def\x{LaTeX2e} +\expandafter\endgroup +\ifcase 0\ifx\install y1\fi\expandafter + \ifx\csname processbatchFile\endcsname\relax\else1\fi + \ifx\fmtname\x\else 1\fi\relax +\else\csname fi\endcsname +% +%<*install> +\input docstrip.tex +\Msg{************************************************************************} +\Msg{* Installation} +\Msg{* Package: pdfcolfoot 2007/01/08 v1.0 pdfTeX's color stack for footnotes (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\preamble + +This is a generated file. + +Copyright (C) 2007 by Heiko Oberdiek + +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 pdfcolfoot.dtx +and the derived files + pdfcolfoot.sty, pdfcolfoot.pdf, pdfcolfoot.ins, pdfcolfoot.drv. + +\endpreamble + +\generate{% + \file{pdfcolfoot.ins}{\from{pdfcolfoot.dtx}{install}}% + \file{pdfcolfoot.drv}{\from{pdfcolfoot.dtx}{driver}}% + \usedir{tex/latex/oberdiek}% + \file{pdfcolfoot.sty}{\from{pdfcolfoot.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{* pdfcolfoot.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `pdfcolfoot.drv'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*} +\Msg{************************************************************************} + +\endbatchfile +% +%<*ignore> +\fi +% +%<*driver> +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{pdfcolfoot.drv}% + [2007/01/08 v1.0 pdfTeX's color stack for footnotes (HO)] +\documentclass{ltxdoc} +\usepackage{holtxdoc} +\begin{document} + \DocInput{pdfcolfoot.dtx} +\end{document} +% +% \fi +% +% \CheckSum{249} +% +% \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 \~} +% +% \GetFileInfo{pdfcolfoot.drv} +% +% \title{The \xpackage{pdfcolfoot} package} +% \date{2007/01/08 v1.0} +% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} +% +% \maketitle +% +% \begin{abstract} +% Since version 1.40 \pdfTeX\ supports several color stacks. This +% package uses a separate color stack for footnotes that can break +% across pages. +% \end{abstract} +% +% \tableofcontents +% +% \section{User interface} +% +% Just load the package: +% \begin{quote} +% |\usepackage{pdfcolfoot}| +% \end{quote} +% The package assigns a color stack for footnotes and patches +% the appropriate internal macros to support this color stack. +% +% \subsection{Other packages or classes} +% +% This package \xpackage{pdfcolfoot} redefines \cs{@makecol} +% and \cs{@makefntext}. +% This can cause conflicts if other packages or classes also change +% these macro in an incompatible way. Sometimes it can help +% to change the package order. +% +% \section{Interface for package or class writers} +% +% Two macros \cs{pdfcolfoot@switch} and \cs{pdfcolfoot@current} +% need to be added to get support of the color stack for footnotes. +% This package \xpackage{pdfcolfoot} already patches many macros +% to add these two macros. If a package or class that deals +% with \cs{@makefntext} or \cs{@makecol} is not recognized by +% this package, the package/class author can add these two +% macros in his package/class. +% +% \subsection{Macro \cs{pdfcolfoot@switch}} +% +% Color commands inside footnotes should use the special +% color stack for footnotes. Macro \cs{pdfcolfoot@switch} +% sets this special color stack. (It can be called several +% times). But caution, footnotes for minipages should not +% be affected. This package patches \cs{@makefntext} for +% this purpose. +% +% \subsection{Macro \cs{pdfcolfoot@current}} +% +% In \LaTeX\ the footnote stuff goes into box \cs{footins} +% that is placed on the page (\cs{@makecol}). +% Two things need consideration: +% \begin{itemize} +% \item The footnote area should not interfere with the normal +% color stack. Macro \cs{normalcolor} inside a group helps +% it stores the current color of the normal stack and +% restores it after the group. +% \item If a footnote is broken across a page boundary, we +% need the latest color of the footnote area in the previous page. +% This is set by macro \cs{pdfcolfoot@current}. +% \end{itemize} +% As example the changes for \cs{@makecol} are shown (however +% this macro is already patched by this package): +%\begin{quote} +%\begin{verbatim} +%\gdef\@makcol{% +% ... +% \setbox\@outputbox\vbox{% or similar +% ... +% \color@begingroup +% \normalcolor +% \footnoterule % using normal color (black) +% \csname pdfcolfoot@current\endcsname +% \unvbox\footins +% \color@endgroup +% }% +% ... +%} +%\end{verbatim} +%\end{quote} +% We use \cs{csname} to call macro \cs{pdfcolfoot@current}. +% If package \xpackage{pdfcolfoot} is not loaded, \cs{pdfcolfoot@current} +% is not defined. In this case \cs{csname} defines the undefined +% macro with meaning \cs{relax} and we do not get an error because +% of undefined command. +% +% \StopEventually{ +% } +% +% \section{Implementation} +% +% \subsection{Identification} +% +% \begin{macrocode} +%<*package> +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{pdfcolfoot}% + [2007/01/08 v1.0 pdfTeX's color stack for footnotes (HO)] +% \end{macrocode} +% +% \subsection{Initial checks} +% +% \subsubsection{Check for \pdfTeX\ in PDF mode} +% \begin{macrocode} +\RequirePackage{ifpdf} +\ifpdf +\else + \PackageWarningNoLine{pdfcolfoot}{% + Loading aborted, because pdfTeX is not running in PDF mode% + }% + \expandafter\endinput +\fi +% \end{macrocode} +% +% \subsubsection{Check \pdfTeX\ version} +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname pdfcolorstackinit\endcsname\relax + \PackageWarningNoLine{pdfcolfoot}{% + Your pdfTeX version does not support color stacks% + }% + \expandafter\endinput +\fi +% \end{macrocode} +% +% \subsubsection{Check \xfile{pdftex.def} version} +% Force loading of package color with \xfile{pdftex.def}, if this +% is not already done. +% \begin{macrocode} +\@ifpackageloaded{color}{}{\RequirePackage[pdftex]{color}} +% \end{macrocode} +% Now we can check the minimal version requirement of \xfile{pdftex.def}. +% \begin{macrocode} +\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% + }% + \expandafter\endinput +\fi +% \end{macrocode} +% +% \subsection{Color stack for footnotes} +% +% I do not know, why pdftex.def (or other drivers do not define +% \cs{default@color}. Instead they are defining \cs{current@color}. +% Therefore it is assumed that in the preamble this color for black +% is still valid. +% \begin{macrocode} +\newcommand{\pdfcolfoot@stack}{} +\edef\pdfcolfoot@stack{% + \pdfcolorstackinit direct{\current@color}% +} +\begingroup + \let\on@line\@empty + \PackageInfo{pdfcolfoot}{% + Color stack number: \pdfcolfoot@stack + }% +\endgroup +% \end{macrocode} +% +% \subsection{Patch \cs{@makefntext}} +% +% \begin{macro}{\pdfcolfoot@switch} +% Macro \cs{pdfcolfoot@switch} switches the color stack. Subsequent +% color calls uses the color stack for footnotes. +% \begin{macrocode} +\newcommand*{\pdfcolfoot@switch}{% + \let\@pdfcolorstack\pdfcolfoot@stack +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\AtBeginDocument{% + \newcommand*{\pdfcolfoot@makefntext}{}% + \let\pdfcolfoot@makefntext\@makefntext + \renewcommand{\@makefntext}[1]{% + \pdfcolfoot@makefntext{% + \if@minipage + \else + \pdfcolfoot@switch + \fi + #1% + }% + }% +} +% \end{macrocode} +% +% \subsection{Patch \cs{@makecol}} +% +% \begin{macro}{\pdfcolfoot@current} +% When the footnote area starts, the color should continue with +% the latest color value of the previous footnote area. This color +% is available on the current top of the color stack. +% \begin{macrocode} +\newcommand*{\pdfcolfoot@current}{% + \pdfcolorstack\pdfcolfoot@stack current\relax +} +% \end{macrocode} +% \end{macro} +% +% For convenience we use \cs{detokenize} for patching \cs{@makecol} +% and related macros. +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname detokenize\endcsname\relax + \PackageWarningNoLine{pdfcolfoot}{% + Missing e-TeX for patching \string\@makecol + }% + \expandafter\endinput +\fi +% \end{macrocode} +% +% \begin{macrocode} +\newif\ifPCF@result +\def\pdfcolfoot@patch#1{% + \ifx#1\@undefined + \else + \ifx#1\relax + \else + \begingroup + \toks@{}% + \let\on@line\@empty + \expandafter\PCF@CheckPatched + \detokenize\expandafter{#1pdfcolfoot@current}\@nil + \ifPCF@result + \PackageInfo{pdfcolfoot}{\string#1\space is already patched}% + \else + \expandafter\PCF@CanPatch + \detokenize\expandafter{% + #1\setbox\@outputbox\vbox{\footnoterule}% + }% + \@nil + \ifPCF@result + \PackageInfo{pdfcolfoot}{\string#1 is being patched}% + \expandafter\PCF@PatchA#1\PCF@nil#1% + \else + \PackageInfo{pdfcolfoot}{% + \string#1\space cannot be patched% + }% + \fi + \fi + \expandafter\endgroup + \the\toks@ + \fi + \fi +} +\expandafter\def\expandafter\PCF@CheckPatched + \expandafter#\expandafter1\detokenize{pdfcolfoot@current}#2\@nil{% + \ifx\\#2\\% + \PCF@resultfalse + \else + \PCF@resulttrue + \fi +} +\edef\PCF@BraceLeft{\string{} +\edef\PCF@BraceRight{\string}} +\begingroup + \edef\x{\endgroup + \def\noexpand\PCF@CanPatch + ##1\detokenize{\setbox\@outputbox\vbox}\PCF@BraceLeft + ##2\detokenize{\footnoterule}##3\PCF@BraceRight + }% +\x#4\@nil{% + \ifx\\#2#3#4\\% + \PCF@resultfalse + \else + \PCF@resulttrue + \fi +} +\def\PCF@PatchA#1\setbox\@outputbox\vbox#2#3\PCF@nil#4{% + \PCF@PatchB{#1}#2\PCF@nil{#3}#4% +} +\def\PCF@PatchB#1#2\footnoterule#3\PCF@nil#4#5{% + \toks@{% + \def#5{% + #1% + \setbox\@outputbox\vbox{% + #2% + \footnoterule + \pdfcolfoot@current + #3% + }% + #4% + }% + }% +} +\def\pdfcolfoot@all#1{% + \begingroup + \let\on@line\@empty + \PackageInfo{pdfcolfoot}{% + Patching \string\@makecol\space macros (#1)% + }% + \endgroup +% \end{macrocode} +% \LaTeX\ base macro: +% \begin{macrocode} + \pdfcolfoot@patch\@makecol +% \end{macrocode} +% Class \xclass{aastex}: +% \begin{macrocode} + \pdfcolfoot@patch\@makecol@pptt +% \end{macrocode} +% Class \xclass{memoir}: +% \begin{macrocode} + \pdfcolfoot@patch\mem@makecol + \pdfcolfoot@patch\mem@makecolbf +% \end{macrocode} +% Class \xclass{revtex4}: +% \begin{macrocode} + \pdfcolfoot@patch\@combineinserts +% \end{macrocode} +% Package \xpackage{changebar}: +% \begin{macrocode} + \pdfcolfoot@patch\ltx@makecol +% \end{macrocode} +% Package \xpackage{dblfnote}: +% \begin{macrocode} + \pdfcolfoot@patch\dfn@latex@makecol +% \end{macrocode} +% Package \xpackage{fancyhdr}: +% \begin{macrocode} + \pdfcolfoot@patch\latex@makecol +% \end{macrocode} +% Package \xpackage{lscape}: +% \begin{macrocode} + \pdfcolfoot@patch\LS@makecol +% \end{macrocode} +% Package \xpackage{lineno}: +% \begin{macrocode} + \pdfcolfoot@patch\@LN@orig@makecol +% \end{macrocode} +% Package \xpackage{stfloats}: +% \begin{macrocode} + \pdfcolfoot@patch\org@makecol + \pdfcolfoot@patch\fn@makecol +% \end{macrocode} +% \begin{macrocode} +} +\AtBeginDocument{\pdfcolfoot@all{AtBeginDocument}} +\pdfcolfoot@all{AtEndOfPackage} +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +% \section{Installation} +% +% \paragraph{CTAN.} This package is available on +% CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/oberdiek/pdfcolfoot.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/oberdiek/pdfcolfoot.pdf}] Documentation. +% \end{description} +% +% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting +% \docstrip\ archive. The files are extracted by running the +% \xfile{.dtx} through \plainTeX: +% \begin{quote} +% \verb|tex pdfcolfoot.dtx| +% \end{quote} +% +% \paragraph{TDS.} Now the different files must be moved into +% the different directories in your installation TDS tree +% (also known as \xfile{texmf} tree): +% \begin{quote} +% \sbox0{^^A +% \begin{tabular}{@{}>{\ttfamily}l@{$\quad\rightarrow\quad$}>{\ttfamily}l@{}} +% pdfcolfoot.sty & tex/latex/oberdiek/pdfcolfoot.sty\\ +% pdfcolfoot.pdf & doc/latex/oberdiek/pdfcolfoot.pdf\\ +% pdfcolfoot.dtx & source/latex/oberdiek/pdfcolfoot.dtx\\ +% \end{tabular}^^A +% }% +% \ifdim\wd0>\linewidth +% \mbox{}\nobreak\hskip0pt minus\leftmargin +% \usebox0 +% \nobreak\hskip0pt minus\rightmargin +% \else +% \usebox0 +% \fi +% \end{quote} +% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's +% TDS installing feature, then some files can already be in the right +% place, see the documentation of \docstrip. +% +% \paragraph{Refresh file databases.} If your \TeX~distribution +% (\teTeX, \mikTeX, \dots) rely on file databases, you must refresh +% these. For example, \teTeX\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \paragraph{Attached source.} +% +% The PDF documentation on CTAN also includes the +% \xfile{.dtx} source file. It can be extracted by +% AcrobatReader 6 or higher. Another option is \textsf{pdftk}, +% e.g. unpack the file into the current directory: +% \begin{quote} +% \verb|pdftk pdfcolfoot.pdf unpack_files output .| +% \end{quote} +% +% \paragraph{Unpacking with \LaTeX.} +% The \xfile{.dtx} chooses its action depending on the format: +% \begin{description} +% \item[\plainTeX:] Run \docstrip\ and extract the files. +% \item[\LaTeX:] Generate the documentation. +% \end{description} +% If you insist on using \LaTeX\ for \docstrip\ (really, +% \docstrip\ does not need \LaTeX), then inform the autodetect routine +% about your intension: +% \begin{quote} +% \verb|latex \install=y\input{pdfcolfoot.dtx}| +% \end{quote} +% Do not forget to quote the argument according to the demands +% of your shell. +% +% \paragraph{Generating the documentation.} +% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate +% the documentation. The process can be configured by the +% configuration file \xfile{ltxdoc.cfg}. For instance, put this +% line into this file, if you want to have A4 as paper format: +% \begin{quote} +% \verb|\PassOptionsToClass{a4paper}{article}| +% \end{quote} +% An example follows how to generate the +% documentation with pdf\LaTeX: +% \begin{quote} +%\begin{verbatim} +%pdflatex pdfcolfoot.dtx +%makeindex -s gind.ist pdfcolfoot.idx +%pdflatex pdfcolfoot.dtx +%makeindex -s gind.ist pdfcolfoot.idx +%pdflatex pdfcolfoot.dtx +%\end{verbatim} +% \end{quote} +% +% \begin{History} +% \begin{Version}{2007/01/08 v1.0} +% \item +% First version. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/Master/texmf-dist/source/latex/oberdiek/transparent.dtx b/Master/texmf-dist/source/latex/oberdiek/transparent.dtx new file mode 100644 index 00000000000..a1915695cf8 --- /dev/null +++ b/Master/texmf-dist/source/latex/oberdiek/transparent.dtx @@ -0,0 +1,473 @@ +% \iffalse meta-comment +% +% Copyright (C) 2007 by Heiko Oberdiek +% +% 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 transparent.dtx +% and the derived files +% transparent.sty, transparent.pdf, transparent.ins, transparent.drv, +% transparent-example.tex. +% +% Distribution: +% CTAN:macros/latex/contrib/oberdiek/transparent.dtx +% CTAN:macros/latex/contrib/oberdiek/transparent.pdf +% +% Unpacking: +% (a) If transparent.ins is present: +% tex transparent.ins +% (b) Without transparent.ins: +% tex transparent.dtx +% (c) If you insist on using LaTeX +% latex \let\install=y\input{transparent.dtx} +% (quote the arguments according to the demands of your shell) +% +% Documentation: +% (a) If transparent.drv is present: +% latex transparent.drv +% (b) Without transparent.drv: +% latex transparent.dtx; ... +% The class ltxdoc loads the configuration file ltxdoc.cfg +% if available. Here you can specify further options, e.g. +% use A4 as paper format: +% \PassOptionsToClass{a4paper}{article} +% +% Programm calls to get the documentation (example): +% pdflatex transparent.dtx +% makeindex -s gind.ist transparent.idx +% pdflatex transparent.dtx +% makeindex -s gind.ist transparent.idx +% pdflatex transparent.dtx +% +% Installation: +% TDS:tex/latex/oberdiek/transparent.sty +% TDS:doc/latex/oberdiek/transparent.pdf +% TDS:doc/latex/oberdiek/transparent-example.tex +% TDS:source/latex/oberdiek/transparent.dtx +% +%<*ignore> +\begingroup + \def\x{LaTeX2e} +\expandafter\endgroup +\ifcase 0\ifx\install y1\fi\expandafter + \ifx\csname processbatchFile\endcsname\relax\else1\fi + \ifx\fmtname\x\else 1\fi\relax +\else\csname fi\endcsname +% +%<*install> +\input docstrip.tex +\Msg{************************************************************************} +\Msg{* Installation} +\Msg{* Package: transparent 2007/01/08 v1.0 Using a pdfTeX's color stack for transparency (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\preamble + +This is a generated file. + +Copyright (C) 2007 by Heiko Oberdiek + +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 transparent.dtx +and the derived files + transparent.sty, transparent.pdf, transparent.ins, transparent.drv, + transparent-example.tex. + +\endpreamble + +\generate{% + \file{transparent.ins}{\from{transparent.dtx}{install}}% + \file{transparent.drv}{\from{transparent.dtx}{driver}}% + \usedir{tex/latex/oberdiek}% + \file{transparent.sty}{\from{transparent.dtx}{package}}% + \usedir{doc/latex/oberdiek}% + \file{transparent-example.tex}{\from{transparent.dtx}{example}}% +} + +\obeyspaces +\Msg{************************************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* file into a directory searched by TeX:} +\Msg{*} +\Msg{* transparent.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `transparent.drv'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*} +\Msg{************************************************************************} + +\endbatchfile +% +%<*ignore> +\fi +% +%<*driver> +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{transparent.drv}% + [2007/01/08 v1.0 Using a pdfTeX's color stack for transparency (HO)] +\documentclass{ltxdoc} +\usepackage{holtxdoc} +\begin{document} + \DocInput{transparent.dtx} +\end{document} +% +% \fi +% +% \CheckSum{150} +% +% \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 \~} +% +% \GetFileInfo{transparent.drv} +% +% \title{The \xpackage{transparent} package} +% \date{2007/01/08 v1.0} +% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} +% +% \maketitle +% +% \begin{abstract} +% Since version 1.40 \pdfTeX\ supports several color stacks. This +% package shows, how a separate color stack can be used for transparency, +% a property besides color. +% \end{abstract} +% +% \tableofcontents +% +% \section{User interface} +% +% The package \xpackage{transparent} defines \cs{transparent} and +% \cs{texttransparent}. They are used like \cs{color} and \cs{textcolor}. +% The first argument is the transparency value between 0 and 1. +% +% Because of the poor interface for page resources, there can be problems +% with packages that also use \cs{pdfpageresources}. +% +% Example for usage: +% \begin{macrocode} +%<*example> +\documentclass[12pt]{article} + +\usepackage{color} +\usepackage{transparent} + +\begin{document} +\colorbox{yellow}{% + \bfseries + \color{blue}% + Blue and % + \transparent{0.6}% + transparent blue% +} + +\bigskip +Hello World +\texttransparent{0.5}{Hello\newpage World} +Hello World +\end{document} +% +% \end{macrocode} +% +% \StopEventually{ +% } +% +% \section{Implementation} +% +% \subsection{Identification} +% +% \begin{macrocode} +%<*package> +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{transparent}% + [2007/01/08 v1.0 Using a pdfTeX's color stack for transparency (HO)] +% \end{macrocode} +% +% \subsection{Initial checks} +% +% \subsubsection{Check for \pdfTeX\ in PDF mode} +% \begin{macrocode} +\RequirePackage{ifpdf} +\ifpdf +\else + \PackageWarningNoLine{transparent}{% + Loading aborted, because pdfTeX is not running in PDF mode% + }% + \expandafter\endinput +\fi +% \end{macrocode} +% +% \subsubsection{Check \pdfTeX\ version} +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname pdfcolorstackinit\endcsname\relax + \PackageWarningNoLine{transparent}{% + Your pdfTeX version does not support color stacks% + }% + \expandafter\endinput +\fi +% \end{macrocode} +% +% \subsection{Transparency} +% +% The setting for the different transparency values must +% be added to the page resources. In the first run the values +% are recorded in the \xfile{.aux} file. In the second run +% the values are set and transparency is available. +% \begin{macrocode} +\RequirePackage{auxhook} +\AddLineBeginAux{% + \string\providecommand{\string\transparent@use}[1]{}% +} +\gdef\TRP@list{/TRP1<>} +\def\transparent@use#1{% + \@ifundefined{TRP#1}{% + \g@addto@macro\TRP@list{% + /TRP#1<>% + }% + \expandafter\gdef\csname TRP#1\endcsname{/TRP#1 gs}% + }{% + % #1 is already known, nothing to do + }% +} +\AtBeginDocument{% + \TRP@addresource + \let\transparent@use\@gobble +} +% \end{macrocode} +% Unhappily the interface setting page resources is very +% poor, only a token register \cs{pdfpageresources}. +% Thus this package tries to be cooperative in the way that +% it embeds the previous contents of \cs{pdfpageresources}. +% However it does not solve the problem, if several packages +% want to set |/ExtGState|. +% \begin{macrocode} +\def\TRP@addresource{% + \begingroup + \edef\x{\endgroup + \pdfpageresources{% + \the\pdfpageresources + /ExtGState<<\TRP@list>>% + }% + }% + \x +} +\newif\ifTRP@rerun +\xdef\TRP@colorstack{% + \pdfcolorstackinit page direct{/TRP1 gs}% +} +% \end{macrocode} +% \begin{macro}{\transparent} +% \begin{macrocode} +\newcommand*{\transparent}[1]{% + \begingroup + \dimen@=#1\p@\relax + \ifdim\dimen@>\p@ + \dimen@=\p@ + \fi + \ifdim\dimen@<\z@ + \dimen@=\z@ + \fi + \ifdim\dimen@=\p@ + \def\x{1}% + \else + \ifdim\dimen@=\z@ + \def\x{0}% + \else + \edef\x{\strip@pt\dimen@}% + \edef\x{\expandafter\@gobble\x}% + \fi + \fi + \if@filesw + \immediate\write\@auxout{% + \string\transparent@use{\x}% + }% + \fi + \edef\x{\endgroup + \def\noexpand\transparent@current{\x}% + }% + \x + \transparent@set +} +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\AtEndDocument{% + \ifTRP@rerun + \PackageWarningNoLine{transparent}{% + Rerun to get transparencies right% + }% + \fi +} +\def\transparent@current{/TRP1 gs} +\def\transparent@set{% + \@ifundefined{TRP\transparent@current}{% + \global\TRP@reruntrue + }{% + \pdfcolorstack\TRP@colorstack push{% + \csname TRP\transparent@current\endcsname + }% + \aftergroup\transparent@reset + }% +} +\def\transparent@reset{% + \pdfcolorstack\TRP@colorstack pop\relax +} +% \end{macrocode} +% \begin{macro}{\texttransparent} +% \begin{macrocode} +\newcommand*{\texttransparent}[2]{% + \protect\leavevmode + \begingroup + \transparent{#1}% + #2% + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +% +% \end{macrocode} +% \section{Installation} +% +% \paragraph{CTAN.} This package is available on +% CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/oberdiek/transparent.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/oberdiek/transparent.pdf}] Documentation. +% \end{description} +% +% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting +% \docstrip\ archive. The files are extracted by running the +% \xfile{.dtx} through \plainTeX: +% \begin{quote} +% \verb|tex transparent.dtx| +% \end{quote} +% +% \paragraph{TDS.} Now the different files must be moved into +% the different directories in your installation TDS tree +% (also known as \xfile{texmf} tree): +% \begin{quote} +% \sbox0{^^A +% \begin{tabular}{@{}>{\ttfamily}l@{$\quad\rightarrow\quad$}>{\ttfamily}l@{}} +% transparent.sty & tex/latex/oberdiek/transparent.sty\\ +% transparent.pdf & doc/latex/oberdiek/transparent.pdf\\ +% transparent-example.tex & doc/latex/oberdiek/transparent-example.tex\\ +% transparent.dtx & source/latex/oberdiek/transparent.dtx\\ +% \end{tabular}^^A +% }% +% \ifdim\wd0>\linewidth +% \mbox{}\nobreak\hskip0pt minus\leftmargin +% \usebox0 +% \nobreak\hskip0pt minus\rightmargin +% \else +% \usebox0 +% \fi +% \end{quote} +% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's +% TDS installing feature, then some files can already be in the right +% place, see the documentation of \docstrip. +% +% \paragraph{Refresh file databases.} If your \TeX~distribution +% (\teTeX, \mikTeX, \dots) rely on file databases, you must refresh +% these. For example, \teTeX\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \paragraph{Attached source.} +% +% The PDF documentation on CTAN also includes the +% \xfile{.dtx} source file. It can be extracted by +% AcrobatReader 6 or higher. Another option is \textsf{pdftk}, +% e.g. unpack the file into the current directory: +% \begin{quote} +% \verb|pdftk transparent.pdf unpack_files output .| +% \end{quote} +% +% \paragraph{Unpacking with \LaTeX.} +% The \xfile{.dtx} chooses its action depending on the format: +% \begin{description} +% \item[\plainTeX:] Run \docstrip\ and extract the files. +% \item[\LaTeX:] Generate the documentation. +% \end{description} +% If you insist on using \LaTeX\ for \docstrip\ (really, +% \docstrip\ does not need \LaTeX), then inform the autodetect routine +% about your intension: +% \begin{quote} +% \verb|latex \install=y\input{transparent.dtx}| +% \end{quote} +% Do not forget to quote the argument according to the demands +% of your shell. +% +% \paragraph{Generating the documentation.} +% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate +% the documentation. The process can be configured by the +% configuration file \xfile{ltxdoc.cfg}. For instance, put this +% line into this file, if you want to have A4 as paper format: +% \begin{quote} +% \verb|\PassOptionsToClass{a4paper}{article}| +% \end{quote} +% An example follows how to generate the +% documentation with pdf\LaTeX: +% \begin{quote} +%\begin{verbatim} +%pdflatex transparent.dtx +%makeindex -s gind.ist transparent.idx +%pdflatex transparent.dtx +%makeindex -s gind.ist transparent.idx +%pdflatex transparent.dtx +%\end{verbatim} +% \end{quote} +% +% \begin{History} +% \begin{Version}{2007/01/08 v1.0} +% \item +% First version. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty new file mode 100644 index 00000000000..503fca17db8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty @@ -0,0 +1,188 @@ +%% +%% This is file `pdfcolfoot.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdfcolfoot.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek +%% +%% 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 pdfcolfoot.dtx +%% and the derived files +%% pdfcolfoot.sty, pdfcolfoot.pdf, pdfcolfoot.ins, pdfcolfoot.drv. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{pdfcolfoot}% + [2007/01/08 v1.0 pdfTeX's color stack for footnotes (HO)] +\RequirePackage{ifpdf} +\ifpdf +\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% + }% + \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 +\newcommand*{\pdfcolfoot@switch}{% + \let\@pdfcolorstack\pdfcolfoot@stack +} +\AtBeginDocument{% + \newcommand*{\pdfcolfoot@makefntext}{}% + \let\pdfcolfoot@makefntext\@makefntext + \renewcommand{\@makefntext}[1]{% + \pdfcolfoot@makefntext{% + \if@minipage + \else + \pdfcolfoot@switch + \fi + #1% + }% + }% +} +\newcommand*{\pdfcolfoot@current}{% + \pdfcolorstack\pdfcolfoot@stack current\relax +} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname detokenize\endcsname\relax + \PackageWarningNoLine{pdfcolfoot}{% + Missing e-TeX for patching \string\@makecol + }% + \expandafter\endinput +\fi +\newif\ifPCF@result +\def\pdfcolfoot@patch#1{% + \ifx#1\@undefined + \else + \ifx#1\relax + \else + \begingroup + \toks@{}% + \let\on@line\@empty + \expandafter\PCF@CheckPatched + \detokenize\expandafter{#1pdfcolfoot@current}\@nil + \ifPCF@result + \PackageInfo{pdfcolfoot}{\string#1\space is already patched}% + \else + \expandafter\PCF@CanPatch + \detokenize\expandafter{% + #1\setbox\@outputbox\vbox{\footnoterule}% + }% + \@nil + \ifPCF@result + \PackageInfo{pdfcolfoot}{\string#1 is being patched}% + \expandafter\PCF@PatchA#1\PCF@nil#1% + \else + \PackageInfo{pdfcolfoot}{% + \string#1\space cannot be patched% + }% + \fi + \fi + \expandafter\endgroup + \the\toks@ + \fi + \fi +} +\expandafter\def\expandafter\PCF@CheckPatched + \expandafter#\expandafter1\detokenize{pdfcolfoot@current}#2\@nil{% + \ifx\\#2\\% + \PCF@resultfalse + \else + \PCF@resulttrue + \fi +} +\edef\PCF@BraceLeft{\string{} +\edef\PCF@BraceRight{\string}} +\begingroup + \edef\x{\endgroup + \def\noexpand\PCF@CanPatch + ##1\detokenize{\setbox\@outputbox\vbox}\PCF@BraceLeft + ##2\detokenize{\footnoterule}##3\PCF@BraceRight + }% +\x#4\@nil{% + \ifx\\#2#3#4\\% + \PCF@resultfalse + \else + \PCF@resulttrue + \fi +} +\def\PCF@PatchA#1\setbox\@outputbox\vbox#2#3\PCF@nil#4{% + \PCF@PatchB{#1}#2\PCF@nil{#3}#4% +} +\def\PCF@PatchB#1#2\footnoterule#3\PCF@nil#4#5{% + \toks@{% + \def#5{% + #1% + \setbox\@outputbox\vbox{% + #2% + \footnoterule + \pdfcolfoot@current + #3% + }% + #4% + }% + }% +} +\def\pdfcolfoot@all#1{% + \begingroup + \let\on@line\@empty + \PackageInfo{pdfcolfoot}{% + Patching \string\@makecol\space macros (#1)% + }% + \endgroup + \pdfcolfoot@patch\@makecol + \pdfcolfoot@patch\@makecol@pptt + \pdfcolfoot@patch\mem@makecol + \pdfcolfoot@patch\mem@makecolbf + \pdfcolfoot@patch\@combineinserts + \pdfcolfoot@patch\ltx@makecol + \pdfcolfoot@patch\dfn@latex@makecol + \pdfcolfoot@patch\latex@makecol + \pdfcolfoot@patch\LS@makecol + \pdfcolfoot@patch\@LN@orig@makecol + \pdfcolfoot@patch\org@makecol + \pdfcolfoot@patch\fn@makecol +} +\AtBeginDocument{\pdfcolfoot@all{AtBeginDocument}} +\pdfcolfoot@all{AtEndOfPackage} +\endinput +%% +%% End of file `pdfcolfoot.sty'. diff --git a/Master/texmf-dist/tex/latex/oberdiek/transparent.sty b/Master/texmf-dist/tex/latex/oberdiek/transparent.sty new file mode 100644 index 00000000000..f9e232e18a9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/oberdiek/transparent.sty @@ -0,0 +1,141 @@ +%% +%% This is file `transparent.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% transparent.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek +%% +%% 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 transparent.dtx +%% and the derived files +%% transparent.sty, transparent.pdf, transparent.ins, transparent.drv, +%% transparent-example.tex. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{transparent}% + [2007/01/08 v1.0 Using a pdfTeX's color stack for transparency (HO)] +\RequirePackage{ifpdf} +\ifpdf +\else + \PackageWarningNoLine{transparent}{% + 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{transparent}{% + Your pdfTeX version does not support color stacks% + }% + \expandafter\endinput +\fi +\RequirePackage{auxhook} +\AddLineBeginAux{% + \string\providecommand{\string\transparent@use}[1]{}% +} +\gdef\TRP@list{/TRP1<>} +\def\transparent@use#1{% + \@ifundefined{TRP#1}{% + \g@addto@macro\TRP@list{% + /TRP#1<>% + }% + \expandafter\gdef\csname TRP#1\endcsname{/TRP#1 gs}% + }{% + % #1 is already known, nothing to do + }% +} +\AtBeginDocument{% + \TRP@addresource + \let\transparent@use\@gobble +} +\def\TRP@addresource{% + \begingroup + \edef\x{\endgroup + \pdfpageresources{% + \the\pdfpageresources + /ExtGState<<\TRP@list>>% + }% + }% + \x +} +\newif\ifTRP@rerun +\xdef\TRP@colorstack{% + \pdfcolorstackinit page direct{/TRP1 gs}% +} +\newcommand*{\transparent}[1]{% + \begingroup + \dimen@=#1\p@\relax + \ifdim\dimen@>\p@ + \dimen@=\p@ + \fi + \ifdim\dimen@<\z@ + \dimen@=\z@ + \fi + \ifdim\dimen@=\p@ + \def\x{1}% + \else + \ifdim\dimen@=\z@ + \def\x{0}% + \else + \edef\x{\strip@pt\dimen@}% + \edef\x{\expandafter\@gobble\x}% + \fi + \fi + \if@filesw + \immediate\write\@auxout{% + \string\transparent@use{\x}% + }% + \fi + \edef\x{\endgroup + \def\noexpand\transparent@current{\x}% + }% + \x + \transparent@set +} +\AtEndDocument{% + \ifTRP@rerun + \PackageWarningNoLine{transparent}{% + Rerun to get transparencies right% + }% + \fi +} +\def\transparent@current{/TRP1 gs} +\def\transparent@set{% + \@ifundefined{TRP\transparent@current}{% + \global\TRP@reruntrue + }{% + \pdfcolorstack\TRP@colorstack push{% + \csname TRP\transparent@current\endcsname + }% + \aftergroup\transparent@reset + }% +} +\def\transparent@reset{% + \pdfcolorstack\TRP@colorstack pop\relax +} +\newcommand*{\texttransparent}[2]{% + \protect\leavevmode + \begingroup + \transparent{#1}% + #2% + \endgroup +} +\endinput +%% +%% End of file `transparent.sty'. diff --git a/Master/texmf-dist/tpm/oberdiek.tpm b/Master/texmf-dist/tpm/oberdiek.tpm index 045d3970bb4..33e96ea3a6a 100644 --- a/Master/texmf-dist/tpm/oberdiek.tpm +++ b/Master/texmf-dist/tpm/oberdiek.tpm @@ -3,7 +3,7 @@ oberdiek Package - 2006/12/31 00:38:17 + 2007/01/08 13:40:36 rahtz Packages written by Heiko Oberdiek @@ -12,7 +12,7 @@ 8859763 - + texmf-dist/scripts/oberdiek/pdfatfi.pl texmf-dist/tex/generic/oberdiek/alphalph.sty texmf-dist/tex/generic/oberdiek/engord.sty @@ -58,6 +58,7 @@ texmf-dist/tex/latex/oberdiek/ix-utf8enc.dfu texmf-dist/tex/latex/oberdiek/kvoptions.sty texmf-dist/tex/latex/oberdiek/makerobust.sty texmf-dist/tex/latex/oberdiek/pagesel.sty +texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty texmf-dist/tex/latex/oberdiek/pdfcolmk.sty texmf-dist/tex/latex/oberdiek/pdflscape.sty texmf-dist/tex/latex/oberdiek/picture.sty @@ -68,6 +69,7 @@ texmf-dist/tex/latex/oberdiek/settobox.sty texmf-dist/tex/latex/oberdiek/stackrel.sty texmf-dist/tex/latex/oberdiek/tabularht.sty texmf-dist/tex/latex/oberdiek/tabularkv.sty +texmf-dist/tex/latex/oberdiek/transparent.sty texmf-dist/tex/latex/oberdiek/twoopt.sty texmf-dist/tex/latex/oberdiek/x-ascii.def texmf-dist/tex/latex/oberdiek/x-cp1250.def @@ -107,7 +109,7 @@ texmf-dist/tex/latex/oberdiek/zref-xr.sty texmf-dist/tex/latex/oberdiek/zref.sty texmf-dist/tpm/oberdiek.tpm - + texmf-dist/doc/latex/oberdiek/aliascnt.pdf texmf-dist/doc/latex/oberdiek/alphalph.pdf texmf-dist/doc/latex/oberdiek/attachfile2.pdf @@ -143,6 +145,7 @@ texmf-dist/doc/latex/oberdiek/makerobust-example.tex texmf-dist/doc/latex/oberdiek/makerobust.pdf texmf-dist/doc/latex/oberdiek/oberdiek.pdf texmf-dist/doc/latex/oberdiek/pagesel.pdf +texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf texmf-dist/doc/latex/oberdiek/pdflscape.pdf @@ -161,11 +164,13 @@ texmf-dist/doc/latex/oberdiek/tabularht.pdf texmf-dist/doc/latex/oberdiek/tabularkv-example.tex texmf-dist/doc/latex/oberdiek/tabularkv.pdf texmf-dist/doc/latex/oberdiek/telprint.pdf +texmf-dist/doc/latex/oberdiek/transparent-example.tex +texmf-dist/doc/latex/oberdiek/transparent.pdf texmf-dist/doc/latex/oberdiek/twoopt.pdf texmf-dist/doc/latex/oberdiek/zref-example.tex texmf-dist/doc/latex/oberdiek/zref.pdf - + texmf-dist/source/latex/oberdiek/aliascnt.dtx texmf-dist/source/latex/oberdiek/alphalph.dtx texmf-dist/source/latex/oberdiek/attachfile2.dtx @@ -195,6 +200,7 @@ texmf-dist/source/latex/oberdiek/makerobust.dtx texmf-dist/source/latex/oberdiek/oberdiek.ins texmf-dist/source/latex/oberdiek/oberdiek.tex texmf-dist/source/latex/oberdiek/pagesel.dtx +texmf-dist/source/latex/oberdiek/pdfcolfoot.dtx texmf-dist/source/latex/oberdiek/pdfcolmk.dtx texmf-dist/source/latex/oberdiek/pdfcrypt.dtx texmf-dist/source/latex/oberdiek/pdflscape.dtx @@ -208,6 +214,7 @@ texmf-dist/source/latex/oberdiek/stackrel.dtx texmf-dist/source/latex/oberdiek/tabularht.dtx texmf-dist/source/latex/oberdiek/tabularkv.dtx texmf-dist/source/latex/oberdiek/telprint.dtx +texmf-dist/source/latex/oberdiek/transparent.dtx texmf-dist/source/latex/oberdiek/twoopt.dtx texmf-dist/source/latex/oberdiek/zref.dtx diff --git a/Master/texmf/lists/oberdiek b/Master/texmf/lists/oberdiek index 11764299e5a..24b8f89491e 100644 --- a/Master/texmf/lists/oberdiek +++ b/Master/texmf/lists/oberdiek @@ -33,6 +33,7 @@ texmf-dist/doc/latex/oberdiek/makerobust-example.tex texmf-dist/doc/latex/oberdiek/makerobust.pdf texmf-dist/doc/latex/oberdiek/oberdiek.pdf texmf-dist/doc/latex/oberdiek/pagesel.pdf +texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf texmf-dist/doc/latex/oberdiek/pdflscape.pdf @@ -51,6 +52,8 @@ texmf-dist/doc/latex/oberdiek/tabularht.pdf texmf-dist/doc/latex/oberdiek/tabularkv-example.tex texmf-dist/doc/latex/oberdiek/tabularkv.pdf texmf-dist/doc/latex/oberdiek/telprint.pdf +texmf-dist/doc/latex/oberdiek/transparent-example.tex +texmf-dist/doc/latex/oberdiek/transparent.pdf texmf-dist/doc/latex/oberdiek/twoopt.pdf texmf-dist/doc/latex/oberdiek/zref-example.tex texmf-dist/doc/latex/oberdiek/zref.pdf @@ -83,6 +86,7 @@ texmf-dist/source/latex/oberdiek/makerobust.dtx texmf-dist/source/latex/oberdiek/oberdiek.ins texmf-dist/source/latex/oberdiek/oberdiek.tex texmf-dist/source/latex/oberdiek/pagesel.dtx +texmf-dist/source/latex/oberdiek/pdfcolfoot.dtx texmf-dist/source/latex/oberdiek/pdfcolmk.dtx texmf-dist/source/latex/oberdiek/pdfcrypt.dtx texmf-dist/source/latex/oberdiek/pdflscape.dtx @@ -96,6 +100,7 @@ texmf-dist/source/latex/oberdiek/stackrel.dtx texmf-dist/source/latex/oberdiek/tabularht.dtx texmf-dist/source/latex/oberdiek/tabularkv.dtx texmf-dist/source/latex/oberdiek/telprint.dtx +texmf-dist/source/latex/oberdiek/transparent.dtx texmf-dist/source/latex/oberdiek/twoopt.dtx texmf-dist/source/latex/oberdiek/zref.dtx texmf-dist/scripts/oberdiek/pdfatfi.pl @@ -143,6 +148,7 @@ texmf-dist/tex/latex/oberdiek/ix-utf8enc.dfu texmf-dist/tex/latex/oberdiek/kvoptions.sty texmf-dist/tex/latex/oberdiek/makerobust.sty texmf-dist/tex/latex/oberdiek/pagesel.sty +texmf-dist/tex/latex/oberdiek/pdfcolfoot.sty texmf-dist/tex/latex/oberdiek/pdfcolmk.sty texmf-dist/tex/latex/oberdiek/pdflscape.sty texmf-dist/tex/latex/oberdiek/picture.sty @@ -153,6 +159,7 @@ texmf-dist/tex/latex/oberdiek/settobox.sty texmf-dist/tex/latex/oberdiek/stackrel.sty texmf-dist/tex/latex/oberdiek/tabularht.sty texmf-dist/tex/latex/oberdiek/tabularkv.sty +texmf-dist/tex/latex/oberdiek/transparent.sty texmf-dist/tex/latex/oberdiek/twoopt.sty texmf-dist/tex/latex/oberdiek/x-ascii.def texmf-dist/tex/latex/oberdiek/x-cp1250.def -- cgit v1.2.3