summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-28 23:02:21 +0000
committerKarl Berry <karl@freefriends.org>2010-01-28 23:02:21 +0000
commit35aaa338a3a95a725bc3961cc689b9262164c6a1 (patch)
tree743f8583aa149845bbbb4e597230c1f33d5fdb2c
parenta30dc652eb93949bfefbdb8f7a536f185cd10377 (diff)
oberdiek update (28jan10)
git-svn-id: svn://tug.org/texlive/trunk@16857 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/accsupp.pdfbin426487 -> 426487 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdfbin325958 -> 325958 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/alphalph.pdfbin587774 -> 587774 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/askinclude.pdfbin1059495 -> 1059495 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdfbin616580 -> 616580 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdfbin303943 -> 303943 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdfbin638491 -> 638491 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/atveryend.pdfbin512641 -> 512641 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/auxhook.pdfbin327191 -> 327191 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdfbin1042757 -> 1042757 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bitset.pdfbin1261532 -> 1261532 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdfbin1012112 -> 1012112 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bookmark.pdfbin722303 -> 722303 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/catchfile.pdfbin412366 -> 412366 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/centernot.pdfbin294909 -> 294909 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/chemarr.pdfbin320224 -> 320224 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/classlist.pdfbin319217 -> 319217 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/colonequals.pdfbin321399 -> 321399 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdfbin297155 -> 297155 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/embedfile.pdfbin645166 -> 645166 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/engord.pdfbin415586 -> 415586 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdfbin511973 -> 511973 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdfbin396988 -> 402204 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/flags.pdfbin327974 -> 327974 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/gettitlestring.pdfbin444242 -> 444242 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/grfext.pdfbin435209 -> 435209 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/grffile.pdfbin432652 -> 437427 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hycolor.pdfbin683008 -> 683008 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdfbin346197 -> 346197 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypcap.pdfbin339693 -> 339693 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdfbin395303 -> 395303 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdfbin431596 -> 431596 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdfbin334637 -> 334637 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdfbin392997 -> 392997 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdfbin299685 -> 299685 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/iflang.pdfbin488702 -> 488702 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifluatex.pdfbin382333 -> 382333 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdfbin399542 -> 403359 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdfbin374199 -> 374199 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdfbin444640 -> 444640 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/inputenx.pdfbin2762994 -> 2762994 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/intcalc.pdfbin954355 -> 954355 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdfbin836989 -> 836989 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-example.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdfbin571292 -> 573485 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/letltxmacro.pdfbin443582 -> 443582 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdfbin374438 -> 374438 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ltxcmds.pdfbin369163 -> 415298 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/luacolor.pdfbin387612 -> 387612 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/luatex.pdfbin595469 -> 595469 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/magicnum.pdfbin432874 -> 432874 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/makerobust.pdfbin290146 -> 290146 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdfbin1004149 -> 1009992 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdfbin430782 -> 430782 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pagesel.pdfbin396502 -> 396502 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdfbin430832 -> 430832 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdfbin347620 -> 347620 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdfbin465805 -> 465805 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdfbin479965 -> 479965 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdfbin403797 -> 403797 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdfbin429668 -> 429668 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdfbin655112 -> 655112 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdfbin415567 -> 415567 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdfbin506814 -> 599496 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdftexcmds.pdfbin502459 -> 502459 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/picture.pdfbin363748 -> 363748 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdfbin515272 -> 515272 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/refcount.pdfbin334769 -> 334769 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/rerunfilecheck.pdfbin433420 -> 433420 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/resizegather.pdfbin619937 -> 619937 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/scrindex.pdfbin352675 -> 352675 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/selinput.pdfbin672035 -> 672035 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdfbin456040 -> 456040 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/settobox.pdfbin363136 -> 363136 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdfbin689519 -> 689519 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/stackrel.pdfbin318334 -> 318334 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdfbin315685 -> 315685 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/stringenc.pdfbin1839048 -> 1839048 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/tabularht.pdfbin455110 -> 455110 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdfbin281159 -> 281159 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/telprint.pdfbin414316 -> 414316 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex4
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex4
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/grffile-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex4
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex4
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/ltxcmds-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test1.tex7
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test2.tex12
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test3.tex58
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test4.tex101
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test5.tex64
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/transparent.pdfbin303774 -> 303774 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/twoopt.pdfbin318230 -> 318230 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/uniquecounter.pdfbin424558 -> 424558 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/zref.pdfbin837928 -> 837928 bytes
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/etexcmds.dtx46
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/grffile.dtx83
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx38
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx28
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx325
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/oberdiek.ins2
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/oberdiek.tex14
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/pdfrender.dtx712
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/etexcmds.sty21
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/ifpdf.sty21
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty9
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/ltxcmds.sty131
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/pdfrender.sty (renamed from Master/texmf-dist/tex/latex/oberdiek/pdfrender.sty)405
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/grffile.sty69
114 files changed, 1839 insertions, 337 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf
index eeb698229ef..6e4fc019fe6 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf
index ca49d10e9c6..fe7388e18ca 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf
index 814928c5036..3ffb6f2411b 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf b/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf
index dde1e2b4627..08f4fa520cf 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf b/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf
index acfa1fec2c4..d759ab620aa 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf b/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf
index 3a681929b19..5bb727d5e35 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf
index a64c9bf06f6..5ef3e2a264c 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/atveryend.pdf b/Master/texmf-dist/doc/latex/oberdiek/atveryend.pdf
index 308faa76649..c0ccef0f0b5 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/atveryend.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/atveryend.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf
index e56cf4fa13c..132ab9bd249 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf b/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf
index fe88c16850b..81045913679 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf b/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf
index 9da73a144de..9ed209a22ed 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf
index b670ee47d92..2ae2604dbaf 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf b/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf
index 96a0f01ce2a..a2cff7d6241 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf
index d6c39f20adb..d8859b3ee45 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf
index f49d546234a..c88d27e3bd0 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf
index 35bfe3d165c..313df40488d 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf
index 0da9d0aca4d..db9e745275e 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf
index 69f7948d233..8fd4dc544b9 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf
index 9f9dfdd7e12..fa92541ad16 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf
index a455a81069f..3422d3b436f 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf
index da6d2156b44..8ae6bdb8e5e 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf
index cb381564791..6e58114a221 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf b/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf
index 5b8047d98e4..1e2b04b822c 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf
index cb2c6901ab0..773fea5ebbb 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/gettitlestring.pdf b/Master/texmf-dist/doc/latex/oberdiek/gettitlestring.pdf
index aa03f20686d..fae107c5ce9 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/gettitlestring.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/gettitlestring.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf b/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf
index c135db042ec..20863fe604b 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf
index fe0620cb85b..b14eb7b0694 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf b/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf
index 48399a96701..aeafc16e35e 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf
index ea3ab973e87..85f1a6cce20 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf
index cd0b61f363a..90dcfaaf443 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf
index 9ed62ad633e..0d6c15cf245 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf
index 7b7d968c500..f2604631ce1 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf
index 49ae55a7ae8..f5dfed7f359 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf b/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf
index 131b8cee595..7fb3e887c87 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/hyphsubst.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf
index bc1a848edeb..229f6f0b51c 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf
index 77e97d3365f..f91f33f2c86 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifluatex.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifluatex.pdf
index 7ee11761acb..8804f70071f 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/ifluatex.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/ifluatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf
index 2617341ab74..ed11e20b2fe 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf
index 1e17eec6657..bd0434b759f 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf b/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf
index cddc713d749..ede0751d256 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf
index 9cec22de2f9..4992cdf4a13 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf b/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf
index adf4e695d6d..a131a8e92cc 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf
index eb350f5c532..64640806cab 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-example.tex b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-example.tex
index cddbdb2b93f..296eabbe986 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-example.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-example.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006, 2007, 2009 by
+%% Copyright (C) 2006, 2007, 2009, 2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf
index f3f4f18ac23..899f82e717a 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/letltxmacro.pdf b/Master/texmf-dist/doc/latex/oberdiek/letltxmacro.pdf
index 8e986de1d50..5d8619c5751 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/letltxmacro.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/letltxmacro.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf b/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf
index 3a1e0682e79..ba8c17b673c 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/ltxcmds.pdf b/Master/texmf-dist/doc/latex/oberdiek/ltxcmds.pdf
index 32c400ed5ec..dae62325a45 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/ltxcmds.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/ltxcmds.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/luacolor.pdf b/Master/texmf-dist/doc/latex/oberdiek/luacolor.pdf
index 1e9f98a1b72..e4f78bb599e 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/luacolor.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/luacolor.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/luatex.pdf b/Master/texmf-dist/doc/latex/oberdiek/luatex.pdf
index 82db770cea7..a639f107a03 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/luatex.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/luatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/magicnum.pdf b/Master/texmf-dist/doc/latex/oberdiek/magicnum.pdf
index 4088fbce03e..db059aa6158 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/magicnum.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/magicnum.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf
index a1ac3216429..b84cf9be457 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf
index d63daaef929..3337ada1710 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf
index fa67297b9ac..f5174644e69 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pagegrid.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf
index ff4b488c418..ccd9df14b58 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf
index 6258e6be9f0..91bbd232e8a 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf
index 6a1f574bac6..092102a5fc4 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf
index 65abfcd4d8d..c5d4dd4f005 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf
index 507a4067764..189b9661afb 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf
index 51f461b6123..ff869400d27 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf
index 3579b38f733..a377b12884e 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf
index eb128d76269..933074494da 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf
index a055d534bd7..13e3900ad5f 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf
index 085295d7df2..0ba03882646 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdfrender.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdftexcmds.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdftexcmds.pdf
index 142b59ae183..278c1f47693 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pdftexcmds.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pdftexcmds.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf
index 6f9d9d57d38..daacfa82fcc 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf
index 280627987a6..344c3bd53dc 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf
index 022a595c0e9..27239e676c5 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/rerunfilecheck.pdf b/Master/texmf-dist/doc/latex/oberdiek/rerunfilecheck.pdf
index 57f7d111037..b19c5027b02 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/rerunfilecheck.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/rerunfilecheck.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf b/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf
index 0714589895e..529fd817c92 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/resizegather.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf b/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf
index c8bd271337f..21c040c7b91 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/scrindex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf b/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf
index bab7b8da672..06ca5563a49 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf
index 39153385838..15bd237d044 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf
index 5a347c9548c..93df7608d5d 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf b/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf
index 13b4049d98e..d89ba1ab7ea 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf
index 839b8c9dfad..cd148a5f00b 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf b/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf
index 492001b7486..91480dee49a 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/stampinclude.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf b/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf
index bcef8b6fc30..f8b5c9e1efb 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf
index 788835f8067..e1ffe0b13c7 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf
index 6857620bfcd..aaae3237373 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf
index 7392c13c1a9..01ee0fb95fd 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex
index fc64e69df30..cf0d7548606 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2007, 2010 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
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex
index 59dd074aad7..cdca8504ac6 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2007, 2010 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
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex
index d35fecd0f43..0e935e8a440 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2007, 2010 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
@@ -34,7 +34,7 @@
%% etexcmds-test4.tex.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{etexcmds-test3.tex}[2007/12/12 v1.2 Test file for LaTeX]
+\ProvidesFile{etexcmds-test3.tex}[2010/01/28 v1.3 Test file for LaTeX]
\RequirePackage{etexcmds}
\makeatletter
\edef\x{\string\unexpanded}
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex
index 77688b0a99f..a1f4a0bea29 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2007, 2010 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
@@ -34,7 +34,7 @@
%% etexcmds-test4.tex.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{etexcmds-test4.tex}[2007/12/12 v1.2 Test file for LaTeX]
+\ProvidesFile{etexcmds-test4.tex}[2010/01/28 v1.3 Test file for LaTeX]
\documentclass{article}
\usepackage{m-pictex}
\def\normalwritestatus#1#2{%
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/grffile-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/grffile-test1.tex
index d304031dd0e..1bcdf452930 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/grffile-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/grffile-test1.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006-2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2006-2010 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
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex
index 7c0275628ba..5592df1af6a 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2001, 2005-2009 by
+%% Copyright (C) 2001, 2005-2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex
index 84ce0c054ca..aa53460905d 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006, 2007, 2009 by
+%% Copyright (C) 2006, 2007, 2009, 2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex
index ae4b62a4f9c..735637ec898 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006, 2007, 2009 by
+%% Copyright (C) 2006, 2007, 2009, 2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
@@ -40,7 +40,7 @@
\makeatletter
\chardef\KVS@TestMode=1 %
\makeatother
-\usepackage{kvsetkeys}[2009/12/22]
+\usepackage{kvsetkeys}[2010/01/28]
\usepackage{qstest}
\IncludeTests{*}
\LogTests{log}{*}{*}
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex
index ad32b514725..f646fb2ce76 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006, 2007, 2009 by
+%% Copyright (C) 2006, 2007, 2009, 2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
@@ -42,7 +42,7 @@
\makeatletter
\chardef\KVS@TestMode=1 %
\makeatother
-\usepackage{kvsetkeys}[2009/12/22]
+\usepackage{kvsetkeys}[2010/01/28]
\let\unexpanded\SavedUnexpanded
\usepackage{qstest}
\IncludeTests{*}
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/ltxcmds-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/ltxcmds-test1.tex
index 9723478e8be..4df1e71cbc5 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/ltxcmds-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/ltxcmds-test1.tex
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2009, 2010 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
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test1.tex
index 618b862906e..6defb1f261b 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test1.tex
@@ -24,10 +24,15 @@
%%
%% This Current Maintainer of this work is Heiko Oberdiek.
%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
%% This work consists of the main source file pdfrender.dtx
%% and the derived files
%% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
-%% pdfrender-test1.tex, pdfrender-test2.tex.
+%% pdfrender-test1.tex, pdfrender-test2.tex,
+%% pdfrender-test3.tex, pdfrender-test4.tex,
+%% pdfrender-test5.tex.
%%
\catcode`\{=1 %
\catcode`\}=2 %
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test2.tex
index 9cf5d82c4ec..57119e56fad 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test2.tex
@@ -24,15 +24,21 @@
%%
%% This Current Maintainer of this work is Heiko Oberdiek.
%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
%% This work consists of the main source file pdfrender.dtx
%% and the derived files
%% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
-%% pdfrender-test1.tex, pdfrender-test2.tex.
+%% pdfrender-test1.tex, pdfrender-test2.tex,
+%% pdfrender-test3.tex, pdfrender-test4.tex,
+%% pdfrender-test5.tex.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{pdfrender-test2.tex}[2010/01/26]
+\ProvidesFile{pdfrender-test2.tex}[2010/01/28]
\documentclass{article}
-\usepackage{pdfrender}[2010/01/26]
+\usepackage{color}
+\usepackage{pdfrender}[2010/01/28]
\begin{document}
Hello World
\newpage
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test3.tex
new file mode 100644
index 00000000000..addd2b2ae98
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test3.tex
@@ -0,0 +1,58 @@
+%%
+%% This is file `pdfrender-test3.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfrender.dtx (with options: `test3')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2010 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.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and 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.
+%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
+%% This work consists of the main source file pdfrender.dtx
+%% and the derived files
+%% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
+%% pdfrender-test1.tex, pdfrender-test2.tex,
+%% pdfrender-test3.tex, pdfrender-test4.tex,
+%% pdfrender-test5.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{pdfrender-test3.tex}[2010/01/28]
+\documentclass{article}
+\usepackage{pdfrender}[2010/01/28]
+\usepackage{hyperref}
+\usepackage{bookmark}
+\begin{document}
+\tableofcontents
+\section{%
+ \textpdfrender{%
+ TextRenderingMode=1,%
+ LineCapStyle=2,%
+ LineJoinStyle=1,%
+ MiterLimit=1.2,%
+ LineDashPattern=[2 2]0,%
+ RenderingIntent=Saturation,%
+ }{Hello World}%
+}
+\end{document}
+\endinput
+%%
+%% End of file `pdfrender-test3.tex'.
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test4.tex
new file mode 100644
index 00000000000..38d6785b145
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test4.tex
@@ -0,0 +1,101 @@
+%%
+%% This is file `pdfrender-test4.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfrender.dtx (with options: `test4')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2010 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.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and 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.
+%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
+%% This work consists of the main source file pdfrender.dtx
+%% and the derived files
+%% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
+%% pdfrender-test1.tex, pdfrender-test2.tex,
+%% pdfrender-test3.tex, pdfrender-test4.tex,
+%% pdfrender-test5.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{pdfrender-test4.tex}[2010/01/28]
+\documentclass[12pt]{article}
+\usepackage{pdfrender}[2010/01/28]
+\usepackage{color}
+\usepackage{qstest}
+\IncludeTests{*}
+\LogTests{log}{*}{*}
+\makeatletter
+\newcommand*{\CheckColor}[1]{%
+ \Expect{#1}*{\current@color}%
+}
+\makeatother
+\begin{document}
+ \begin{qstest}{color}{color}%
+ \CheckColor{0 g 0 G}%
+ \Huge\bfseries
+ \noindent
+ \textpdfrender{%
+ TextRenderingMode=2,%
+ LineWidth=.5,%
+ FillColor=yellow,%
+ StrokeColor=blue,%
+ }{%
+ \CheckColor{0 0 1 0 k 0 0 1 RG}%
+ Blue(Yellow)\\%
+ \textpdfrender{%
+ FillColor=green,%
+ }{%
+ \CheckColor{0 1 0 rg 0 0 1 RG}%
+ Blue(Green)%
+ }\\%
+ \CheckColor{0 0 1 0 k 0 0 1 RG}%
+ Blue(Yellow)\\%
+ \textpdfrender{%
+ StrokeColor=red,%
+ }{%
+ \CheckColor{0 0 1 0 k 1 0 0 RG}%
+ Red(Yellow)%
+ }\\%
+ \CheckColor{0 0 1 0 k 0 0 1 RG}%
+ Blue(Yellow) %
+ }%
+ \end{qstest}%
+ \begin{qstest}{colorlast}{colorlast}%
+ \makeatletter
+ \def\Test#1#2#3{%
+ \begingroup
+ \def\current@color{#1}%
+ \textpdfrender{#2}{%
+ \CheckColor{#3}%
+ }%
+ \endgroup
+ }%
+ \Test{1 g 0 0 1 RG 0 0 1 0 k 0.5 G}%
+ {StrokeColor=green}%
+ {0 0 1 0 k 0 1 0 RG}%
+ \Test{1 g 0 0 1 RG 0 0 1 0 k 0.5 G}%
+ {FillColor=red}%
+ {1 0 0 rg 0.5 G}%
+ \end{qstest}%
+\end{document}
+\endinput
+%%
+%% End of file `pdfrender-test4.tex'.
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test5.tex
new file mode 100644
index 00000000000..672eef6244e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfrender-test5.tex
@@ -0,0 +1,64 @@
+%%
+%% This is file `pdfrender-test5.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pdfrender.dtx (with options: `test5')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2010 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.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% http://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and 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.
+%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
+%% This work consists of the main source file pdfrender.dtx
+%% and the derived files
+%% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
+%% pdfrender-test1.tex, pdfrender-test2.tex,
+%% pdfrender-test3.tex, pdfrender-test4.tex,
+%% pdfrender-test5.tex.
+%%
+\pdfoutput=1 %
+\hsize=6.5in
+\vsize=8.9in
+\pdfpagewidth=\hsize
+\pdfpageheight=\vsize
+\parfillskip=0pt plus 1fil\relax
+\input pdfrender.sty\relax
+\catcode`\{=1 %
+\catcode`\}=2 %
+\let\OrgMakeFootLine\makefootline
+\def\makefootline{%
+ \begingroup\normalcolor\OrgMakeFootLine\endgroup
+}
+\font\f=ec-lmr10 scaled 3000\relax
+\f
+Before %
+\textpdfrender{%
+ TextRenderingMode=1,%
+ LineWidth=.1,%
+}{Hello\par\vfill\penalty-10000 World} %
+After %
+\par
+\vfill
+\penalty-10000 %
+\csname @@end\endcsname\end
+\endinput
+%%
+%% End of file `pdfrender-test5.tex'.
diff --git a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf
index d4922b7ab21..7214868a5da 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf
index 059e9b3eaea..3eaac686da9 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/uniquecounter.pdf b/Master/texmf-dist/doc/latex/oberdiek/uniquecounter.pdf
index e55de5ba95c..faa59207a87 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/uniquecounter.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/uniquecounter.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf
index 3a45a3542d9..8dd5b422fdd 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/oberdiek/etexcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/etexcmds.dtx
index 9d7f48115da..ea7e6b55713 100644
--- a/Master/texmf-dist/source/latex/oberdiek/etexcmds.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/etexcmds.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Copyright (C) 2007, 2010 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
@@ -77,7 +77,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)}
+\Msg{* Package: etexcmds 2010/01/28 v1.3 Prefix for e-TeX command names (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -88,7 +88,7 @@
This is a generated file.
-Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+Copyright (C) 2007, 2010 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
@@ -155,7 +155,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{etexcmds.drv}%
- [2007/12/12 v1.2 Prefix for e-TeX command names (HO)]%
+ [2010/01/28 v1.3 Prefix for e-TeX command names (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -164,7 +164,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{490}
+% \CheckSum{514}
%
% \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
@@ -185,7 +185,7 @@ and the derived files
% \GetFileInfo{etexcmds.drv}
%
% \title{The \xpackage{etexcmds} package}
-% \date{2007/12/12 v1.2}
+% \date{2010/01/28 v1.3}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -304,7 +304,7 @@ and the derived files
\fi
\expandafter\x\csname ver@etexcmds.sty\endcsname
\ProvidesPackage{etexcmds}%
- [2007/12/12 v1.2 Prefix for e-TeX command names (HO)]
+ [2010/01/28 v1.3 Prefix for e-TeX command names (HO)]
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -345,6 +345,26 @@ and the derived files
\escapechar=92 % backslash
% \end{macrocode}
%
+% \subsection{Provide \cs{newif}}
+%
+% \begin{macro}{\etexcmds@newif}
+% \begin{macrocode}
+\def\etexcmds@newif#1{%
+ \expandafter\edef\csname etex@#1false\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifetex@#1\endcsname
+ \noexpand\iffalse
+ }%
+ \expandafter\edef\csname etex@#1true\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifetex@#1\endcsname
+ \noexpand\iftrue
+ }%
+ \csname etex@#1false\endcsname
+}
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{Load package \xpackage{infwarerr}}
%
% \begin{macrocode}
@@ -360,7 +380,7 @@ and the derived files
%
% \begin{macro}{\ifetex@unexpanded}
% \begin{macrocode}
-\newif\ifetex@unexpanded
+\etexcmds@newif{unexpanded}
% \end{macrocode}
% \end{macro}
%
@@ -404,7 +424,7 @@ and the derived files
%
% \begin{macro}{\ifetex@expanded}
% \begin{macrocode}
-\newif\ifetex@expanded
+\etexcmds@newif{expanded}
% \end{macrocode}
% \end{macro}
%
@@ -558,7 +578,7 @@ and the derived files
% \begin{macrocode}
%<*test3>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{etexcmds-test3.tex}[2007/12/12 v1.2 Test file for LaTeX]
+\ProvidesFile{etexcmds-test3.tex}[2010/01/28 v1.3 Test file for LaTeX]
\RequirePackage{etexcmds}
\makeatletter
\edef\x{\string\unexpanded}
@@ -574,7 +594,7 @@ and the derived files
% \begin{macrocode}
%<*test4>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{etexcmds-test4.tex}[2007/12/12 v1.2 Test file for LaTeX]
+\ProvidesFile{etexcmds-test4.tex}[2010/01/28 v1.3 Test file for LaTeX]
\documentclass{article}
\usepackage{m-pictex}
\def\normalwritestatus#1#2{%
@@ -800,6 +820,10 @@ and the derived files
% \item
% \cs{etex@expanded} added.
% \end{Version}
+% \begin{Version}{2010/01/28 v1.3}
+% \item
+% Compatibility to iniTeX\ added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/grffile.dtx b/Master/texmf-dist/source/latex/oberdiek/grffile.dtx
index abe16548837..b7a20b32b74 100644
--- a/Master/texmf-dist/source/latex/oberdiek/grffile.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/grffile.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2006-2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Copyright (C) 2006-2010 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
@@ -70,7 +70,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: grffile 2009/09/25 v1.10 Extended file name support for graphics (HO)}
+\Msg{* Package: grffile 2010/01/28 v1.11 Extended file name support for graphics (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -81,7 +81,7 @@
This is a generated file.
-Copyright (C) 2006-2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+Copyright (C) 2006-2010 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
@@ -141,7 +141,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{grffile.drv}%
- [2009/09/25 v1.10 Extended file name support for graphics (HO)]%
+ [2010/01/28 v1.11 Extended file name support for graphics (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -150,7 +150,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{561}
+% \CheckSum{596}
%
% \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
@@ -171,7 +171,7 @@ and the derived files
% \GetFileInfo{grffile.drv}
%
% \title{The \xpackage{grffile} package}
-% \date{2009/09/25 v1.10}
+% \date{2010/01/28 v1.11}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -379,7 +379,7 @@ and the derived files
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{grffile}%
- [2009/09/25 v1.10 Extended file name support for graphics (HO)]%
+ [2010/01/28 v1.11 Extended file name support for graphics (HO)]%
% \end{macrocode}
%
% \subsection{Catcode stuff}
@@ -576,31 +576,50 @@ and the derived files
}{%
}%
}
-\def\grffile@IfFileExists#1{%
- \expandafter\expandafter\expandafter
- \ifx\expandafter\expandafter\expandafter\\\pdf@filesize{#1}\\%
- \let\reserved@a\@secondoftwo
- \ifx\input@path\@undefined
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname pdf@filesize\endcsname\relax
+ \begingroup
+ \let\on@line\@empty
+ \PackageInfo{grffile}{%
+ \string\grffile@IfFileExists\space without space support,%
+ \MessageBreak
+ because pdfTeX's \string\pdffilesize\space is not available%
+ }%
+ \endgroup
+ \def\grffile@IfFileExists#1{%
+ \IfFileExists{#1}{%
+ \let\grffile@IFE@next\@firstoftwo
+ }{%
+ \let\grffile@IFE@next\@secondoftwo
+ }%
+ \grffile@IFE@next
+ }%
+\else
+ \def\grffile@IfFileExists#1{%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\expandafter\\\pdf@filesize{#1}\\%
+ \let\reserved@a\@secondoftwo
+ \ifx\input@path\@undefined
+ \else
+ \expandafter\@tfor\expandafter\reserved@b\expandafter
+ :\expandafter=\input@path\do{%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\expandafter
+ \\\pdf@filesize{\reserved@b#1}\\%
+ \else
+ \edef\grffile@file@found{\reserved@b#1}%
+ \let\reserved@a\@firstoftwo
+ \@break@tfor
+ \fi
+ }%
+ \fi
+ \expandafter\reserved@a
\else
- \expandafter\@tfor\expandafter\reserved@b\expandafter
- :\expandafter=\input@path\do{%
- \expandafter\expandafter\expandafter
- \ifx\expandafter\expandafter\expandafter
- \\\pdf@filesize{\reserved@b#1}\\%
- \else
- \edef\grffile@file@found{\reserved@b#1}%
- \let\reserved@a\@firstoftwo
- \@break@tfor
- \fi
- }%
+ \edef\grffile@file@found{#1}%
+ \expandafter\@firstoftwo
\fi
- \expandafter\reserved@a
- \else
- \edef\grffile@file@found{#1}%
- \expandafter\@firstoftwo
- \fi
-}
-
+ }%
+\fi
\def\grffile@Ginclude@graphics#1{%
\begingroup
\ifgrffile@space
@@ -1013,6 +1032,10 @@ showpage
% Rewrite of `multidot' algorithm to fix a problem
% (`multidot' with \cs{graphicspath}).
% \end{Version}
+% \begin{Version}{2010/01/28 v1.11}
+% \item
+% Undefined \cs{pdf@filesize} fixed.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx b/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx
index 702ee8971df..e6dcf239ddd 100644
--- a/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2001, 2005-2009 by
+% Copyright (C) 2001, 2005-2010 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%
% This work may be distributed and/or modified under the
@@ -73,7 +73,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)}
+\Msg{* Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -84,7 +84,7 @@
This is a generated file.
-Copyright (C) 2001, 2005-2009 by
+Copyright (C) 2001, 2005-2010 by
Heiko Oberdiek <oberdiek@uni-freiburg.de>
This work may be distributed and/or modified under the
@@ -147,7 +147,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{ifpdf.drv}%
- [2009/04/10 v2.0 Provides the ifpdf switch (HO)]%
+ [2010/01/28 v2.1 Provides the ifpdf switch (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -156,7 +156,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{473}
+% \CheckSum{511}
%
% \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
@@ -177,7 +177,7 @@ and the derived files
% \GetFileInfo{ifpdf.drv}
%
% \title{The \xpackage{ifpdf} package}
-% \date{2009/04/10 v2.0}
+% \date{2010/01/28 v2.1}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -389,7 +389,7 @@ and the derived files
\fi
\expandafter\x\csname ver@ifpdf.sty\endcsname
\ProvidesPackage{ifpdf}%
- [2009/04/10 v2.0 Provides the ifpdf switch (HO)]
+ [2010/01/28 v2.1 Provides the ifpdf switch (HO)]
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -514,9 +514,25 @@ and the derived files
%
% \begin{macro}{\ifpdf}
% Create and set the switch. \cs{newif} initializes the
-% switch with \cs{iffalse}.
+% switch with \cs{iffalse}. \cs{newif} is \cs{outer}
+% in \plainTeX.
% \begin{macrocode}
-\newif\ifpdf
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname newif\endcsname\relax
+ \edef\pdffalse{%
+ \let
+ \expandafter\noexpand\csname ifpdf\endcsname
+ \expandafter\noexpand\csname iffalse\endcsname
+ }%
+ \edef\pdftrue{%
+ \let
+ \expandafter\noexpand\csname ifpdf\endcsname
+ \expandafter\noexpand\csname iftrue\endcsname
+ }%
+ \pdffalse
+\else
+ \csname newif\expandafter\endcsname\csname ifpdf\endcsname
+\fi
% \end{macrocode}
% Test \cs{pdfoutput}. Is it defined and different from
% \cs{relax}? Someone could have used \LaTeX\ internal
@@ -917,6 +933,10 @@ and the derived files
% \item
% Checks, whether \cs{pdfoutput} was changed.
% \end{Version}
+% \begin{Version}{2010/01/28 v2.1}
+% \item
+% Compatibility to ini\TeX\ added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx b/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx
index 558a80dbd22..2aa69241c60 100644
--- a/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/kvsetkeys.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2006, 2007, 2009 by
+% Copyright (C) 2006, 2007, 2009, 2010 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%
% This work may be distributed and/or modified under the
@@ -78,7 +78,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: kvsetkeys 2009/12/22 v1.7 Key value parser (HO)}
+\Msg{* Package: kvsetkeys 2010/01/28 v1.8 Key value parser (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -89,7 +89,7 @@
This is a generated file.
-Copyright (C) 2006, 2007, 2009 by
+Copyright (C) 2006, 2007, 2009, 2010 by
Heiko Oberdiek <oberdiek@uni-freiburg.de>
This work may be distributed and/or modified under the
@@ -158,7 +158,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{kvsetkeys.drv}%
- [2009/12/22 v1.7 Key value parser (HO)]%
+ [2010/01/28 v1.8 Key value parser (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -167,7 +167,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1101}
+% \CheckSum{1109}
%
% \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
@@ -188,7 +188,7 @@ and the derived files
% \GetFileInfo{kvsetkeys.drv}
%
% \title{The \xpackage{kvsetkeys} package}
-% \date{2009/12/22 v1.7}
+% \date{2010/01/28 v1.8}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -546,7 +546,7 @@ and the derived files
\fi
\expandafter\x\csname ver@kvsetkeys.sty\endcsname
\ProvidesPackage{kvsetkeys}%
- [2009/12/22 v1.7 Key value parser (HO)]
+ [2010/01/28 v1.8 Key value parser (HO)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -594,7 +594,13 @@ and the derived files
\input etexcmds.sty\relax
\else
\RequirePackage{infwarerr}[2007/09/09]%
- \RequirePackage{etexcmds}[2007/09/09]%
+ \RequirePackage{etexcmds}[2010/01/28]%
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\ifx\csname toks@\endcsname\relax
+ \toksdef\toks@=0 %
\fi
% \end{macrocode}
%
@@ -1150,7 +1156,7 @@ $ \expandafter\ifx\csname KV@#1@#2@default\endcsname\relax
\makeatletter
\chardef\KVS@TestMode=1 %
\makeatother
-\usepackage{kvsetkeys}[2009/12/22]
+\usepackage{kvsetkeys}[2010/01/28]
%<noetex>\let\unexpanded\SavedUnexpanded
\usepackage{qstest}
\IncludeTests{*}
@@ -1640,6 +1646,10 @@ $ \expandafter\ifx\csname KV@#1@#2@default\endcsname\relax
% \item
% Internal optimization (\cs{KVS@CommaSpace}, \dots, \cs{KVS@EqualsSpace}).
% \end{Version}
+% \begin{Version}{2010/01/28 v1.8}
+% \item
+% Compatibility to ini\TeX\ added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx
index 9fca42f980f..505a8f99320 100644
--- a/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/ltxcmds.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Copyright (C) 2009, 2010 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
@@ -73,7 +73,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: ltxcmds 2009/12/12 v1.1 LaTeX kernel commands for general use (HO)}
+\Msg{* Package: ltxcmds 2010/01/28 v1.2 LaTeX kernel commands for general use (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -84,7 +84,7 @@
This is a generated file.
-Copyright (C) 2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+Copyright (C) 2009, 2010 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
@@ -147,7 +147,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{ltxcmds.drv}%
- [2009/12/12 v1.1 LaTeX kernel commands for general use (HO)]%
+ [2010/01/28 v1.2 LaTeX kernel commands for general use (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\usepackage{zref-savepos}
@@ -157,7 +157,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{409}
+% \CheckSum{569}
%
% \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
@@ -178,7 +178,7 @@ and the derived files
% \GetFileInfo{ltxcmds.drv}
%
% \title{The \xpackage{ltxcmds} package}
-% \date{2009/12/12 v1.1}
+% \date{2010/01/28 v1.2}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -288,6 +288,91 @@ and the derived files
% The local context discards the side effect of \cs{csname}
% and let the command undefined after the expansion step.
%
+% \subsection{Stripping}
+%
+% \begin{declcs}{ltx@RemovePrefix}\\
+% \cs{ltx@StripPrefix}
+% \end{declcs}
+% All tokens up to and including the next available character
+% `\textgreater' are thrown away. Usually it is used to strip
+% the first part of the output of the commands \cs{meaning}
+% or \cs{pdflastmatch}. Macro \cs{ltx@RemovePrefix}
+% has the same meaning as \LaTeX's \cs{strip@prefix}, whereas
+% macro \cs{ltx@StripPrefix} expands the next token
+% once before stripping the prefix.
+%
+% \subsection{File management}
+%
+% All macros in this section are expandable like
+% the counterparts of the \LaTeX\ kernel. Also they
+% can be used after the preamble.
+%
+% \subsubsection{File extensions}
+%
+% \begin{declcs}{ltx@clsextension}\\
+% \cs{ltx@pkgextension}
+% \end{declcs}
+% If \cs{@clsextension}\slash\cs{@pkgextension} exists then
+% \cs{ltx@clsextension}\slash\cs{ltx@pkgextension}
+% returns this macro, otherwise the result is |cls|\slash|sty|.
+%
+% \subsubsection{Load check}
+%
+% \begin{declcs}{ltx@ifclassloaded} \M{class} \M{yes} \M{no}\\
+% \cs{ltx@ifpackageloaded} \M{package} \M{yes} \M{no}
+% \end{declcs}
+% If the \meta{class}\slash\meta{package} are loaded the
+% macros \cs{ltx@ifclassloaded}\slash\cs{ltx@ifpackageloaded}
+% call the \meta{yes} argument. Otherwise \meta{no} is executed.
+% Both \meta{class} and \meta{package} are specified without
+% extension.
+%
+% \begin{declcs}{ltx@iffileloaded} \M{file} \M{yes} \M{no}
+% \end{declcs}
+% If \LaTeX's \cs{ProvidesFile} macro was called before
+% using \meta{file} as argument, then \cs{ltx@iffileloaded}
+% calls \meta{yes}, otherwise \meta{no}.
+% Therefore it is possible
+% that the \meta{file} is loaded, but \meta{no} is executed because
+% of a missing \cs{ProvidesFile}. The \LaTeX\ kernel does not have
+% a counterpart of \cs{ltx@iffileloaded}.
+%
+% Note that the file name used in \cs{ProvidesFile} and
+% \cs{ltx@iffileloaded} must match. For example, if \TeX's
+% default extension \xext{.tex} was given in the first command,
+% then it must also specified in the latter command and vice versa.
+%
+% \subsubsection{Version date check}
+%
+% \begin{declcs}{ltx@ifclasslater} \M{class} \M{date} \M{yes} \M{no}\\
+% \cs{ltx@ifpackagelater} \M{package} \M{date} \M{yes} \M{no}\\
+% \cs{ltx@iffilelater} \M{file} \M{date} \M{yes} \M{no}
+% \end{declcs}
+% If a \cs{ProvidesClass}\slash\cs{ProvidesPackage}\slash
+% \cs{ProvidesFile} command with exact the same class\slash package\slash
+% file was executed before with an optional
+% argument that starts with a \LaTeX\ version date, then
+% this version date is compared with the argument \meta{date}.
+% If they are equal or if the version date is the later date,
+% then \meta{yes} is called. In all other cases \meta{no} is executed.
+%
+% A \LaTeX\ date has the format |YYYY/MM/DD| with |YYYY| as year
+% with four digits, |MM| as month with two digits and |DD| as day
+% with two digits. If \pdfTeX's \cs{pdfmatch} is available, then
+% it is used to detect the version date, to reject invalid
+% date formats and to reject some invalid dates.
+% Dates before 1994/01/01 are always invalid, because version
+% dates are introduced with \LaTeXe\ in 1994.
+%
+% \subsection{Macro additions}
+%
+% \begin{declcs}{ltx@GlobalAppendToMacro} \M{cmd} \M{addition}\\
+% \cs{ltx@LocalAppendToMacro} \M{cmd} \M{addition}
+% \end{declcs}
+% The \meta{addition} is appended to the parameterless macro \meta{cmd}.
+% If \meta{cmd} is undefined or has the meaning \cs{relax}, then
+% it will be initialized as empty macro before.
+%
% \StopEventually{
% }
%
@@ -363,7 +448,7 @@ and the derived files
\fi
\expandafter\x\csname ver@ltxcmds.sty\endcsname
\ProvidesPackage{ltxcmds}%
- [2009/12/12 v1.1 LaTeX kernel commands for general use (HO)]
+ [2010/01/28 v1.2 LaTeX kernel commands for general use (HO)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -371,7 +456,7 @@ and the derived files
\catcode123 1 % {
\catcode125 2 % }
\def\x{\endgroup
- \expandafter\edef\csname ltx@AtEnd\endcsname{%
+ \expandafter\edef\csname LTXcmds@AtEnd\endcsname{%
\catcode35 \the\catcode35\relax
\catcode64 \the\catcode64\relax
\catcode123 \the\catcode123\relax
@@ -384,14 +469,25 @@ and the derived files
\catcode123 1 % {
\catcode125 2 % }
\def\TMP@EnsureCode#1#2{%
- \edef\ltx@AtEnd{%
- \ltx@AtEnd
+ \edef\LTXcmds@AtEnd{%
+ \LTXcmds@AtEnd
\catcode#1 \the\catcode#1\relax
}%
\catcode#1 #2\relax
}
+\TMP@EnsureCode{40}{12}% (
+\TMP@EnsureCode{41}{12}% )
+\TMP@EnsureCode{45}{12}% -
+\TMP@EnsureCode{46}{12}% .
+\TMP@EnsureCode{47}{12}% /
+\TMP@EnsureCode{60}{12}% <
\TMP@EnsureCode{61}{12}% =
+\TMP@EnsureCode{62}{12}% >
+\TMP@EnsureCode{91}{12}% [
\TMP@EnsureCode{96}{12}% `
+\TMP@EnsureCode{93}{12}% ]
+\TMP@EnsureCode{94}{12}% ^ (superscript) (!)
+\TMP@EnsureCode{124}{12}% |
% \end{macrocode}
%
% \subsection{Argument killers}
@@ -566,8 +662,203 @@ and the derived files
}
% \end{macrocode}
%
+% \subsection{Stripping}
+%
+% \begin{macro}{\ltx@RemovePrefix}
+% \begin{macrocode}
+\def\ltx@RemovePrefix#1>{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ltx@StripPrefix}
% \begin{macrocode}
-\ltx@AtEnd
+\def\ltx@StripPrefix{%
+ \expandafter\ltx@RemovePrefix
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{File management}
+%
+% \subsubsection{File extensions}
+%
+% \begin{macro}{\ltx@clsextension}
+% \begin{macrocode}
+\def\ltx@clsextension{%
+ \ltx@ifundefined{@clsextension}{cls}\@clsextension
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@pkgextension}
+% \begin{macrocode}
+\def\ltx@pkgextension{%
+ \ltx@ifundefined{@pkgextension}{sty}\@pkgextension
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Load check}
+%
+% \begin{macro}{\ltx@iffileloaded}
+% \begin{macrocode}
+\def\ltx@iffileloaded#1{%
+ \ltx@ifundefined{ver@#1}\ltx@secondoftwo\ltx@firstoftwo
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@ifclassloaded}
+% \begin{macrocode}
+\def\ltx@ifclassloaded#1{%
+ \ltx@iffileloaded{#1.\ltx@clsextension}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@ifpackageloaded}
+% \begin{macrocode}
+\def\ltx@ifpackageloaded#1{%
+ \ltx@iffileloaded{#1.\ltx@pkgextension}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{Version date check}
+%
+% \begin{macro}{\ltx@iffilelater}
+% \begin{macrocode}
+\def\ltx@iffilelater#1#2{%
+ \ltx@iffileloaded{#1}{%
+ \expandafter\LTXcmds@IfLater\expandafter{%
+ \number
+ \expandafter\expandafter\expandafter\LTXcmds@ParseVersion
+ \expandafter\expandafter\expandafter{%
+ \csname ver@#1\endcsname
+ }%
+ \expandafter}\expandafter{%
+ \number
+ \expandafter\LTXcmds@ParseVersion\expandafter{#2}%
+ }%
+ }\ltx@secondoftwo
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\LTXcmds@IfLater}
+% \begin{macrocode}
+\def\LTXcmds@IfLater#1#2{%
+ \ifcase 0%
+ \ifnum#1<19940101 %
+ \else
+ \ifnum#2<19940101 %
+ \else
+ \ifnum#2>#1 %
+ \else
+ 1%
+ \fi
+ \fi
+ \fi
+ \ltx@space
+ \expandafter\ltx@secondoftwo
+ \else
+ \expandafter\ltx@firstoftwo
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@ifclasslater}
+% \begin{macrocode}
+\def\ltx@ifclasslater#1{%
+ \ltx@ifclasslater{#1.\ltx@clsextension}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@ifpackagelater}
+% \begin{macrocode}
+\def\ltx@ifpackagelater#1{%
+ \ltx@iffilelater{#1.\ltx@pkgextension}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\ltx@IfUndefined{pdfmatch}{%
+% \end{macrocode}
+% \begin{macro}{\LTXcmds@ParseVersion}
+% \begin{macrocode}
+ \def\LTXcmds@ParseVersion#1{%
+ \LTXcmds@@ParseVersion#10000/00/00\@nil
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\LTXcmds@@ParseVersion}
+% \begin{macrocode}
+ \def\LTXcmds@@ParseVersion#1#2#3#4/#5#6/#7#8#9\@nil{%
+ #1#2#3#4#5#6#7#8%
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+}{%
+% \end{macrocode}
+% \begin{macro}{\LTXcmds@ParseVersion}
+% \begin{macrocode}
+ \def\LTXcmds@ParseVersion#1{%
+ \ifnum\pdfmatch{%
+ ^%
+ (199[4-9]|[2-9][0-9][0-9][0-9])/%
+ (0[1-9]|1[0-2])/%
+ (0[1-9]|[1-2][0-9]|3[0-1])%
+ }{#1}=1 %
+ \ltx@StripPrefix\pdflastmatch1 %
+ \ltx@StripPrefix\pdflastmatch2 %
+ \ltx@StripPrefix\pdflastmatch3 %
+ \else
+ 0%
+ \fi
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Macro additions}
+%
+% \begin{macro}{\ltx@GlobalAppendToMacro}
+% \begin{macrocode}
+\def\ltx@GlobalAppendToMacro#1#2{%
+ \ifx\ltx@undefined#1%
+ \let#1\ltx@empty
+ \else
+ \ifx\relax#1%
+ \let#1\ltx@empty
+ \fi
+ \fi
+ \begingroup
+ \toks0\expandafter{#1#2}%
+ \xdef#1{\the\toks0}%
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\ltx@LocalAppendToMacro}
+% \begin{macrocode}
+\def\ltx@LocalAppendToMacro#1#2{%
+ \global\let\LTXcmds@gtemp#1%
+ \ifx\ltx@undefined\LTXcmds@gtemp
+ \global\let\LTXcmds@gtemp\ltx@empty
+ \else
+ \ifx\relax\LTXcmds@gtemp
+ \global\letLTXcmds@gtemp\ltx@empty
+ \fi
+ \fi
+ \begingroup
+ \toks0\expandafter{\LTXcmds@gtemp#2}%
+ \xdef\LTXcmds@gtemp{\the\toks0}%
+ \endgroup
+ \let#1\LTXcmds@gtemp
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\LTXcmds@AtEnd
%</package>
% \end{macrocode}
%
@@ -854,6 +1145,18 @@ and the derived files
% \item
% \cs{ltx@IfUndefined} added.
% \end{Version}
+% \begin{Version}{2010/01/28 v1.2}
+% \item
+% \cs{ltx@RemovePrefix} and \cs{ltx@StripPrefix} added.
+% \item
+% \cs{ltx@ifclassloaded}, \cs{ltx@ifpackageloaded},
+% \cs{ltx@iffileloaded},
+% \cs{ltx@ifclasslater}, \cs{ltx@ifpackagelater},
+% \cs{ltx@iffilelater},
+% \cs{ltx@clsextension}, \cs{ltx@pkgextension} added.
+% \item
+% \cs{ltx@GlobalAppendMacro}, \cs{ltx@LocalAppendMacro} added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins
index 2b52a62cfc7..4c351d34bc4 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
-% 2010/01/26
+% 2010/01/28
%
% Copyright (C) 1999, 2001, 2006 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex
index ad95a6d4d65..6f6da96a85f 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}{2010/01/26}
+\newcommand*{\Date}{2010/01/28}
% Copyright (C) 2006 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
@@ -205,7 +205,7 @@
[\entrysep]
\entry{epstopdf}{2009/10/17}{2.4}{Conversion with epstopdf on the fly}%
[\entrysep]
-\entry{etexcmds}{2007/12/12}{1.2}{Prefix for e-TeX command names}%
+\entry{etexcmds}{2010/01/28}{1.3}{Prefix for e-TeX command names}%
[\entrysep]
\entry{flags}{2007/09/30}{0.4}{Flag setting in bit fields}%
[\entrysep]
@@ -213,7 +213,7 @@
[\entrysep]
\entry{grfext}{2007/09/30}{1.0}{Managing graphics extensions}%
[\entrysep]
-\entry{grffile}{2009/09/25}{1.10}{Extended file name support for graphics}%
+\entry{grffile}{2010/01/28}{1.11}{Extended file name support for graphics}%
[\entrysep]
\entry{holtxdoc}{2009/12/02}{0.13}{Private additional ltxdoc support}%
[\entrysep]
@@ -237,7 +237,7 @@
[\entrysep]
\entry{ifluatex}{2009/04/17}{1.2}{Provides the ifluatex switch}%
[\entrysep]
-\entry{ifpdf}{2009/04/10}{2.0}{Provides the ifpdf switch}%
+\entry{ifpdf}{2010/01/28}{2.1}{Provides the ifpdf switch}%
[\entrysep]
\entry{ifvtex}{2008/11/04}{1.4}{Switches for detecting VTeX and its modes}%
[\entrysep]
@@ -249,13 +249,13 @@
[\entrysep]
\entry{kvoptions}{2009/12/08}{3.6}{Keyval support for \LaTeX{} options}%
[\entrysep]
-\entry{kvsetkeys}{2009/12/22}{1.7}{Key value parser}%
+\entry{kvsetkeys}{2010/01/28}{1.8}{Key value parser}%
[\entrysep]
\entry{letltxmacro}{2008/06/24}{1.3}{Let assignment for \LaTeX{} macros}%
[\entrysep]
\entry{listingsutf8}{2007/11/11}{1.1}{Adding support for UTF-8 to listings}%
[\entrysep]
-\entry{ltxcmds}{2009/12/12}{1.1}{\LaTeX{} kernel commands for general use}%
+\entry{ltxcmds}{2010/01/28}{1.2}{\LaTeX{} kernel commands for general use}%
[\entrysep]
\entry{luacolor}{2009/04/10}{1.1}{Coloring based on LuaTeX's node attributes}%
[\entrysep]
@@ -285,7 +285,7 @@
[\entrysep]
\entry{pdflscape}{2008/08/11}{0.10}{Landscape pages in PDF}%
[\entrysep]
-\entry{pdfrender}{2010/01/26}{1.0}{Access to some PDF graphics parameters}%
+\entry{pdfrender}{2010/01/28}{1.2}{Access to some PDF graphics parameters}%
[\entrysep]
\entry{pdftexcmds}{2009/12/12}{0.7}{Utility functions of pdfTeX for LuaTeX}%
[\entrysep]
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfrender.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfrender.dtx
index 24de571dbaf..8eb438234c5 100644
--- a/Master/texmf-dist/source/latex/oberdiek/pdfrender.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/pdfrender.dtx
@@ -16,10 +16,15 @@
%
% This Current Maintainer of this work is Heiko Oberdiek.
%
+% The Base Interpreter refers to any `TeX-Format',
+% because some files are installed in TDS:tex/generic//.
+%
% This work consists of the main source file pdfrender.dtx
% and the derived files
% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
-% pdfrender-test1.tex, pdfrender-test2.tex.
+% pdfrender-test1.tex, pdfrender-test2.tex,
+% pdfrender-test3.tex, pdfrender-test4.tex,
+% pdfrender-test5.tex.
%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/pdfrender.dtx
@@ -52,10 +57,13 @@
% pdflatex pdfrender.dtx
%
% Installation:
-% TDS:tex/latex/oberdiek/pdfrender.sty
+% TDS:tex/generic/oberdiek/pdfrender.sty
% TDS:doc/latex/oberdiek/pdfrender.pdf
% TDS:doc/latex/oberdiek/test/pdfrender-test1.tex
% TDS:doc/latex/oberdiek/test/pdfrender-test2.tex
+% TDS:doc/latex/oberdiek/test/pdfrender-test3.tex
+% TDS:doc/latex/oberdiek/test/pdfrender-test4.tex
+% TDS:doc/latex/oberdiek/test/pdfrender-test5.tex
% TDS:source/latex/oberdiek/pdfrender.dtx
%
%<*ignore>
@@ -71,7 +79,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: pdfrender 2010/01/26 v1.0 Access to some PDF graphics parameters (HO)}
+\Msg{* Package: pdfrender 2010/01/28 v1.2 Access to some PDF graphics parameters (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -98,10 +106,15 @@ This work has the LPPL maintenance status "maintained".
This Current Maintainer of this work is Heiko Oberdiek.
+The Base Interpreter refers to any `TeX-Format',
+because some files are installed in TDS:tex/generic//.
+
This work consists of the main source file pdfrender.dtx
and the derived files
pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
- pdfrender-test1.tex, pdfrender-test2.tex.
+ pdfrender-test1.tex, pdfrender-test2.tex,
+ pdfrender-test3.tex, pdfrender-test4.tex,
+ pdfrender-test5.tex.
\endpreamble
\let\MetaPrefix\DoubleperCent
@@ -109,11 +122,14 @@ and the derived files
\generate{%
\file{pdfrender.ins}{\from{pdfrender.dtx}{install}}%
\file{pdfrender.drv}{\from{pdfrender.dtx}{driver}}%
- \usedir{tex/latex/oberdiek}%
+ \usedir{tex/generic/oberdiek}%
\file{pdfrender.sty}{\from{pdfrender.dtx}{package}}%
\usedir{doc/latex/oberdiek/test}%
\file{pdfrender-test1.tex}{\from{pdfrender.dtx}{test1}}%
\file{pdfrender-test2.tex}{\from{pdfrender.dtx}{test2}}%
+ \file{pdfrender-test3.tex}{\from{pdfrender.dtx}{test3}}%
+ \file{pdfrender-test4.tex}{\from{pdfrender.dtx}{test4}}%
+ \file{pdfrender-test5.tex}{\from{pdfrender.dtx}{test5}}%
}
\obeyspaces
@@ -143,7 +159,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{pdfrender.drv}%
- [2010/01/26 v1.0 Access to some PDF graphics parameters (HO)]%
+ [2010/01/28 v1.2 Access to some PDF graphics parameters (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\usepackage{longtable}
@@ -154,7 +170,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{958}
+% \CheckSum{1393}
%
% \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
@@ -175,7 +191,7 @@ and the derived files
% \GetFileInfo{pdfrender.drv}
%
% \title{The \xpackage{pdfrender} package}
-% \date{2010/01/26 v1.0}
+% \date{2010/01/28 v1.2}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -205,6 +221,19 @@ and the derived files
% add its own hooks of its parameters. Therefore \LaTeX3 should
% generalize \LaTeXe's color interface.
%
+% \subsection{Usage}
+%
+% In \LaTeX\ the package is loaded as normal package. Options
+% are not defined for this package.
+% \begin{quote}
+% |\usepackage{pdfrender}|
+% \end{quote}
+%
+% This package can also be used in \plainTeX\ and even ini\TeX:
+% \begin{quote}
+% |input pdfrender.sty|
+% \end{quote}
+%
% \subsection{Macros}
%
% \begin{declcs}{pdfrender} \M{key value list}
@@ -309,6 +338,8 @@ and the derived files
% automatically added. However package \xpackage{calc} is not
% supported.
% \item[\xoption{FillColor}, \xoption{StrokeColor}:]
+% Package \xpackage{color} or \xpackage{xcolor} must be loaded
+% before these options can be used (since version 1.2).
% \LaTeX's color support sets both colors at the same time
% to the same value. However parameter \xoption{TextRenderingMode}
% offers the value \texttt{FillStroke} that makes only sense, if
@@ -408,7 +439,7 @@ and the derived files
\fi
\expandafter\x\csname ver@pdfrender.sty\endcsname
\ProvidesPackage{pdfrender}%
- [2010/01/26 v1.0 Access to some PDF graphics parameters (HO)]
+ [2010/01/28 v1.2 Access to some PDF graphics parameters (HO)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -457,25 +488,73 @@ and the derived files
\TMP@EnsureCode{94}{7}% ^ (superscript)
\TMP@EnsureCode{96}{12}% `
\TMP@EnsureCode{124}{12}% |
-\g@addto@macro\PdfRender@AtEnd{\endinput}
+\def\PdfRender@AtEndHook{}
+\expandafter\def\expandafter\PdfRender@AtEnd\expandafter{%
+ \expandafter\PdfRender@AtEndHook
+ \PdfRender@AtEnd
+ \endinput
+}
% \end{macrocode}
%
% \subsection{Look for \pdfTeX, its mode and features}
%
+% \begin{macro}{\PdfRender@newif}
+% \begin{macrocode}
+\def\PdfRender@newif#1{%
+ \expandafter\edef\csname PdfRender@#1true\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifPdfRender@#1\endcsname
+ \noexpand\iftrue
+ }%
+ \expandafter\edef\csname PdfRender@#1false\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifPdfRender@#1\endcsname
+ \noexpand\iffalse
+ }%
+ \csname PdfRender@#1false\endcsname
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\ifPdfRender@Stack}
% \begin{macrocode}
-\newif\ifPdfRender@Stack
+\PdfRender@newif{Stack}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\ifPdfRender@Match}
% \begin{macrocode}
-\newif\ifPdfRender@Match
+\PdfRender@newif{Match}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\PdfRender@RequirePackage}
+% \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \def\PdfRender@RequirePackage#1[#2]{%
+ \expandafter\def\expandafter\PdfRender@AtEndHook\expandafter{%
+ \PdfRender@AtEndHook
+ \ltx@ifpackagelater{#1}{#2}{}{%
+ \@PackageWarningNoLine{pdfrender}{%
+ You have requested version\MessageBreak
+ `#2' of package `#1',\MessageBreak
+ but only version\MessageBreak
+ `\csname ver@#1.\ltx@pkgextension\endcsname'\MessageBreak
+ is available%
+ }%
+ }%
+ }%
+ \input #1.sty\relax
+ }%
+\else
+ \let\PdfRender@RequirePackage\RequirePackage
+\fi
% \end{macrocode}
% \end{macro}
% \begin{macrocode}
-\RequirePackage{ifpdf}[2009/04/10]
-\RequirePackage{infwarerr}[2007/09/09]
-\RequirePackage{ltxcmds}[2009/12/12]
+\PdfRender@RequirePackage{ifpdf}[2010/01/28]
+\PdfRender@RequirePackage{infwarerr}[2007/09/09]
+\PdfRender@RequirePackage{ltxcmds}[2010/01/28]
% \end{macrocode}
%
% \begin{macrocode}
@@ -501,52 +580,219 @@ and the derived files
Missing pdfTeX in PDF mode%
}%
% \end{macrocode}
+% \begin{macrocode}
+ \ltx@IfUndefined{newcommand}{%
+% \end{macrocode}
+% \begin{macro}{\pdfrender}
+% \begin{macrocode}
+ \def\pdfrender#1{}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\textpdfrender}
+% \begin{macrocode}
+ \long\def\textpdfrender#1#2{#2}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+ }{%
+% \end{macrocode}
% \begin{macro}{\pdfrender}
% \begin{macrocode}
- \newcommand*{\pdfrender}[1]{}%
+ \newcommand*{\pdfrender}[1]{}%
% \end{macrocode}
% \end{macro}
% \begin{macro}{\textpdfrender}
% \begin{macrocode}
- \newcommand{\textpdfrender}[2]{#2}%
+ \newcommand{\textpdfrender}[2]{#2}%
% \end{macrocode}
% \end{macro}
% \begin{macrocode}
+ }%
\expandafter\PdfRender@AtEnd
\fi
% \end{macrocode}
%
-% \subsection{Macros for \pdfTeX\ in PDF mode}
+% \subsection{Enable color support of \LaTeX}
%
% \begin{macrocode}
-\RequirePackage{color}
-\RequirePackage{keyval}
-\RequirePackage{kvsetkeys}[2009/07/19]
+\ltx@ifpackageloaded{color}{}{%
+ \def\color@setgroup{\begingroup\set@color}%
+ \let\color@begingroup\begingroup
+ \def\color@endgroup{\endgraf\endgroup}%
+ \def\color@hbox{\hbox\bgroup\color@begingroup}%
+ \def\color@vbox{\vbox\bgroup\color@begingroup}%
+ \def\color@endbox{\color@endgroup\egroup}%
+ \ltx@ifundefined{bgroup}{%
+ \let\bgroup={\let\egroup=}%
+ }{}%
+ \ltx@ifundefined{endgraf}{%
+ \let\endgraf=\par
+ }{}%
+}
% \end{macrocode}
-% \begin{macro}{\pdfrender}
+%
+% \subsection{Hook into \cs{normalcolor}}
+%
+% The problem is that packages \xpackage{color} and \xpackage{xcolor}
+% each overwrite \cs{normalcolor}. For example, after the package
+% loading order \xpackage{color}, \xpackage{pdfrender} and \xpackage{xcolor}
+% the patched version of \cs{normalcolor} is overwritten by
+% package \xpackage{xcolor}. Also using \cs{AtBeginDocument} for
+% patching is not enough. If package \xpackage{hyperref} is loaded
+% later, it might load package \xpackage{color} using \cs{AtBeginDocument}.
+% \begin{macro}{\PdfRender@NormalColorHook}
% \begin{macrocode}
-\newcommand*{\pdfrender}[1]{%
- \global\let\PdfRender@FillColor\ltx@empty
- \global\let\PdfRender@StrokeColor\ltx@empty
- \setkeys{PDFRENDER}{#1}%
- \PdfRender@SetColor
+\def\PdfRender@NormalColorHook{}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@ColorSetGroupHook}
+% \begin{macrocode}
+\def\PdfRender@ColorSetGroupHook{}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@TestBox}
+% \begin{macrocode}
+\def\PdfRender@TestBox#1{%
+ \setbox0=\color@hbox#1\color@endbox
}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\textpdfrender}
+% \begin{macro}{\PdfRender@PatchNormalColor}
% \begin{macrocode}
-\newcommand{\textpdfrender}[2]{%
+\def\PdfRender@PatchNormalColor{%
+ \ltx@ifundefined{normalcolor}{%
+ \gdef\normalcolor{\PdfRender@NormalColorHook}%
+ }{%
+ \begingroup
+ \def\PdfRender@NormalColorHook{\let\PdfRender@temp=Y}%
+ \PdfRender@TestBox{%
+ \let\set@color\relax
+ \normalcolor
+ \ifx\PdfRender@temp Y%
+ \else
+ \ltx@GlobalAppendToMacro\normalcolor{%
+ \PdfRender@NormalColorHook
+ }%
+ \fi
+ }%
+ \endgroup
+ }%
+ \ifx\@nodocument\relax
+ \global\let\PdfRender@PatchNormalColor\relax
+ \fi
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@PatchColorSetGroup}
+% \begin{macrocode}
+\def\PdfRender@PatchColorSetGroup{%
\begingroup
- \pdfrender{#1}%
- #2%
+ \def\PdfRender@ColorSetGroupHook{\let\PdfRender@temp=Y}%
+ \PdfRender@TestBox{%
+ \let\set@color\relax
+ \color@setgroup\color@endgroup
+ \ifx\PdfRender@temp Y%
+ \else
+ \ltx@GlobalAppendToMacro\color@setgroup{%
+ \PdfRender@ColorSetGroupHook
+ }%
+ \fi
+ }%
\endgroup
+ \ifx\@nodocument\relax
+ \global\let\PdfRender@PatchColorSetGroup\relax
+ \fi
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@PatchColor}
+% \begin{macrocode}
+\def\PdfRender@PatchColor{%
+ \PdfRender@PatchNormalColor
+ \PdfRender@PatchColorSetGroup
+}
+% \begin{macrocode}
+\PdfRender@PatchColor
+\ltx@IfUndefined{AtBeginDocument}{}{%
+ \AtBeginDocument{\PdfRender@PatchColor}%
+}
+% \end{macrocode}
+% \cs{AfterPackage} is provided by package \xpackage{scrlfile}.
+% \begin{macrocode}
+\ltx@IfUndefined{AfterPackage}{%
+}{%
+ \AfterPackage{color}{\PdfRender@PatchColor}%
+ \AfterPackage{xcolor}{\PdfRender@PatchColor}%
+ \AfterPackage{etoolbox}{%
+ \AfterEndPreamble{\PdfRender@PatchColor}%
+ }%
+}%
+% \end{macrocode}
+% \cs{AfterEndPreamble} is provided by package \xpackage{etoolbox}.
+% \begin{macrocode}
+\ltx@IfUndefined{AfterEndPreamble}{%
+}{%
+ \AfterEndPreamble{\PdfRender@PatchColor}%
+}%
+% \end{macrocode}
+% \end{macro}
+
+%
+% \begin{macrocode}
+\PdfRender@RequirePackage{kvsetkeys}[2010/01/28]
+% \end{macrocode}
+% \begin{macro}{\PdfRender@texorpdfstring}
+% \begin{macrocode}
+\def\PdfRender@texorpdfstring{%
+ \ltx@IfUndefined{texorpdfstring}\ltx@firstoftwo\texorpdfstring
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\pdfrender}
+% \begin{macrocode}
+\ltx@IfUndefined{DeclareRobustCommand}%
+\ltx@firstoftwo\ltx@secondoftwo
+{%
+ \def\pdfrender#1%
+}{%
+ \newcommand{\pdfrender}{}%
+ \DeclareRobustCommand*{\pdfrender}[1]%
+}%
+{%
+ \PdfRender@texorpdfstring{%
+ \PdfRender@PatchNormalColor
+ \global\let\PdfRender@FillColor\ltx@empty
+ \global\let\PdfRender@StrokeColor\ltx@empty
+ \kvsetkeys{PDFRENDER}{#1}%
+ \PdfRender@SetColor
+ }{}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\textpdfrender}
+% \begin{macrocode}
+\ltx@IfUndefined{DeclareRobustCommand}%
+\ltx@firstoftwo\ltx@secondoftwo
+{%
+ \long\def\textpdfrender#1#2%
+}{%
+ \newcommand{\textpdfrender}{}%
+ \DeclareRobustCommand{\textpdfrender}[2]%
+}%
+{%
+ \PdfRender@texorpdfstring{%
+ \begingroup
+ \pdfrender{#1}%
+ #2%
+ \endgroup
+ }{#2}%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\ifPdfRender@Values}
% \begin{macrocode}
-\newif\ifPdfRender@Values
+\PdfRender@newif{Values}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\PdfRender@NewClassValues}
@@ -560,7 +806,7 @@ and the derived files
% \begin{macro}{\PdfRender@NewClass}
% \begin{macrocode}
\def\PdfRender@NewClass#1#2#3#4#5{%
- \expandafter\newif\csname ifPdfRender@Active#1\endcsname
+ \PdfRender@newif{Active#1}%
\expandafter\def\csname PdfRender@Default#1\endcsname{#2}%
\expandafter\let\csname PdfRender@Current#1\expandafter\endcsname
\csname PdfRender@Default#1\endcsname
@@ -614,11 +860,11 @@ and the derived files
\expandafter\noexpand\csname PdfRender@Default#1\endcsname
\noexpand\PdfRender@Set{#1}%
}%
- \expandafter\g@addto@macro\expandafter\normalcolor
+ \expandafter\ltx@GlobalAppendToMacro\expandafter\PdfRender@NormalColorHook
\expandafter{%
\csname PdfRender@Normal#1\endcsname
}%
- \g@addto@macro\color@setgroup{%
+ \ltx@GlobalAppendToMacro\PdfRender@ColorSetGroupHook{%
\PdfRender@Set{#1}%
}%
\ifPdfRender@Values
@@ -630,14 +876,14 @@ and the derived files
\fi
\ltx@gobbletwo
}%
- \define@key{PDFRENDER}{#1}[1]{%
+ \PdfRender@define@key{PDFRENDER}{#1}{%
\global\csname PdfRender@Active#1true\endcsname
\def\PdfRender@Current{##1}%
\PdfRender@SetValidateValues{#1}%
}%
\PdfRender@Valuesfalse
\else
- \define@key{PDFRENDER}{#1}[1]{%
+ \PdfRender@define@key{PDFRENDER}{#1}{%
\global\csname PdfRender@Active#1true\endcsname
\expandafter\def\csname PdfRender@Current#1\endcsname{##1}%
\ltx@IfUndefined{PdfRender@PostProcess#1}{%
@@ -650,6 +896,17 @@ and the derived files
}%
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\PdfRender@define@key}
+% \begin{macrocode}
+\ltx@IfUndefined{define@key}{%
+ \def\PdfRender@define@key#1#2{%
+ \expandafter\def\csname KV@#1@#2\endcsname##1%
+ }%
+}{%
+ \let\PdfRender@define@key\define@key
+}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\PdfRender@Set}
% \begin{macrocode}
\def\PdfRender@Set#1{%
@@ -757,7 +1014,7 @@ and the derived files
\def\PdfRender@PostProcessLineWidth{%
\begingroup
\afterassignment\PdfRender@@PostProcessLineWidth
- \dimen@=\PdfRender@dimexpr\PdfRender@CurrentLineWidth bp %
+ \dimen0=\PdfRender@dimexpr\PdfRender@CurrentLineWidth bp %
\PdfRender@let\PdfRender@relax\PdfRender@relax
}
\let\PdfRender@let\let
@@ -766,10 +1023,10 @@ and the derived files
\ifx\\#1\\%
\endgroup
\else
- \dimen@=.996264\dimen@ % 72/72.27
+ \dimen0=.996264\dimen0 % 72/72.27
\edef\x{\endgroup
\def\noexpand\PdfRender@CurrentLineWidth{%
- \strip@pt\dimen@
+ \strip@pt\dimen0%
}%
}%
\expandafter\x
@@ -811,45 +1068,65 @@ and the derived files
% \subsection{Fill and stroke color support}
%
% \begin{macrocode}
-\define@key{PDFRENDER}{FillColor}{%
+\PdfRender@define@key{PDFRENDER}{FillColor}{%
\begingroup
\def\PdfRender@Color{#1}%
\ifx\PdfRender@Color\ltx@empty
\global\let\PdfRender@FillColor\ltx@empty
\else
- \sbox0{%
- \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
- \PdfRender@GetFillColor
- \ifx\PdfRender@FillColor\ltx@empty
- \@PackageWarning{pdfrender}{%
- Cannot extract fill color\MessageBreak
- from value `#1'%
- }%
- \fi
+ \PdfRender@ColorAvailable{%
+ \PdfRender@TestBox{%
+ \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
+ \PdfRender@GetFillColor
+ \ifx\PdfRender@FillColor\ltx@empty
+ \@PackageWarning{pdfrender}{%
+ Cannot extract fill color\MessageBreak
+ from value `#1'%
+ }%
+ \fi
+ }%
}%
\fi
\endgroup
}
-\define@key{PDFRENDER}{StrokeColor}{%
+\PdfRender@define@key{PDFRENDER}{StrokeColor}{%
\begingroup
\def\PdfRender@Color{#1}%
\ifx\PdfRender@Color\ltx@empty
\global\let\PdfRender@StrokeColor\ltx@empty
\else
- \sbox0{%
- \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
- \PdfRender@GetStrokeColor
- \ifx\PdfRender@StrokeColor\ltx@empty
- \@PackageWarning{pdfrender}{%
- Cannot extract stroke color\MessageBreak
- from value `#1'%
- }%
- \fi
+ \PdfRender@ColorAvailable{%
+ \PdfRender@TestBox{%
+ \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
+ \PdfRender@GetStrokeColor
+ \ifx\PdfRender@StrokeColor\ltx@empty
+ \@PackageWarning{pdfrender}{%
+ Cannot extract stroke color\MessageBreak
+ from value `#1'%
+ }%
+ \fi
+ }%
}%
\fi
\endgroup
}
% \end{macrocode}
+% \begin{macro}{\PdfRender@ColorAvailable}
+% \begin{macrocode}
+\def\PdfRender@ColorAvailable{%
+ \@ifundefined{set@color}{%
+ \@PackageError{pdfrender}{%
+ Ignoring color options, because neither\MessageBreak
+ package `color' nor package `xcolor' is loaded%
+ }\@ehc
+ \global\let\PdfRender@ColorAvailable\ltx@gobble
+ }{%
+ \global\let\PdfRender@ColorAvailable\ltx@firstofone
+ }%
+ \PdfRender@ColorAvailable
+}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\PdfRender@TryColor}
% \begin{macrocode}
\def\PdfRender@TryColor{%
@@ -915,35 +1192,70 @@ and the derived files
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\PdfRender@PatternFillColor}
+% \begin{macrocode}
+\edef\PdfRender@PatternFillColor{ % space
+ (%
+ [0-9\string\.]+ g|%
+ [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ rg|%
+ [0-9\string\.]+ [0-9\string\.]+ %
+ [0-9\string\.]+ [0-9\string\.]+ k%
+ ) % space
+ (.*)$%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@PatternStrokeColor}
+% \begin{macrocode}
+\edef\PdfRender@PatternStrokeColor{ % space
+ (%
+ [0-9\string\.]+ G|%
+ [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ RG|%
+ [0-9\string\.]+ [0-9\string\.]+ %
+ [0-9\string\.]+ [0-9\string\.]+ K%
+ ) % space
+ (.*)$%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@MatchPattern}
+% \begin{macrocode}
+\def\PdfRender@MatchPattern#1{%
+ \ifnum\pdfmatch{\PdfRender@Pattern}{\PdfRender@String}=1 %
+ \xdef#1{%
+ \expandafter\strip@prefix\pdflastmatch 1%
+ }%
+ \edef\PdfRender@String{%
+ \expandafter\strip@prefix\pdflastmatch 2%
+ }%
+ \ifx\PdfRender@String\ltx@empty
+ \else
+ \expandafter\expandafter\expandafter\PdfRender@MatchPattern
+ \expandafter\expandafter\expandafter#1%
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
% \begin{macro}{\PdfRender@GetFillColor}
% \begin{macrocode}
\def\PdfRender@GetFillColor{%
\global\let\PdfRender@FillColor\ltx@empty
\begingroup
\ifPdfRender@Match
- \edef\current@color{\ltx@space\current@color\ltx@space}%
- \ifnum\pdfmatch{ %
- (%
- [0-9\string\.]+ g|%
- [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ rg|%
- [0-9\string\.]+ [0-9\string\.]+ %
- [0-9\string\.]+ [0-9\string\.]+ k%
- )%
- }{\current@color}=1 %
- \xdef\PdfRender@FillColor{%
- \expandafter\strip@prefix\pdflastmatch 1%
- }%
- \fi
+ \let\PdfRender@Pattern\PdfRender@PatternFillColor
+ \edef\PdfRender@String{\ltx@space\current@color\ltx@space}%
+ \PdfRender@MatchPattern\PdfRender@FillColor
\else
-% Using the method of Rolf Niepraschk.
- \edef\x{%
- \lowercase{%
- \xdef\noexpand\PdfRender@FillColor{%
- \current@color
- }%
- }%
- }%
- \x
+ \edef\current@color{\current@color\ltx@space}%
+ \let\PdfRender@OP\relax
+ \PdfRender@FindOp{g}0%
+ \PdfRender@FindOp{G}1%
+ \PdfRender@FindOp{rg}0%
+ \PdfRender@FindOp{RG}1%
+ \PdfRender@FindOp{k}0%
+ \PdfRender@FindOp{K}1%
+ \PdfRender@FilterOp 0\PdfRender@FillColor
\fi
\endgroup
}
@@ -955,34 +1267,71 @@ and the derived files
\global\let\PdfRender@StrokeColor\ltx@empty
\begingroup
\ifPdfRender@Match
- \edef\current@color{\ltx@space\current@color\ltx@space}%
- \ifnum\pdfmatch{ %
- (%
- [0-9\string\.]+ G|%
- [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ RG|%
- [0-9\string\.]+ [0-9\string\.]+ %
- [0-9\string\.]+ [0-9\string\.]+ K%
- )%
- }{\current@color}=1 %
- \xdef\PdfRender@StrokeColor{%
- \expandafter\strip@prefix\pdflastmatch 1%
- }%
- \fi
+ \let\PdfRender@Pattern\PdfRender@PatternStrokeColor
+ \edef\PdfRender@String{\ltx@space\current@color\ltx@space}%
+ \PdfRender@MatchPattern\PdfRender@StrokeColor
\else
-% Using the method of Rolf Niepraschk.
- \edef\x{%
- \uppercase{%
- \xdef\noexpand\PdfRender@StrokeColor{%
- \current@color
- }%
- }%
- }%
- \x
+ \edef\current@color{\current@color\ltx@space}%
+ \let\PdfRender@OP\relax
+ \PdfRender@FindOp{g}0%
+ \PdfRender@FindOp{G}1%
+ \PdfRender@FindOp{rg}0%
+ \PdfRender@FindOp{RG}1%
+ \PdfRender@FindOp{k}0%
+ \PdfRender@FindOp{K}1%
+ \PdfRender@FilterOp 1\PdfRender@StrokeColor
\fi
\endgroup
}
% \end{macrocode}
% \end{macro}
+% \begin{macrocode}
+\ifPdfRender@Match
+ \expandafter\PdfRender@AtEnd
+\fi
+% \end{macrocode}
+% \begin{macro}{\PdfRender@FindOp}
+% \begin{macrocode}
+\def\PdfRender@FindOp#1#2{%
+ \def\PdfRender@temp##1 #1 ##2\@nil{%
+ ##1%
+ \ifx\\##2\\%
+ \expandafter\@gobble
+ \else
+ \PdfRender@OP{#1}#2%
+ \expandafter\@firstofone
+ \fi
+ {%
+ \PdfRender@temp##2\@nil
+ }%
+ }%
+ \edef\current@color{%
+ \@firstofone{\expandafter\PdfRender@temp\current@color} #1 \@nil
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@FilterOp}
+% \begin{macrocode}
+\def\PdfRender@FilterOp#1#2{%
+ \expandafter\PdfRender@@FilterOp\expandafter#1\expandafter#2%
+ \current@color\PdfRender@OP{}{}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\PdfRender@@FilterOp}
+% \begin{macrocode}
+\def\PdfRender@@FilterOp#1#2#3\PdfRender@OP#4#5{%
+ \ifx\\#4#5\\%
+ \else
+ \ifnum#1=#5 %
+ \xdef#2{#3 #4}%
+ \fi
+ \expandafter\PdfRender@@FilterOp\expandafter#1\expandafter#2%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
%
% \begin{macrocode}
\PdfRender@AtEnd
@@ -1083,9 +1432,10 @@ and the derived files
% \begin{macrocode}
%<*test2>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{pdfrender-test2.tex}[2010/01/26]
+\ProvidesFile{pdfrender-test2.tex}[2010/01/28]
\documentclass{article}
-\usepackage{pdfrender}[2010/01/26]
+\usepackage{color}
+\usepackage{pdfrender}[2010/01/28]
\begin{document}
Hello World
\newpage
@@ -1117,6 +1467,133 @@ Stop
%</test2>
% \end{macrocode}
%
+% \subsection{Further tests}
+%
+% Robustness and bookmarks.
+% \begin{macrocode}
+%<*test3>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{pdfrender-test3.tex}[2010/01/28]
+\documentclass{article}
+\usepackage{pdfrender}[2010/01/28]
+\usepackage{hyperref}
+\usepackage{bookmark}
+\begin{document}
+\tableofcontents
+\section{%
+ \textpdfrender{%
+ TextRenderingMode=1,%
+ LineCapStyle=2,%
+ LineJoinStyle=1,%
+ MiterLimit=1.2,%
+ LineDashPattern=[2 2]0,%
+ RenderingIntent=Saturation,%
+ }{Hello World}%
+}
+\end{document}
+%</test3>
+% \end{macrocode}
+%
+% Color algorithm if \cs{pdfmatch} is not available.
+% \begin{macrocode}
+%<*test4>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{pdfrender-test4.tex}[2010/01/28]
+\documentclass[12pt]{article}
+\usepackage{pdfrender}[2010/01/28]
+\usepackage{color}
+\usepackage{qstest}
+\IncludeTests{*}
+\LogTests{log}{*}{*}
+\makeatletter
+\newcommand*{\CheckColor}[1]{%
+ \Expect{#1}*{\current@color}%
+}
+\makeatother
+\begin{document}
+ \begin{qstest}{color}{color}%
+ \CheckColor{0 g 0 G}%
+ \Huge\bfseries
+ \noindent
+ \textpdfrender{%
+ TextRenderingMode=2,%
+ LineWidth=.5,%
+ FillColor=yellow,%
+ StrokeColor=blue,%
+ }{%
+ \CheckColor{0 0 1 0 k 0 0 1 RG}%
+ Blue(Yellow)\\%
+ \textpdfrender{%
+ FillColor=green,%
+ }{%
+ \CheckColor{0 1 0 rg 0 0 1 RG}%
+ Blue(Green)%
+ }\\%
+ \CheckColor{0 0 1 0 k 0 0 1 RG}%
+ Blue(Yellow)\\%
+ \textpdfrender{%
+ StrokeColor=red,%
+ }{%
+ \CheckColor{0 0 1 0 k 1 0 0 RG}%
+ Red(Yellow)%
+ }\\%
+ \CheckColor{0 0 1 0 k 0 0 1 RG}%
+ Blue(Yellow) %
+ }%
+ \end{qstest}%
+ \begin{qstest}{colorlast}{colorlast}%
+ \makeatletter
+ \def\Test#1#2#3{%
+ \begingroup
+ \def\current@color{#1}%
+ \textpdfrender{#2}{%
+ \CheckColor{#3}%
+ }%
+ \endgroup
+ }%
+ \Test{1 g 0 0 1 RG 0 0 1 0 k 0.5 G}%
+ {StrokeColor=green}%
+ {0 0 1 0 k 0 1 0 RG}%
+ \Test{1 g 0 0 1 RG 0 0 1 0 k 0.5 G}%
+ {FillColor=red}%
+ {1 0 0 rg 0.5 G}%
+ \end{qstest}%
+\end{document}
+%</test4>
+% \end{macrocode}
+%
+% \subsection{Compatibility with \plainTeX}
+%
+% \begin{macrocode}
+%<*test5>
+\pdfoutput=1 %
+\hsize=6.5in
+\vsize=8.9in
+\pdfpagewidth=\hsize
+\pdfpageheight=\vsize
+\parfillskip=0pt plus 1fil\relax
+\input pdfrender.sty\relax
+\catcode`\{=1 %
+\catcode`\}=2 %
+\let\OrgMakeFootLine\makefootline
+\def\makefootline{%
+ \begingroup\normalcolor\OrgMakeFootLine\endgroup
+}
+\font\f=ec-lmr10 scaled 3000\relax
+\f
+Before %
+\textpdfrender{%
+ TextRenderingMode=1,%
+ LineWidth=.1,%
+}{Hello\par\vfill\penalty-10000 World} %
+After %
+\par
+\vfill
+\penalty-10000 %
+\csname @@end\endcsname\end
+%</test5>
+% \end{macrocode}
+%
% \section{Installation}
%
% \subsection{Download}
@@ -1176,10 +1653,13 @@ Stop
% \begin{quote}
% \def\t{^^A
% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
-% pdfrender.sty & tex/latex/oberdiek/pdfrender.sty\\
+% pdfrender.sty & tex/generic/oberdiek/pdfrender.sty\\
% pdfrender.pdf & doc/latex/oberdiek/pdfrender.pdf\\
% test/pdfrender-test1.tex & doc/latex/oberdiek/test/pdfrender-test1.tex\\
% test/pdfrender-test2.tex & doc/latex/oberdiek/test/pdfrender-test2.tex\\
+% test/pdfrender-test3.tex & doc/latex/oberdiek/test/pdfrender-test3.tex\\
+% test/pdfrender-test4.tex & doc/latex/oberdiek/test/pdfrender-test4.tex\\
+% test/pdfrender-test5.tex & doc/latex/oberdiek/test/pdfrender-test5.tex\\
% pdfrender.dtx & source/latex/oberdiek/pdfrender.dtx\\
% \end{tabular}^^A
% }^^A
@@ -1342,6 +1822,24 @@ Stop
% \item
% The first version.
% \end{Version}
+% \begin{Version}{2010/01/27 v1.1}
+% \item
+% Macros \cs{pdfrender} and \cs{textpdfrender} are made robust.
+% \item
+% Color extraction rewritten for the case that \cs{pdfmatch}
+% is not available. This fixes wrong color assigments in
+% case of nesting.
+% \item
+% Color extraction of case \cs{pdfmatch} is fixed
+% for the case that the color string contains several
+% fill or several stroke operations.
+% \end{Version}
+% \begin{Version}{2010/01/28 v1.2}
+% \item
+% Dependency from package \xpackage{color} is removed.
+% \item
+% Compatibility for \plainTeX\ and even ini\TeX\ added.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/tex/generic/oberdiek/etexcmds.sty b/Master/texmf-dist/tex/generic/oberdiek/etexcmds.sty
index e23877b0e42..65f5129285c 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/etexcmds.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2007, 2010 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
@@ -93,7 +93,7 @@
\fi
\expandafter\x\csname ver@etexcmds.sty\endcsname
\ProvidesPackage{etexcmds}%
- [2007/12/12 v1.2 Prefix for e-TeX command names (HO)]
+ [2010/01/28 v1.3 Prefix for e-TeX command names (HO)]
\begingroup
\catcode123 1 % {
\catcode125 2 % }
@@ -127,13 +127,26 @@
\escapechar\the\escapechar\relax
}
\escapechar=92 % backslash
+\def\etexcmds@newif#1{%
+ \expandafter\edef\csname etex@#1false\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifetex@#1\endcsname
+ \noexpand\iffalse
+ }%
+ \expandafter\edef\csname etex@#1true\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifetex@#1\endcsname
+ \noexpand\iftrue
+ }%
+ \csname etex@#1false\endcsname
+}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
\input infwarerr.sty\relax
\else
\RequirePackage{infwarerr}[2007/09/09]%
\fi
-\newif\ifetex@unexpanded
+\etexcmds@newif{unexpanded}
\begingroup
\edef\x{\string\unexpanded}%
\edef\y{\meaning\unexpanded}%
@@ -165,7 +178,7 @@
\fi
\fi
\fi
-\newif\ifetex@expanded
+\etexcmds@newif{expanded}
\begingroup
\edef\x{\string\expanded}%
\edef\y{\meaning\expanded}%
diff --git a/Master/texmf-dist/tex/generic/oberdiek/ifpdf.sty b/Master/texmf-dist/tex/generic/oberdiek/ifpdf.sty
index cf59d050ae3..56fa0aa20e5 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/ifpdf.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2001, 2005-2009 by
+%% Copyright (C) 2001, 2005-2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
@@ -92,7 +92,7 @@
\fi
\expandafter\x\csname ver@ifpdf.sty\endcsname
\ProvidesPackage{ifpdf}%
- [2009/04/10 v2.0 Provides the ifpdf switch (HO)]
+ [2010/01/28 v2.1 Provides the ifpdf switch (HO)]
\begingroup
\catcode123 1 % {
\catcode125 2 % }
@@ -180,7 +180,22 @@
\fi
\relax
\endgroup
-\newif\ifpdf
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname newif\endcsname\relax
+ \edef\pdffalse{%
+ \let
+ \expandafter\noexpand\csname ifpdf\endcsname
+ \expandafter\noexpand\csname iffalse\endcsname
+ }%
+ \edef\pdftrue{%
+ \let
+ \expandafter\noexpand\csname ifpdf\endcsname
+ \expandafter\noexpand\csname iftrue\endcsname
+ }%
+ \pdffalse
+\else
+ \csname newif\expandafter\endcsname\csname ifpdf\endcsname
+\fi
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdfoutput\endcsname\relax
\else
diff --git a/Master/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty b/Master/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
index 0bad6780861..399bdaa29a4 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006, 2007, 2009 by
+%% Copyright (C) 2006, 2007, 2009, 2010 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
@@ -94,7 +94,7 @@
\fi
\expandafter\x\csname ver@kvsetkeys.sty\endcsname
\ProvidesPackage{kvsetkeys}%
- [2009/12/22 v1.7 Key value parser (HO)]
+ [2010/01/28 v1.8 Key value parser (HO)]
\begingroup
\catcode123 1 % {
\catcode125 2 % }
@@ -134,7 +134,10 @@
\input etexcmds.sty\relax
\else
\RequirePackage{infwarerr}[2007/09/09]%
- \RequirePackage{etexcmds}[2007/09/09]%
+ \RequirePackage{etexcmds}[2010/01/28]%
+\fi
+\expandafter\ifx\csname toks@\endcsname\relax
+ \toksdef\toks@=0 %
\fi
\begingroup\expandafter\endgroup
\ifcase0\ifetex@unexpanded
diff --git a/Master/texmf-dist/tex/generic/oberdiek/ltxcmds.sty b/Master/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
index a11f9ac8a3c..dd2f19bc4c7 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2009, 2010 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
@@ -92,12 +92,12 @@
\fi
\expandafter\x\csname ver@ltxcmds.sty\endcsname
\ProvidesPackage{ltxcmds}%
- [2009/12/12 v1.1 LaTeX kernel commands for general use (HO)]
+ [2010/01/28 v1.2 LaTeX kernel commands for general use (HO)]
\begingroup
\catcode123 1 % {
\catcode125 2 % }
\def\x{\endgroup
- \expandafter\edef\csname ltx@AtEnd\endcsname{%
+ \expandafter\edef\csname LTXcmds@AtEnd\endcsname{%
\catcode35 \the\catcode35\relax
\catcode64 \the\catcode64\relax
\catcode123 \the\catcode123\relax
@@ -110,14 +110,25 @@
\catcode123 1 % {
\catcode125 2 % }
\def\TMP@EnsureCode#1#2{%
- \edef\ltx@AtEnd{%
- \ltx@AtEnd
+ \edef\LTXcmds@AtEnd{%
+ \LTXcmds@AtEnd
\catcode#1 \the\catcode#1\relax
}%
\catcode#1 #2\relax
}
+\TMP@EnsureCode{40}{12}% (
+\TMP@EnsureCode{41}{12}% )
+\TMP@EnsureCode{45}{12}% -
+\TMP@EnsureCode{46}{12}% .
+\TMP@EnsureCode{47}{12}% /
+\TMP@EnsureCode{60}{12}% <
\TMP@EnsureCode{61}{12}% =
+\TMP@EnsureCode{62}{12}% >
+\TMP@EnsureCode{91}{12}% [
\TMP@EnsureCode{96}{12}% `
+\TMP@EnsureCode{93}{12}% ]
+\TMP@EnsureCode{94}{12}% ^ (superscript) (!)
+\TMP@EnsureCode{124}{12}% |
\long\def\ltx@gobble#1{}
\long\def\ltx@gobbletwo#1#2{}
\long\def\ltx@gobblethree#1#2#3{}
@@ -182,7 +193,115 @@
}%
\let\ltx@IfUndefined\ltx@ifundefined
}
-\ltx@AtEnd
+\def\ltx@RemovePrefix#1>{}
+\def\ltx@StripPrefix{%
+ \expandafter\ltx@RemovePrefix
+}
+\def\ltx@clsextension{%
+ \ltx@ifundefined{@clsextension}{cls}\@clsextension
+}
+\def\ltx@pkgextension{%
+ \ltx@ifundefined{@pkgextension}{sty}\@pkgextension
+}
+\def\ltx@iffileloaded#1{%
+ \ltx@ifundefined{ver@#1}\ltx@secondoftwo\ltx@firstoftwo
+}
+\def\ltx@ifclassloaded#1{%
+ \ltx@iffileloaded{#1.\ltx@clsextension}%
+}
+\def\ltx@ifpackageloaded#1{%
+ \ltx@iffileloaded{#1.\ltx@pkgextension}%
+}
+\def\ltx@iffilelater#1#2{%
+ \ltx@iffileloaded{#1}{%
+ \expandafter\LTXcmds@IfLater\expandafter{%
+ \number
+ \expandafter\expandafter\expandafter\LTXcmds@ParseVersion
+ \expandafter\expandafter\expandafter{%
+ \csname ver@#1\endcsname
+ }%
+ \expandafter}\expandafter{%
+ \number
+ \expandafter\LTXcmds@ParseVersion\expandafter{#2}%
+ }%
+ }\ltx@secondoftwo
+}
+\def\LTXcmds@IfLater#1#2{%
+ \ifcase 0%
+ \ifnum#1<19940101 %
+ \else
+ \ifnum#2<19940101 %
+ \else
+ \ifnum#2>#1 %
+ \else
+ 1%
+ \fi
+ \fi
+ \fi
+ \ltx@space
+ \expandafter\ltx@secondoftwo
+ \else
+ \expandafter\ltx@firstoftwo
+ \fi
+}
+\def\ltx@ifclasslater#1{%
+ \ltx@ifclasslater{#1.\ltx@clsextension}%
+}
+\def\ltx@ifpackagelater#1{%
+ \ltx@iffilelater{#1.\ltx@pkgextension}%
+}
+\ltx@IfUndefined{pdfmatch}{%
+ \def\LTXcmds@ParseVersion#1{%
+ \LTXcmds@@ParseVersion#10000/00/00\@nil
+ }%
+ \def\LTXcmds@@ParseVersion#1#2#3#4/#5#6/#7#8#9\@nil{%
+ #1#2#3#4#5#6#7#8%
+ }%
+}{%
+ \def\LTXcmds@ParseVersion#1{%
+ \ifnum\pdfmatch{%
+ ^%
+ (199[4-9]|[2-9][0-9][0-9][0-9])/%
+ (0[1-9]|1[0-2])/%
+ (0[1-9]|[1-2][0-9]|3[0-1])%
+ }{#1}=1 %
+ \ltx@StripPrefix\pdflastmatch1 %
+ \ltx@StripPrefix\pdflastmatch2 %
+ \ltx@StripPrefix\pdflastmatch3 %
+ \else
+ 0%
+ \fi
+ }%
+}
+\def\ltx@GlobalAppendToMacro#1#2{%
+ \ifx\ltx@undefined#1%
+ \let#1\ltx@empty
+ \else
+ \ifx\relax#1%
+ \let#1\ltx@empty
+ \fi
+ \fi
+ \begingroup
+ \toks0\expandafter{#1#2}%
+ \xdef#1{\the\toks0}%
+ \endgroup
+}
+\def\ltx@LocalAppendToMacro#1#2{%
+ \global\let\LTXcmds@gtemp#1%
+ \ifx\ltx@undefined\LTXcmds@gtemp
+ \global\let\LTXcmds@gtemp\ltx@empty
+ \else
+ \ifx\relax\LTXcmds@gtemp
+ \global\letLTXcmds@gtemp\ltx@empty
+ \fi
+ \fi
+ \begingroup
+ \toks0\expandafter{\LTXcmds@gtemp#2}%
+ \xdef\LTXcmds@gtemp{\the\toks0}%
+ \endgroup
+ \let#1\LTXcmds@gtemp
+}
+\LTXcmds@AtEnd
\endinput
%%
%% End of file `ltxcmds.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfrender.sty b/Master/texmf-dist/tex/generic/oberdiek/pdfrender.sty
index 2b579d1856b..5b6e07a2083 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/pdfrender.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/pdfrender.sty
@@ -24,10 +24,15 @@
%%
%% This Current Maintainer of this work is Heiko Oberdiek.
%%
+%% The Base Interpreter refers to any `TeX-Format',
+%% because some files are installed in TDS:tex/generic//.
+%%
%% This work consists of the main source file pdfrender.dtx
%% and the derived files
%% pdfrender.sty, pdfrender.pdf, pdfrender.ins, pdfrender.drv,
-%% pdfrender-test1.tex, pdfrender-test2.tex.
+%% pdfrender-test1.tex, pdfrender-test2.tex,
+%% pdfrender-test3.tex, pdfrender-test4.tex,
+%% pdfrender-test5.tex.
%%
\begingroup
\catcode44 12 % ,
@@ -89,7 +94,7 @@
\fi
\expandafter\x\csname ver@pdfrender.sty\endcsname
\ProvidesPackage{pdfrender}%
- [2010/01/26 v1.0 Access to some PDF graphics parameters (HO)]
+ [2010/01/28 v1.2 Access to some PDF graphics parameters (HO)]
\begingroup
\catcode123 1 % {
\catcode125 2 % }
@@ -135,12 +140,50 @@
\TMP@EnsureCode{94}{7}% ^ (superscript)
\TMP@EnsureCode{96}{12}% `
\TMP@EnsureCode{124}{12}% |
-\g@addto@macro\PdfRender@AtEnd{\endinput}
-\newif\ifPdfRender@Stack
-\newif\ifPdfRender@Match
-\RequirePackage{ifpdf}[2009/04/10]
-\RequirePackage{infwarerr}[2007/09/09]
-\RequirePackage{ltxcmds}[2009/12/12]
+\def\PdfRender@AtEndHook{}
+\expandafter\def\expandafter\PdfRender@AtEnd\expandafter{%
+ \expandafter\PdfRender@AtEndHook
+ \PdfRender@AtEnd
+ \endinput
+}
+\def\PdfRender@newif#1{%
+ \expandafter\edef\csname PdfRender@#1true\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifPdfRender@#1\endcsname
+ \noexpand\iftrue
+ }%
+ \expandafter\edef\csname PdfRender@#1false\endcsname{%
+ \let
+ \expandafter\noexpand\csname ifPdfRender@#1\endcsname
+ \noexpand\iffalse
+ }%
+ \csname PdfRender@#1false\endcsname
+}
+\PdfRender@newif{Stack}
+\PdfRender@newif{Match}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \def\PdfRender@RequirePackage#1[#2]{%
+ \expandafter\def\expandafter\PdfRender@AtEndHook\expandafter{%
+ \PdfRender@AtEndHook
+ \ltx@ifpackagelater{#1}{#2}{}{%
+ \@PackageWarningNoLine{pdfrender}{%
+ You have requested version\MessageBreak
+ `#2' of package `#1',\MessageBreak
+ but only version\MessageBreak
+ `\csname ver@#1.\ltx@pkgextension\endcsname'\MessageBreak
+ is available%
+ }%
+ }%
+ }%
+ \input #1.sty\relax
+ }%
+\else
+ \let\PdfRender@RequirePackage\RequirePackage
+\fi
+\PdfRender@RequirePackage{ifpdf}[2010/01/28]
+\PdfRender@RequirePackage{infwarerr}[2007/09/09]
+\PdfRender@RequirePackage{ltxcmds}[2010/01/28]
\ifpdf
\ltx@IfUndefined{pdfcolorstackinit}{%
\@PackageWarning{pdfrender}{%
@@ -162,32 +205,139 @@
\@PackageWarning{pdfrender}{%
Missing pdfTeX in PDF mode%
}%
- \newcommand*{\pdfrender}[1]{}%
- \newcommand{\textpdfrender}[2]{#2}%
+ \ltx@IfUndefined{newcommand}{%
+ \def\pdfrender#1{}%
+ \long\def\textpdfrender#1#2{#2}%
+ }{%
+ \newcommand*{\pdfrender}[1]{}%
+ \newcommand{\textpdfrender}[2]{#2}%
+ }%
\expandafter\PdfRender@AtEnd
\fi
-\RequirePackage{color}
-\RequirePackage{keyval}
-\RequirePackage{kvsetkeys}[2009/07/19]
-\newcommand*{\pdfrender}[1]{%
- \global\let\PdfRender@FillColor\ltx@empty
- \global\let\PdfRender@StrokeColor\ltx@empty
- \setkeys{PDFRENDER}{#1}%
- \PdfRender@SetColor
+\ltx@ifpackageloaded{color}{}{%
+ \def\color@setgroup{\begingroup\set@color}%
+ \let\color@begingroup\begingroup
+ \def\color@endgroup{\endgraf\endgroup}%
+ \def\color@hbox{\hbox\bgroup\color@begingroup}%
+ \def\color@vbox{\vbox\bgroup\color@begingroup}%
+ \def\color@endbox{\color@endgroup\egroup}%
+ \ltx@ifundefined{bgroup}{%
+ \let\bgroup={\let\egroup=}%
+ }{}%
+ \ltx@ifundefined{endgraf}{%
+ \let\endgraf=\par
+ }{}%
+}
+\def\PdfRender@NormalColorHook{}
+\def\PdfRender@ColorSetGroupHook{}
+\def\PdfRender@TestBox#1{%
+ \setbox0=\color@hbox#1\color@endbox
}
-\newcommand{\textpdfrender}[2]{%
+\def\PdfRender@PatchNormalColor{%
+ \ltx@ifundefined{normalcolor}{%
+ \gdef\normalcolor{\PdfRender@NormalColorHook}%
+ }{%
+ \begingroup
+ \def\PdfRender@NormalColorHook{\let\PdfRender@temp=Y}%
+ \PdfRender@TestBox{%
+ \let\set@color\relax
+ \normalcolor
+ \ifx\PdfRender@temp Y%
+ \else
+ \ltx@GlobalAppendToMacro\normalcolor{%
+ \PdfRender@NormalColorHook
+ }%
+ \fi
+ }%
+ \endgroup
+ }%
+ \ifx\@nodocument\relax
+ \global\let\PdfRender@PatchNormalColor\relax
+ \fi
+}%
+\def\PdfRender@PatchColorSetGroup{%
\begingroup
- \pdfrender{#1}%
- #2%
+ \def\PdfRender@ColorSetGroupHook{\let\PdfRender@temp=Y}%
+ \PdfRender@TestBox{%
+ \let\set@color\relax
+ \color@setgroup\color@endgroup
+ \ifx\PdfRender@temp Y%
+ \else
+ \ltx@GlobalAppendToMacro\color@setgroup{%
+ \PdfRender@ColorSetGroupHook
+ }%
+ \fi
+ }%
\endgroup
+ \ifx\@nodocument\relax
+ \global\let\PdfRender@PatchColorSetGroup\relax
+ \fi
+}%
+\def\PdfRender@PatchColor{%
+ \PdfRender@PatchNormalColor
+ \PdfRender@PatchColorSetGroup
+}
+\PdfRender@PatchColor
+\ltx@IfUndefined{AtBeginDocument}{}{%
+ \AtBeginDocument{\PdfRender@PatchColor}%
+}
+\ltx@IfUndefined{AfterPackage}{%
+}{%
+ \AfterPackage{color}{\PdfRender@PatchColor}%
+ \AfterPackage{xcolor}{\PdfRender@PatchColor}%
+ \AfterPackage{etoolbox}{%
+ \AfterEndPreamble{\PdfRender@PatchColor}%
+ }%
+}%
+\ltx@IfUndefined{AfterEndPreamble}{%
+}{%
+ \AfterEndPreamble{\PdfRender@PatchColor}%
+}%
+
+\PdfRender@RequirePackage{kvsetkeys}[2010/01/28]
+\def\PdfRender@texorpdfstring{%
+ \ltx@IfUndefined{texorpdfstring}\ltx@firstoftwo\texorpdfstring
+}
+\ltx@IfUndefined{DeclareRobustCommand}%
+\ltx@firstoftwo\ltx@secondoftwo
+{%
+ \def\pdfrender#1%
+}{%
+ \newcommand{\pdfrender}{}%
+ \DeclareRobustCommand*{\pdfrender}[1]%
+}%
+{%
+ \PdfRender@texorpdfstring{%
+ \PdfRender@PatchNormalColor
+ \global\let\PdfRender@FillColor\ltx@empty
+ \global\let\PdfRender@StrokeColor\ltx@empty
+ \kvsetkeys{PDFRENDER}{#1}%
+ \PdfRender@SetColor
+ }{}%
+}
+\ltx@IfUndefined{DeclareRobustCommand}%
+\ltx@firstoftwo\ltx@secondoftwo
+{%
+ \long\def\textpdfrender#1#2%
+}{%
+ \newcommand{\textpdfrender}{}%
+ \DeclareRobustCommand{\textpdfrender}[2]%
+}%
+{%
+ \PdfRender@texorpdfstring{%
+ \begingroup
+ \pdfrender{#1}%
+ #2%
+ \endgroup
+ }{#2}%
}
-\newif\ifPdfRender@Values
+\PdfRender@newif{Values}
\def\PdfRender@NewClassValues#1#2#3#4{%
\PdfRender@Valuestrue
\PdfRender@NewClass{#1}{#2}{#3}{#4}{}%
}
\def\PdfRender@NewClass#1#2#3#4#5{%
- \expandafter\newif\csname ifPdfRender@Active#1\endcsname
+ \PdfRender@newif{Active#1}%
\expandafter\def\csname PdfRender@Default#1\endcsname{#2}%
\expandafter\let\csname PdfRender@Current#1\expandafter\endcsname
\csname PdfRender@Default#1\endcsname
@@ -241,11 +391,11 @@
\expandafter\noexpand\csname PdfRender@Default#1\endcsname
\noexpand\PdfRender@Set{#1}%
}%
- \expandafter\g@addto@macro\expandafter\normalcolor
+ \expandafter\ltx@GlobalAppendToMacro\expandafter\PdfRender@NormalColorHook
\expandafter{%
\csname PdfRender@Normal#1\endcsname
}%
- \g@addto@macro\color@setgroup{%
+ \ltx@GlobalAppendToMacro\PdfRender@ColorSetGroupHook{%
\PdfRender@Set{#1}%
}%
\ifPdfRender@Values
@@ -257,14 +407,14 @@
\fi
\ltx@gobbletwo
}%
- \define@key{PDFRENDER}{#1}[1]{%
+ \PdfRender@define@key{PDFRENDER}{#1}{%
\global\csname PdfRender@Active#1true\endcsname
\def\PdfRender@Current{##1}%
\PdfRender@SetValidateValues{#1}%
}%
\PdfRender@Valuesfalse
\else
- \define@key{PDFRENDER}{#1}[1]{%
+ \PdfRender@define@key{PDFRENDER}{#1}{%
\global\csname PdfRender@Active#1true\endcsname
\expandafter\def\csname PdfRender@Current#1\endcsname{##1}%
\ltx@IfUndefined{PdfRender@PostProcess#1}{%
@@ -275,6 +425,13 @@
}%
\fi
}%
+\ltx@IfUndefined{define@key}{%
+ \def\PdfRender@define@key#1#2{%
+ \expandafter\def\csname KV@#1@#2\endcsname##1%
+ }%
+}{%
+ \let\PdfRender@define@key\define@key
+}
\def\PdfRender@Set#1{%
\csname ifPdfRender@Active#1\endcsname
\csname PdfRender@Set#1\expandafter\endcsname
@@ -350,7 +507,7 @@
\def\PdfRender@PostProcessLineWidth{%
\begingroup
\afterassignment\PdfRender@@PostProcessLineWidth
- \dimen@=\PdfRender@dimexpr\PdfRender@CurrentLineWidth bp %
+ \dimen0=\PdfRender@dimexpr\PdfRender@CurrentLineWidth bp %
\PdfRender@let\PdfRender@relax\PdfRender@relax
}
\let\PdfRender@let\let
@@ -359,10 +516,10 @@
\ifx\\#1\\%
\endgroup
\else
- \dimen@=.996264\dimen@ % 72/72.27
+ \dimen0=.996264\dimen0 % 72/72.27
\edef\x{\endgroup
\def\noexpand\PdfRender@CurrentLineWidth{%
- \strip@pt\dimen@
+ \strip@pt\dimen0%
}%
}%
\expandafter\x
@@ -399,44 +556,60 @@
Saturation,%
Perceptual,%
}%
-\define@key{PDFRENDER}{FillColor}{%
+\PdfRender@define@key{PDFRENDER}{FillColor}{%
\begingroup
\def\PdfRender@Color{#1}%
\ifx\PdfRender@Color\ltx@empty
\global\let\PdfRender@FillColor\ltx@empty
\else
- \sbox0{%
- \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
- \PdfRender@GetFillColor
- \ifx\PdfRender@FillColor\ltx@empty
- \@PackageWarning{pdfrender}{%
- Cannot extract fill color\MessageBreak
- from value `#1'%
- }%
- \fi
+ \PdfRender@ColorAvailable{%
+ \PdfRender@TestBox{%
+ \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
+ \PdfRender@GetFillColor
+ \ifx\PdfRender@FillColor\ltx@empty
+ \@PackageWarning{pdfrender}{%
+ Cannot extract fill color\MessageBreak
+ from value `#1'%
+ }%
+ \fi
+ }%
}%
\fi
\endgroup
}
-\define@key{PDFRENDER}{StrokeColor}{%
+\PdfRender@define@key{PDFRENDER}{StrokeColor}{%
\begingroup
\def\PdfRender@Color{#1}%
\ifx\PdfRender@Color\ltx@empty
\global\let\PdfRender@StrokeColor\ltx@empty
\else
- \sbox0{%
- \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
- \PdfRender@GetStrokeColor
- \ifx\PdfRender@StrokeColor\ltx@empty
- \@PackageWarning{pdfrender}{%
- Cannot extract stroke color\MessageBreak
- from value `#1'%
- }%
- \fi
+ \PdfRender@ColorAvailable{%
+ \PdfRender@TestBox{%
+ \expandafter\PdfRender@TryColor\PdfRender@Color\ltx@empty
+ \PdfRender@GetStrokeColor
+ \ifx\PdfRender@StrokeColor\ltx@empty
+ \@PackageWarning{pdfrender}{%
+ Cannot extract stroke color\MessageBreak
+ from value `#1'%
+ }%
+ \fi
+ }%
}%
\fi
\endgroup
}
+\def\PdfRender@ColorAvailable{%
+ \@ifundefined{set@color}{%
+ \@PackageError{pdfrender}{%
+ Ignoring color options, because neither\MessageBreak
+ package `color' nor package `xcolor' is loaded%
+ }\@ehc
+ \global\let\PdfRender@ColorAvailable\ltx@gobble
+ }{%
+ \global\let\PdfRender@ColorAvailable\ltx@firstofone
+ }%
+ \PdfRender@ColorAvailable
+}
\def\PdfRender@TryColor{%
\@ifnextchar[\color\PdfRender@@TryColor
}
@@ -490,32 +663,56 @@
\fi
\fi
}
+\edef\PdfRender@PatternFillColor{ % space
+ (%
+ [0-9\string\.]+ g|%
+ [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ rg|%
+ [0-9\string\.]+ [0-9\string\.]+ %
+ [0-9\string\.]+ [0-9\string\.]+ k%
+ ) % space
+ (.*)$%
+}
+\edef\PdfRender@PatternStrokeColor{ % space
+ (%
+ [0-9\string\.]+ G|%
+ [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ RG|%
+ [0-9\string\.]+ [0-9\string\.]+ %
+ [0-9\string\.]+ [0-9\string\.]+ K%
+ ) % space
+ (.*)$%
+}
+\def\PdfRender@MatchPattern#1{%
+ \ifnum\pdfmatch{\PdfRender@Pattern}{\PdfRender@String}=1 %
+ \xdef#1{%
+ \expandafter\strip@prefix\pdflastmatch 1%
+ }%
+ \edef\PdfRender@String{%
+ \expandafter\strip@prefix\pdflastmatch 2%
+ }%
+ \ifx\PdfRender@String\ltx@empty
+ \else
+ \expandafter\expandafter\expandafter\PdfRender@MatchPattern
+ \expandafter\expandafter\expandafter#1%
+ \fi
+ \fi
+}
\def\PdfRender@GetFillColor{%
\global\let\PdfRender@FillColor\ltx@empty
\begingroup
\ifPdfRender@Match
- \edef\current@color{\ltx@space\current@color\ltx@space}%
- \ifnum\pdfmatch{ %
- (%
- [0-9\string\.]+ g|%
- [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ rg|%
- [0-9\string\.]+ [0-9\string\.]+ %
- [0-9\string\.]+ [0-9\string\.]+ k%
- )%
- }{\current@color}=1 %
- \xdef\PdfRender@FillColor{%
- \expandafter\strip@prefix\pdflastmatch 1%
- }%
- \fi
+ \let\PdfRender@Pattern\PdfRender@PatternFillColor
+ \edef\PdfRender@String{\ltx@space\current@color\ltx@space}%
+ \PdfRender@MatchPattern\PdfRender@FillColor
\else
- \edef\x{%
- \lowercase{%
- \xdef\noexpand\PdfRender@FillColor{%
- \current@color
- }%
- }%
- }%
- \x
+ \edef\current@color{\current@color\ltx@space}%
+ \let\PdfRender@OP\relax
+ \PdfRender@FindOp{g}0%
+ \PdfRender@FindOp{G}1%
+ \PdfRender@FindOp{rg}0%
+ \PdfRender@FindOp{RG}1%
+ \PdfRender@FindOp{k}0%
+ \PdfRender@FindOp{K}1%
+ \PdfRender@FilterOp 0\PdfRender@FillColor
\fi
\endgroup
}
@@ -523,31 +720,55 @@
\global\let\PdfRender@StrokeColor\ltx@empty
\begingroup
\ifPdfRender@Match
- \edef\current@color{\ltx@space\current@color\ltx@space}%
- \ifnum\pdfmatch{ %
- (%
- [0-9\string\.]+ G|%
- [0-9\string\.]+ [0-9\string\.]+ [0-9\string\.]+ RG|%
- [0-9\string\.]+ [0-9\string\.]+ %
- [0-9\string\.]+ [0-9\string\.]+ K%
- )%
- }{\current@color}=1 %
- \xdef\PdfRender@StrokeColor{%
- \expandafter\strip@prefix\pdflastmatch 1%
- }%
- \fi
+ \let\PdfRender@Pattern\PdfRender@PatternStrokeColor
+ \edef\PdfRender@String{\ltx@space\current@color\ltx@space}%
+ \PdfRender@MatchPattern\PdfRender@StrokeColor
\else
- \edef\x{%
- \uppercase{%
- \xdef\noexpand\PdfRender@StrokeColor{%
- \current@color
- }%
- }%
- }%
- \x
+ \edef\current@color{\current@color\ltx@space}%
+ \let\PdfRender@OP\relax
+ \PdfRender@FindOp{g}0%
+ \PdfRender@FindOp{G}1%
+ \PdfRender@FindOp{rg}0%
+ \PdfRender@FindOp{RG}1%
+ \PdfRender@FindOp{k}0%
+ \PdfRender@FindOp{K}1%
+ \PdfRender@FilterOp 1\PdfRender@StrokeColor
\fi
\endgroup
}
+\ifPdfRender@Match
+ \expandafter\PdfRender@AtEnd
+\fi
+\def\PdfRender@FindOp#1#2{%
+ \def\PdfRender@temp##1 #1 ##2\@nil{%
+ ##1%
+ \ifx\\##2\\%
+ \expandafter\@gobble
+ \else
+ \PdfRender@OP{#1}#2%
+ \expandafter\@firstofone
+ \fi
+ {%
+ \PdfRender@temp##2\@nil
+ }%
+ }%
+ \edef\current@color{%
+ \@firstofone{\expandafter\PdfRender@temp\current@color} #1 \@nil
+ }%
+}
+\def\PdfRender@FilterOp#1#2{%
+ \expandafter\PdfRender@@FilterOp\expandafter#1\expandafter#2%
+ \current@color\PdfRender@OP{}{}%
+}
+\def\PdfRender@@FilterOp#1#2#3\PdfRender@OP#4#5{%
+ \ifx\\#4#5\\%
+ \else
+ \ifnum#1=#5 %
+ \xdef#2{#3 #4}%
+ \fi
+ \expandafter\PdfRender@@FilterOp\expandafter#1\expandafter#2%
+ \fi
+}
\PdfRender@AtEnd
\endinput
%%
diff --git a/Master/texmf-dist/tex/latex/oberdiek/grffile.sty b/Master/texmf-dist/tex/latex/oberdiek/grffile.sty
index fc08a47147c..fd96bfaaab8 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/grffile.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/grffile.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2006-2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2006-2010 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
@@ -31,7 +31,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{grffile}%
- [2009/09/25 v1.10 Extended file name support for graphics (HO)]%
+ [2010/01/28 v1.11 Extended file name support for graphics (HO)]%
\edef\grffile@RestoreCatcodes{%
\catcode`\noexpand\=\the\catcode`\=\relax
\catcode`\noexpand\:\the\catcode`\:\relax
@@ -191,31 +191,50 @@
}{%
}%
}
-\def\grffile@IfFileExists#1{%
- \expandafter\expandafter\expandafter
- \ifx\expandafter\expandafter\expandafter\\\pdf@filesize{#1}\\%
- \let\reserved@a\@secondoftwo
- \ifx\input@path\@undefined
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname pdf@filesize\endcsname\relax
+ \begingroup
+ \let\on@line\@empty
+ \PackageInfo{grffile}{%
+ \string\grffile@IfFileExists\space without space support,%
+ \MessageBreak
+ because pdfTeX's \string\pdffilesize\space is not available%
+ }%
+ \endgroup
+ \def\grffile@IfFileExists#1{%
+ \IfFileExists{#1}{%
+ \let\grffile@IFE@next\@firstoftwo
+ }{%
+ \let\grffile@IFE@next\@secondoftwo
+ }%
+ \grffile@IFE@next
+ }%
+\else
+ \def\grffile@IfFileExists#1{%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\expandafter\\\pdf@filesize{#1}\\%
+ \let\reserved@a\@secondoftwo
+ \ifx\input@path\@undefined
+ \else
+ \expandafter\@tfor\expandafter\reserved@b\expandafter
+ :\expandafter=\input@path\do{%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\expandafter
+ \\\pdf@filesize{\reserved@b#1}\\%
+ \else
+ \edef\grffile@file@found{\reserved@b#1}%
+ \let\reserved@a\@firstoftwo
+ \@break@tfor
+ \fi
+ }%
+ \fi
+ \expandafter\reserved@a
\else
- \expandafter\@tfor\expandafter\reserved@b\expandafter
- :\expandafter=\input@path\do{%
- \expandafter\expandafter\expandafter
- \ifx\expandafter\expandafter\expandafter
- \\\pdf@filesize{\reserved@b#1}\\%
- \else
- \edef\grffile@file@found{\reserved@b#1}%
- \let\reserved@a\@firstoftwo
- \@break@tfor
- \fi
- }%
+ \edef\grffile@file@found{#1}%
+ \expandafter\@firstoftwo
\fi
- \expandafter\reserved@a
- \else
- \edef\grffile@file@found{#1}%
- \expandafter\@firstoftwo
- \fi
-}
-
+ }%
+\fi
\def\grffile@Ginclude@graphics#1{%
\begingroup
\ifgrffile@space