summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/accsupp.pdfbin157402 -> 157401 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdfbin139005 -> 139005 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/alphalph.pdfbin217761 -> 217762 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/askinclude.pdfbin587879 -> 587880 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdfbin211260 -> 211260 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdfbin130108 -> 130109 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdfbin216301 -> 216300 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/auxhook.pdfbin134584 -> 134585 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdfbin303436 -> 303437 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bitset.pdfbin645647 -> 645647 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdfbin294667 -> 294667 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/bookmark.pdfbin235141 -> 235141 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/catchfile.pdfbin149686 -> 149685 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/centernot.pdfbin126098 -> 126097 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/chemarr.pdfbin130718 -> 130717 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/classlist.pdfbin127081 -> 127082 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/colonequals.pdfbin135848 -> 135849 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdfbin119356 -> 119358 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/embedfile-example-collection.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/embedfile.pdfbin212849 -> 218003 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/engord.pdfbin155209 -> 155206 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdfbin170372 -> 170372 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdfbin140954 -> 140955 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/flags.pdfbin135731 -> 135729 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/grfext.pdfbin156949 -> 156947 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/grffile.pdfbin158206 -> 158205 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdfbin140363 -> 140363 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hycolor.pdfbin193957 -> 193958 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdfbin147133 -> 147133 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypcap.pdfbin133316 -> 133316 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdfbin155567 -> 155566 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdfbin154553 -> 154551 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypgotoe-example.tex92
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdfbin0 -> 139045 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdfbin122281 -> 122282 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/iflang.pdfbin173764 -> 173765 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdfbin146950 -> 146950 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdfbin142401 -> 142403 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdfbin160341 -> 160341 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/inputenx.pdfbin492088 -> 492087 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/intcalc.pdfbin287352 -> 287352 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdfbin265691 -> 265691 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdfbin196614 -> 196613 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdfbin152646 -> 152646 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/makerobust.pdfbin124089 -> 124089 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdfbin715899 -> 723829 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pagesel.pdfbin160336 -> 160336 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdfbin158116 -> 158117 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdfbin143676 -> 143678 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdfbin161332 -> 161332 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdfbin156824 -> 156824 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdfbin150206 -> 150207 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdfbin164852 -> 164852 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdfbin211137 -> 211136 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdfbin156575 -> 156574 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/picture.pdfbin142011 -> 142012 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdfbin182727 -> 182727 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/refcount.pdfbin135489 -> 135490 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/selinput.pdfbin516823 -> 516823 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdfbin175590 -> 175590 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/settobox.pdfbin143588 -> 143587 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdfbin218717 -> 218717 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/stackrel.pdfbin129620 -> 129620 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/stringenc.pdfbin410223 -> 410223 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/tabularht.pdfbin169044 -> 169044 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdfbin119401 -> 119400 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/telprint.pdfbin151207 -> 151205 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex15
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/transparent.pdfbin126894 -> 126895 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/twoopt.pdfbin137949 -> 137949 bytes
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/zref.pdfbin293231 -> 293230 bytes
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/embedfile.dtx144
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/hypgotoe.dtx663
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/oberdiek.ins3
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/oberdiek.tex14
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty4
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/embedfile.sty36
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/hypgotoe.sty159
79 files changed, 1115 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf
index 7eb21d9c4ca..5ebb82a4e8e 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 ea5bc0098f4..fdbe82b401e 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 a1c1cfddd20..4446ffc9403 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 f3d6e55dd7e..c94de31cb0d 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 ee9f7e4861b..f8809952403 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 e2f23575e7d..9ee2b5540cf 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 ce1669eb767..6095ed0386d 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/auxhook.pdf b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf
index 247d1b48ce1..cee03833802 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 aaab00fcfb4..3e066a20909 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 bce848cb7df..486ed924641 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 b52e2a6b8d3..436fcdbcd44 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 1238df29fb7..81a4e651fd9 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 6e515bd1c79..098fc7d8978 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 baf4f0c240e..fd7ebe6859f 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 c067248213b..dd537f1e3fa 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 f4ccb4991dd..8459c0b2fef 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 39adfcc69a5..bb8657f9a0a 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 a32716e91e8..5232b8a4df1 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-example-collection.tex b/Master/texmf-dist/doc/latex/oberdiek/embedfile-example-collection.tex
index 35b09dac544..36faf70f708 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/embedfile-example-collection.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/embedfile-example-collection.tex
@@ -34,7 +34,7 @@
\usepackage[bookmarks=false]{hyperref}
% provides \pdfstringdef that is then used by `title' and
% other keys.
-\usepackage{embedfile}[2007/10/28]
+\usepackage{embedfile}[2007/10/29]
\embedfilesetup{
view=details,
initialfile=embedfile.pdf
diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf
index 4df8b9767cc..ea56bab12f4 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 f0744494c23..b35c60d279f 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 67c8e82f870..6f4f40c58e2 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 1e8e58b0378..963a58c50bc 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 cf713a8c1e0..bc5f5ac4001 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/grfext.pdf b/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf
index a282f263cce..2bf9235e6b0 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 526f95e6fc5..d634f29c083 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/holtxdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf
index ca41007041d..04e6e7212be 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf
+++ b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.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 78d39316f18..bd1f487974e 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 b451aed65fe..6d5ccf00910 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 645e1068a38..3db9eff1d12 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 64fa5c97c4f..12a54f8b01d 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 4b0c021386d..5f2d6047109 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-example.tex b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe-example.tex
new file mode 100644
index 00000000000..b4683ea7d45
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe-example.tex
@@ -0,0 +1,92 @@
+%%
+%% This is file `hypgotoe-example.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hypgotoe.dtx (with options: `example')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% This work consists of the main source file hypgotoe.dtx
+%% and the derived files
+%% hypgotoe.sty, hypgotoe.pdf, hypgotoe.ins, hypgotoe.drv,
+%% hypgotoe-example.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{filecontents}
+\begin{filecontents}{hypgotoe-child.tex}
+\NeedsTeXFormat{LaTeX2e}
+\documentclass{article}
+\usepackage{hypgotoe}[2007/10/30]
+\begin{document}
+\section{This is the child document.}
+\href{gotoe:%
+ dest={page.1},parent%
+}{Go to first page of main document}\\
+\href{gotoe:%
+ dest={page.2},parent%
+}{Go to second page of main document}
+\newpage
+\section{This is the second page of the child document.}
+\href{gotoe:%
+ dest={page.1},parent%
+}{Go to first page of main document}\\
+\href{gotoe:%
+ dest={page.2},parent%
+}{Go to second page of main document}
+
+\hypertarget{foobar}{}
+Anker foobar is here.
+\end{document}
+\end{filecontents}
+\documentclass{article}
+\usepackage{hypgotoe}[2007/10/30]
+\usepackage{embedfile}
+\IfFileExists{hypgotoe-child.pdf}{%
+ \embedfile{hypgotoe-child.pdf}%
+}{%
+ \typeout{}%
+ \typeout{--> Run hypgotoe-child.tex through pdflatex}%
+ \typeout{}%
+}
+\begin{document}
+\section{First page of main document}
+\href{gotoe:%
+ dest=page.1,embedded=hypgotoe-child.pdf%
+}{Go to first page of child document}\\
+\href{gotoe:%
+ dest=page.2,embedded=hypgotoe-child.pdf%
+}{Go to second page of child document}\\
+\href{gotoe:%
+ dest=foobar,embedded=hypgotoe-child.pdf%
+}{Go to foobar in child document}
+\newpage
+\section{Second page of main document}
+\href{gotoe:%
+ dest=section.1,embedded=hypgotoe-child.pdf%
+}{Go to first section of child document}\\
+\href{gotoe:%
+ dest=section.2,embedded=hypgotoe-child.pdf%
+}{Go to second section of child document}\\
+\href{gotoe:%
+ dest=foobar,embedded=hypgotoe-child.pdf%
+}{Go to foobar in child document}
+\end{document}
+\endinput
+%%
+%% End of file `hypgotoe-example.tex'.
diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.pdf
new file mode 100644
index 00000000000..8598cd388bc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/oberdiek/hypgotoe.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 fca90422b78..6b03d43907b 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 a7476ef2187..2631d4ecd0a 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/ifpdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf
index 176972be2e6..55414485b3a 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 91fb5ec18c7..3412646b135 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 159d1fef728..7c7c49eea79 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 4614ba4df4e..80cf433d7ae 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 ec950b76de8..46a7a7ce7ee 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 7f020323841..61da64a457d 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.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf
index 4f641636778..e0628905157 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/listingsutf8.pdf b/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf
index 049987703f3..805b6035175 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/makerobust.pdf b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf
index 892bbfbef29..5fef6768426 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 089fc1717c1..aafcfbf26d4 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/pagesel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf
index 1568a76f28d..0bf6acacc2f 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 91d85fa9b99..68d89ffe63e 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 f501ff7a819..9ba3028f496 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 aac376e7614..9666528e5e7 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 15c6d49b080..e86e4239871 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 fa070c7552e..861df572327 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 3f4412fc4e0..26d3c67f36c 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 bbd7fce94dd..28fd50fe593 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 525924146f2..f8f74799700 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/picture.pdf b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf
index 3cb24d87a83..616d596d9f4 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 d6ce69314ed..dafe1d09367 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 41376b8075c..8695cfab095 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/selinput.pdf b/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf
index 51a4e88d875..f8cfc226318 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 763d5255937..c91379d1de1 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 3925a3dd5ae..20d8bb90bb6 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 90e2e4c1b0d..bac181641ba 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 ac2838b938d..39e24f42bdb 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/stringenc.pdf b/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf
index 5a12b39c34c..68ee8291070 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 bd6b1274568..acd2c0f4238 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 cfcaea86afd..c7b8fa5f746 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 6cde13b0129..f6e693380f5 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/embedfile-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex
index 49c5b1687e9..f9ea4940912 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex
@@ -33,10 +33,23 @@
\embedfile[%
stringmethod=escape,%
mimetype=plain/text,%
- desc={LaTeX docstrip source archive for package `embedfile'}%
+ desc={LaTeX docstrip source archive for package `embedfile'},%
+ id={embedfile.dtx}%
]{embedfile.dtx}
\nopagenumbers
Test (plain-\TeX): {\tt embedfile.dtx} should be embedded.%
+
+\def\Test#1{%
+ \par
+ \embedfileifobjectexists{embedfile.dtx}{#1}{%
+ Object #1 (embedfile.dtx): %
+ \embedfilegetobject{embedfile.dtx}{#1}%
+ }{%
+ \errmessage{Missing object #1 (embedfile.dtx)}%
+ }%
+}
+\Test{EmbeddedFile}
+\Test{Filespec}
\embedfilefinish
\bye
\endinput
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex
index 5fbe8cdc927..2afb4f67a64 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex
@@ -32,7 +32,7 @@
\NeedsTeXFormat{LaTeX2e}
\let\SavedJobname\jobname
\def\jobname{embedfile}
-\RequirePackage{dtx-attach}[2007/10/28]
+\RequirePackage{dtx-attach}[2007/10/29]
\let\jobname\SavedJobname
\documentclass{minimal}
\begin{document}
diff --git a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf
index 24198f13caf..a41db28bd1e 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 081ac908413..5ca92d63848 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/zref.pdf b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf
index 5367bfed291..608d6bce44b 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/embedfile.dtx b/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx
index 3e0236455e8..9f0879785bb 100644
--- a/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx
@@ -75,7 +75,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: embedfile 2007/10/28 v2.0 embed files into PDF (HO)}
+\Msg{* Package: embedfile 2007/10/29 v2.1 embed files into PDF (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -146,7 +146,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{embedfile.drv}%
- [2007/10/28 v2.0 embed files into PDF (HO)]%
+ [2007/10/29 v2.1 embed files into PDF (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2007/10/21]
\begin{document}
@@ -155,7 +155,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1223}
+% \CheckSum{1287}
%
% \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
@@ -176,7 +176,7 @@ and the derived files
% \GetFileInfo{embedfile.drv}
%
% \title{The \xpackage{embedfile} package}
-% \date{2007/10/28 v2.0}
+% \date{2007/10/29 v2.1}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -282,6 +282,10 @@ and the derived files
% \item[\xoption{\meta{key}.prefix}]
% Sets the prefix of a collection item property,
% see section \ref{sec:collection}.
+% \item[\xoption{id}]
+% The value must be an unique name. Macros
+% \cs{embedfileifobjectexists} and \cs{embedfilegetobject}
+% are using this name later.
% \end{description}
%
% \begin{declcs}{embedfilefinish}
@@ -402,6 +406,46 @@ and the derived files
% Its value is either \texttt{ascending} or \texttt{descending}.
% The default is \texttt{ascending}.
%
+% \subsection{Export of object references}
+%
+% Caution: This feature is still experimental. It may be even removed
+% in future versions. Therefore feedback would be nice, if someone
+% has a useful application for this feature.
+%
+% Object numbers are saved, if \xoption{id} is given in \cs{embedfile}.
+% The following objects are supported:
+% \begin{itemize}
+% \item \texttt{EmbeddedFile}
+% \item \texttt{Filespec}
+% \end{itemize}
+%
+% \begin{declcs}{embedfileifobjectexists} \M{id} \M{type}
+% \M{then} \M{else}
+% \end{declcs}
+% Macro \cs{embedfileifobjectexists} tests whether object of \meta{type}
+% is available for the embedded file identified by \meta{id}.
+%
+% \begin{declcs}{embedfilegetobject} \M{id} \M{type}
+% \end{declcs}
+% Macro \cs{embedfilegetobject} expands to the full object reference
+% object of \meta{type} for the embedded file identified by \meta{id}.
+%
+% \subsubsection{Example}
+%
+%\begin{quote}
+%\begin{verbatim}
+%\embedfile[id={foo}]{foo.pdf}
+%\embedfileifobjectexists{foo}{Filespec}{%
+% \typeout{%
+% FileSpec object for `foo': %
+% \embedfilegetobject{foo}{Filespec}%
+% }%
+%}{%
+% \typeout{No Filespec object for `foo'}%
+%}
+%\end{verbatim}
+%\end{quote}
+%
% \subsection{Examples}
% \label{sec:examples}
%
@@ -465,7 +509,7 @@ This example document contains three embedded files.
\usepackage[bookmarks=false]{hyperref}
% provides \pdfstringdef that is then used by `title' and
% other keys.
-\usepackage{embedfile}[2007/10/28]
+\usepackage{embedfile}[2007/10/29]
\embedfilesetup{
view=details,
initialfile=embedfile.pdf
@@ -533,8 +577,8 @@ You need Acrobat Reader 8 or higher.
%<*dtxattach>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{dtx-attach}
- [2007/10/28 v2.0 Embed \string\jobname.dtx (HO)]%
-\RequirePackage{embedfile}[2007/10/28]
+ [2007/10/29 v2.1 Embed \string\jobname.dtx (HO)]%
+\RequirePackage{embedfile}[2007/10/29]
\embedfile[%
stringmethod=escape,%
mimetype=plain/text,%
@@ -610,7 +654,7 @@ You need Acrobat Reader 8 or higher.
\fi
\expandafter\x\csname ver@embedfile.sty\endcsname
\ProvidesPackage{embedfile}%
- [2007/10/28 v2.0 embed files into PDF (HO)]
+ [2007/10/29 v2.1 embed files into PDF (HO)]
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -823,6 +867,11 @@ You need Acrobat Reader 8 or higher.
\newif\ifEmFi@finished
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\ifEmFi@id}
+% \begin{macrocode}
+\newif\ifEmFi@id
+% \end{macrocode}
+% \end{macro}
%
% \subsection{Key value definitions}
%
@@ -983,6 +1032,61 @@ You need Acrobat Reader 8 or higher.
}
% \end{macrocode}
%
+% Option \xoption{id} as key for object numbers.
+% \begin{macrocode}
+\define@key{EmFi}{id}{%
+ \def\EmFi@id{#1}%
+ \EmFi@idtrue
+}
+% \end{macrocode}
+% \begin{macro}{\EmFi@defobj}
+% \begin{macrocode}
+\def\EmFi@defobj#1{%
+ \ifEmFi@id
+ \expandafter\xdef\csname EmFi@#1@\EmFi@id\endcsname{%
+ \the\pdflastobj\space 0 R%
+ }%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\embedfileifobjectexists}
+% \begin{macrocode}
+\def\embedfileifobjectexists#1#2{%
+ \expandafter\ifx\csname EmFi@#2@#1\endcsname\relax
+ \expandafter\@secondoftwo
+ \else
+ \expandafter\@firstoftwo
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@firstoftwo}
+% \begin{macrocode}
+\expandafter\ifx\csname @firstoftwo\endcsname\relax
+ \long\def\@firstoftwo#1#2{#1}%
+\fi
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@secondoftwo}
+% \begin{macrocode}
+\expandafter\ifx\csname @secondoftwo\endcsname\relax
+ \long\def\@secondoftwo#1#2{#2}%
+\fi
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\embedfilegetobject}
+% \begin{macrocode}
+\def\embedfilegetobject#1#2{%
+ \embedfileifobjectexists{#1}{#2}{%
+ \csname EmFi@#2@#1\endcsname
+ }{%
+ 0 0 R%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
% Initial view of the collection.
% \begin{macrocode}
\define@key{EmFi}{view}[]{%
@@ -1327,6 +1431,7 @@ You need Acrobat Reader 8 or higher.
/CheckSum<\pdfmdfivesum file{\EmFi@file}>%
>>%
}file{\EmFi@file}\relax
+ \EmFi@defobj{EmbeddedFile}%
\immediate\pdfobj{%
<<%
/Type/Filespec%
@@ -1347,6 +1452,7 @@ You need Acrobat Reader 8 or higher.
\fi
>>%
}%
+ \EmFi@defobj{Filespec}%
\EmFi@add{%
\EmFi@@filespec
}{\the\pdflastobj\space 0 R}%
@@ -1605,10 +1711,23 @@ You need Acrobat Reader 8 or higher.
\embedfile[%
stringmethod=escape,%
mimetype=plain/text,%
- desc={LaTeX docstrip source archive for package `embedfile'}%
+ desc={LaTeX docstrip source archive for package `embedfile'},%
+ id={embedfile.dtx}%
]{embedfile.dtx}
\nopagenumbers
Test (plain-\TeX): {\tt embedfile.dtx} should be embedded.%
+
+\def\Test#1{%
+ \par
+ \embedfileifobjectexists{embedfile.dtx}{#1}{%
+ Object #1 (embedfile.dtx): %
+ \embedfilegetobject{embedfile.dtx}{#1}%
+ }{%
+ \errmessage{Missing object #1 (embedfile.dtx)}%
+ }%
+}
+\Test{EmbeddedFile}
+\Test{Filespec}
\embedfilefinish
\bye
%</test2>
@@ -1618,7 +1737,7 @@ Test (plain-\TeX): {\tt embedfile.dtx} should be embedded.%
\NeedsTeXFormat{LaTeX2e}
\let\SavedJobname\jobname
\def\jobname{embedfile}
-\RequirePackage{dtx-attach}[2007/10/28]
+\RequirePackage{dtx-attach}[2007/10/29]
\let\jobname\SavedJobname
\documentclass{minimal}
\begin{document}
@@ -1862,6 +1981,11 @@ Test (plain-\TeX): {\tt embedfile.dtx} should be embedded.%
% \item
% Collection support added (PDF 1.7).
% \end{Version}
+% \begin{Version}{2007/10/29 v2.1}
+% \item
+% Export of object references by adding new option \xoption{id} and
+% new macros \cs{embedfileifobjectexists} and \cs{embedfilegetobject}.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/source/latex/oberdiek/hypgotoe.dtx b/Master/texmf-dist/source/latex/oberdiek/hypgotoe.dtx
new file mode 100644
index 00000000000..f6f466b4676
--- /dev/null
+++ b/Master/texmf-dist/source/latex/oberdiek/hypgotoe.dtx
@@ -0,0 +1,663 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3 of this license or (at your option) any later
+% version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% This Current Maintainer of this work is Heiko Oberdiek.
+%
+% This work consists of the main source file hypgotoe.dtx
+% and the derived files
+% hypgotoe.sty, hypgotoe.pdf, hypgotoe.ins, hypgotoe.drv,
+% hypgotoe-example.tex.
+%
+% Distribution:
+% CTAN:macros/latex/contrib/oberdiek/hypgotoe.dtx
+% CTAN:macros/latex/contrib/oberdiek/hypgotoe.pdf
+%
+% Unpacking:
+% (a) If hypgotoe.ins is present:
+% tex hypgotoe.ins
+% (b) Without hypgotoe.ins:
+% tex hypgotoe.dtx
+% (c) If you insist on using LaTeX
+% latex \let\install=y\input{hypgotoe.dtx}
+% (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+% (a) If hypgotoe.drv is present:
+% latex hypgotoe.drv
+% (b) Without hypgotoe.drv:
+% latex hypgotoe.dtx; ...
+% The class ltxdoc loads the configuration file ltxdoc.cfg
+% if available. Here you can specify further options, e.g.
+% use A4 as paper format:
+% \PassOptionsToClass{a4paper}{article}
+%
+% Programm calls to get the documentation (example):
+% pdflatex hypgotoe.dtx
+% makeindex -s gind.ist hypgotoe.idx
+% pdflatex hypgotoe.dtx
+% makeindex -s gind.ist hypgotoe.idx
+% pdflatex hypgotoe.dtx
+%
+% Installation:
+% TDS:tex/latex/oberdiek/hypgotoe.sty
+% TDS:doc/latex/oberdiek/hypgotoe.pdf
+% TDS:doc/latex/oberdiek/hypgotoe-example.tex
+% TDS:source/latex/oberdiek/hypgotoe.dtx
+%
+%<*ignore>
+\begingroup
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifcase 0\ifx\install y1\fi\expandafter
+ \ifx\csname processbatchFile\endcsname\relax\else1\fi
+ \ifx\fmtname\x\else 1\fi\relax
+\else\csname fi\endcsname
+%</ignore>
+%<*install>
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: hypgotoe 2007/10/30 v0.1 Experimental links to embedded files (HO)}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3 of this license or (at your option) any later
+version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+This Current Maintainer of this work is Heiko Oberdiek.
+
+This work consists of the main source file hypgotoe.dtx
+and the derived files
+ hypgotoe.sty, hypgotoe.pdf, hypgotoe.ins, hypgotoe.drv,
+ hypgotoe-example.tex.
+
+\endpreamble
+
+\generate{%
+ \file{hypgotoe.ins}{\from{hypgotoe.dtx}{install}}%
+ \file{hypgotoe.drv}{\from{hypgotoe.dtx}{driver}}%
+ \usedir{tex/latex/oberdiek}%
+ \file{hypgotoe.sty}{\from{hypgotoe.dtx}{package}}%
+ \usedir{doc/latex/oberdiek}%
+ \file{hypgotoe-example.tex}{\from{hypgotoe.dtx}{example}}%
+}
+
+\obeyspaces
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* hypgotoe.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `hypgotoe.drv'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+%</install>
+%<*ignore>
+\fi
+%</ignore>
+%<*driver>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{hypgotoe.drv}%
+ [2007/10/30 v0.1 Experimental links to embedded files (HO)]%
+\documentclass{ltxdoc}
+\usepackage{holtxdoc}[2007/10/21]
+\begin{document}
+ \DocInput{hypgotoe.dtx}%
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{163}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \GetFileInfo{hypgotoe.drv}
+%
+% \title{The \xpackage{hypgotoe} package}
+% \date{2007/10/30 v0.1}
+% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
+%
+% \maketitle
+%
+% \begin{abstract}
+% Experimental package for links to embedded files.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \section{Documentation}
+%
+% \subsection{Introduction}
+%
+% This is a first experiment for links to embedded files.
+% The package \xpackage{hypgotoe} is named after the PDF action
+% name \texttt{/GoToE}.
+% Feedback is welcome, especially to the user interface.
+% \begin{itemize}
+% \item
+% Currently only embedded files and named destinations are supported.
+% \item
+% Missing are support for destination arrays and attachted files.
+% \item
+% Special characters aren't supported either.
+% \end{itemize}
+% In the future the package may be merged into package \xpackage{hyperref}.
+%
+% \subsection{User interface}
+%
+% \cs{href} is extended to detect the prefix `\texttt{gotoe:}'.
+% The part after the prefix is evaluated as key value list
+% from left to right.
+% For details, see ``8.5.3 Action Types, Embedded Go-To Actions''
+% \cite{pdfspec}.
+% \begin{description}
+% \item[\xoption{dest}:] The destination name. The destination name
+% can be set by \cs{hypertarget} in the target document. Or check
+% the \xfile{.aux} file for destination names of \cs{label} commands.
+% Also the target PDF file can be inspected, look for \texttt{/Dests}
+% in the /Names entry of the catalog for named destinations. (Required.)
+% \item[\xoption{root}:] The file name of the root document.
+% (Optional.)
+% \item[\xoption{parent}:] Go to the parent document. (No value, optional.)
+% \item[\xoption{embedded}:] Go to the embedded document. The
+% value is the file name as it appears in /EmbeddedFiles of the current
+% document.
+% \end{description}
+%
+% The colors are controlled by \xpackage{hyperref}'s options
+% \xoption{gotoecolor} and \xoption{gotoebordercolor}. They can
+% be set in \cs{hypersetup}, for example.
+% Default is the color of file links.
+%
+% \subsection{Example}
+%
+% \begin{macrocode}
+%<*example>
+\NeedsTeXFormat{LaTeX2e}
+\RequirePackage{filecontents}
+\begin{filecontents}{hypgotoe-child.tex}
+\NeedsTeXFormat{LaTeX2e}
+\documentclass{article}
+\usepackage{hypgotoe}[2007/10/30]
+\begin{document}
+\section{This is the child document.}
+\href{gotoe:%
+ dest={page.1},parent%
+}{Go to first page of main document}\\
+\href{gotoe:%
+ dest={page.2},parent%
+}{Go to second page of main document}
+\newpage
+\section{This is the second page of the child document.}
+\href{gotoe:%
+ dest={page.1},parent%
+}{Go to first page of main document}\\
+\href{gotoe:%
+ dest={page.2},parent%
+}{Go to second page of main document}
+
+\hypertarget{foobar}{}
+Anker foobar is here.
+\end{document}
+\end{filecontents}
+\documentclass{article}
+\usepackage{hypgotoe}[2007/10/30]
+\usepackage{embedfile}
+\IfFileExists{hypgotoe-child.pdf}{%
+ \embedfile{hypgotoe-child.pdf}%
+}{%
+ \typeout{}%
+ \typeout{--> Run hypgotoe-child.tex through pdflatex}%
+ \typeout{}%
+}
+\begin{document}
+\section{First page of main document}
+\href{gotoe:%
+ dest=page.1,embedded=hypgotoe-child.pdf%
+}{Go to first page of child document}\\
+\href{gotoe:%
+ dest=page.2,embedded=hypgotoe-child.pdf%
+}{Go to second page of child document}\\
+\href{gotoe:%
+ dest=foobar,embedded=hypgotoe-child.pdf%
+}{Go to foobar in child document}
+\newpage
+\section{Second page of main document}
+\href{gotoe:%
+ dest=section.1,embedded=hypgotoe-child.pdf%
+}{Go to first section of child document}\\
+\href{gotoe:%
+ dest=section.2,embedded=hypgotoe-child.pdf%
+}{Go to second section of child document}\\
+\href{gotoe:%
+ dest=foobar,embedded=hypgotoe-child.pdf%
+}{Go to foobar in child document}
+\end{document}
+%</example>
+% \end{macrocode}
+%
+% \StopEventually{
+% }
+%
+% \section{Implementation}
+%
+% \subsection{Identification}
+%
+% \begin{macrocode}
+%<*package>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{hypgotoe}%
+ [2007/10/30 v0.1 Experimental links to embedded files (HO)]%
+% \end{macrocode}
+%
+% \subsection{Load packages}
+%
+% \begin{macrocode}
+\RequirePackage{ifpdf}[2007/09/09]
+\ifpdf
+\else
+ \PackageError{hypgotoe}{%
+ Other drivers than pdfTeX in PDF mode are not supported.%
+ \MessageBreak
+ Package loading is aborted%
+ }\@ehc
+ \expandafter\endinput
+\fi
+\RequirePackage{pdfescape}[2007/10/27]
+\RequirePackage{hyperref}[2007/10/30]
+% \end{macrocode}
+%
+% \subsection{Color support}
+%
+% \begin{macrocode}
+\define@key{Hyp}{gotoebordercolor}{%
+ \HyColor@HyperrefBordercolor{#1}%
+ \@gotoebordercolor{hyperref}{gotoebordercolor}%
+}
+\providecommand*{\@gotoecolor}{\@filecolor}
+\providecommand*{\@gotoebordercolor}{\@filebordercolor}
+% \end{macrocode}
+%
+% \subsection{Extend \cs{href}}
+%
+% \begin{macro}{\@hyper@readexternallink}
+% \begin{macrocode}
+\def\@hyper@readexternallink#1#2#3#4:#5:#6\\#7{%
+ \ifx\\#6\\%
+ \expandafter\@hyper@linkfile file:#7\\{#3}{#2}%
+ \else
+ \ifx\\#4\\%
+ \expandafter\@hyper@linkfile file:#7\\{#3}{#2}%
+ \else
+ \def\@pdftempa{#4}%
+ \ifx\@pdftempa\@pdftempwordfile
+ \expandafter\@hyper@linkfile#7\\{#3}{#2}%
+ \else
+ \ifx\@pdftempa\@pdftempwordrun
+ \expandafter\@hyper@launch#7\\{#3}{#2}%
+ \else
+ \ifx\@pdftempa\@pdftempwordgotoe
+ \hyper@linkgotoe{#3}{#5}%
+ \else
+ \hyper@linkurl{#3}{#7\ifx\\#2\\\else\hyper@hash#2\fi}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\@pdftempwordgotoe}
+% \begin{macrocode}
+\def\@pdftempwordgotoe{gotoe}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Implement gotoe action}
+%
+% \begin{macro}{\hyper@linkgotoe}
+% \begin{macrocode}
+\def\hyper@linkgotoe#1#2{%
+ \begingroup
+ \let\HyGoToE@Root\@empty
+ \let\HyGoToE@Dest\@empty
+ \let\HyGoToE@TBegin\@empty
+ \let\HyGoToE@TEnd\@empty
+ \setkeys{HyGoToE}{#2}%
+ \leavevmode
+ \pdfstartlink
+ attr{%
+ \Hy@setpdfborder
+ \ifx\@pdfhightlight\@empty
+ \else
+ /H\@pdfhighlight
+ \fi
+ \ifx\@urlbordercolor\relax
+ \else
+ /C[\@urlbordercolor]%
+ \fi
+ }%
+ user{%
+ /Subtype/Link%
+ /A<<%
+ /Type/Action%
+ /S/GoToE%
+ \Hy@SetNewWindow
+ \HyGoToE@Root
+ \HyGoToE@Dest
+ \HyGoToE@TBegin
+ \HyGoToE@TEnd
+ >>%
+ }%
+ \relax
+ \Hy@colorlink\@gotoecolor#1%
+ \close@pdflink
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Keys for gotoe action}
+%
+% \begin{macrocode}
+\define@key{HyGoToE}{root}{%
+ \EdefEscapeString\HyGoToE@temp{#1}%
+ \edef\HyGoToE@Root{%
+ /F<<%
+ /Type/Filespec%
+ /F(\HyGoToE@temp)%
+ >>%
+ }%
+}
+\define@key{HyGoToE}{dest}{%
+ \EdefEscapeString\HyGoToE@temp{#1}%
+ \edef\HyGoToE@Dest{%
+ /D(\HyGoToE@temp)%
+ }%
+}
+\define@key{HyGoToE}{parent}[]{%
+ \def\HyGoToE@temp{#1}%
+ \ifx\HyGoToE@temp\@empty
+ \else
+ \PackageWarning{hypgotoe}{Ignore value for `parent'}%
+ \fi
+ \edef\HyGoToE@TBegin{%
+ \HyGoToE@TBegin
+ /T<<%
+ /R/P%
+ }%
+ \edef\HyGoToE@TEnd{%
+ \HyGoToE@TEnd
+ >>%
+ }%
+}
+\define@key{HyGoToE}{embedded}{%
+ \EdefEscapeString\HyGoToE@temp{#1}%
+ \edef\HyGoToE@TBegin{%
+ \HyGoToE@TBegin
+ /T<<%
+ /R/C%
+ /N(\HyGoToE@temp)%
+ }%
+ \edef\HyGoToE@TEnd{%
+ \HyGoToE@TEnd
+ >>%
+ }%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+% \section{Installation}
+%
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
+% CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}:
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/oberdiek/hypgotoe.dtx}] The source file.
+% \item[\CTAN{macros/latex/contrib/oberdiek/hypgotoe.pdf}] Documentation.
+% \end{description}
+%
+%
+% \paragraph{Bundle.} All the packages of the bundle `oberdiek'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/oberdiek/oberdiek-tds.zip}]
+% \end{description}
+% \emph{TDS} refers to the standard ``A Directory Structure
+% for \TeX\ Files'' (\CTAN{tds/tds.pdf}). Directories
+% with \xfile{texmf} in their name are usually organized this way.
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{oberdiek-tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip oberdiek-tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \paragraph{Script installation.}
+% Check the directory \xfile{TDS:scripts/oberdiek/} for
+% scripts that need further installation steps.
+% Package \xpackage{attachfile2} comes with the Perl script
+% \xfile{pdfatfi.pl} that should be installed in such a way
+% that it can be called as \texttt{pdfatfi}.
+% Example (linux):
+% \begin{quote}
+% |chmod +x scripts/oberdiek/pdfatfi.pl|\\
+% |cp scripts/oberdiek/pdfatfi.pl /usr/local/bin/|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
+% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
+% \docstrip\ archive. The files are extracted by running the
+% \xfile{.dtx} through \plainTeX:
+% \begin{quote}
+% \verb|tex hypgotoe.dtx|
+% \end{quote}
+%
+% \paragraph{TDS.} Now the different files must be moved into
+% the different directories in your installation TDS tree
+% (also known as \xfile{texmf} tree):
+% \begin{quote}
+% \def\t{^^A
+% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
+% hypgotoe.sty & tex/latex/oberdiek/hypgotoe.sty\\
+% hypgotoe.pdf & doc/latex/oberdiek/hypgotoe.pdf\\
+% hypgotoe-example.tex & doc/latex/oberdiek/hypgotoe-example.tex\\
+% hypgotoe.dtx & source/latex/oberdiek/hypgotoe.dtx\\
+% \end{tabular}^^A
+% }^^A
+% \sbox0{\t}^^A
+% \ifdim\wd0>\linewidth
+% \begingroup
+% \advance\linewidth by\leftmargin
+% \advance\linewidth by\rightmargin
+% \edef\x{\endgroup
+% \def\noexpand\lw{\the\linewidth}^^A
+% }\x
+% \def\lwbox{^^A
+% \leavevmode
+% \hbox to \linewidth{^^A
+% \kern-\leftmargin\relax
+% \hss
+% \usebox0
+% \hss
+% \kern-\rightmargin\relax
+% }^^A
+% }^^A
+% \ifdim\wd0>\lw
+% \sbox0{\small\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\footnotesize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\scriptsize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\tiny\t}^^A
+% \ifdim\wd0>\linewidth
+% \lwbox
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \end{quote}
+% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
+% TDS installing feature, then some files can already be in the right
+% place, see the documentation of \docstrip.
+%
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\teTeX, \mikTeX, \dots) relies on file name databases, you must refresh
+% these. For example, \teTeX\ users run \verb|texhash| or
+% \verb|mktexlsr|.
+%
+% \subsection{Some details for the interested}
+%
+% \paragraph{Attached source.}
+%
+% The PDF documentation on CTAN also includes the
+% \xfile{.dtx} source file. It can be extracted by
+% AcrobatReader 6 or higher. Another option is \textsf{pdftk},
+% e.g. unpack the file into the current directory:
+% \begin{quote}
+% \verb|pdftk hypgotoe.pdf unpack_files output .|
+% \end{quote}
+%
+% \paragraph{Unpacking with \LaTeX.}
+% The \xfile{.dtx} chooses its action depending on the format:
+% \begin{description}
+% \item[\plainTeX:] Run \docstrip\ and extract the files.
+% \item[\LaTeX:] Generate the documentation.
+% \end{description}
+% If you insist on using \LaTeX\ for \docstrip\ (really,
+% \docstrip\ does not need \LaTeX), then inform the autodetect routine
+% about your intention:
+% \begin{quote}
+% \verb|latex \let\install=y\input{hypgotoe.dtx}|
+% \end{quote}
+% Do not forget to quote the argument according to the demands
+% of your shell.
+%
+% \paragraph{Generating the documentation.}
+% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
+% the documentation. The process can be configured by the
+% configuration file \xfile{ltxdoc.cfg}. For instance, put this
+% line into this file, if you want to have A4 as paper format:
+% \begin{quote}
+% \verb|\PassOptionsToClass{a4paper}{article}|
+% \end{quote}
+% An example follows how to generate the
+% documentation with pdf\LaTeX:
+% \begin{quote}
+%\begin{verbatim}
+%pdflatex hypgotoe.dtx
+%makeindex -s gind.ist hypgotoe.idx
+%pdflatex hypgotoe.dtx
+%makeindex -s gind.ist hypgotoe.idx
+%pdflatex hypgotoe.dtx
+%\end{verbatim}
+% \end{quote}
+%
+% \begin{thebibliography}{9}
+% \bibitem{pdfspec}
+% Adobe Systems Incorporated:
+% \href{http://www.adobe.com/devnet/acrobat/pdfs/pdf_reference.pdf}%
+% {\textit{PDF Reference, Sixth Edition, Version 1.7}},%
+% Oktober 2006;
+% \url{http://www.adobe.com/devnet/pdf/pdf_reference.html}.
+%
+% \end{thebibliography}
+%
+% \begin{History}
+% \begin{Version}{2007/10/30 v0.1}
+% \item
+% First experimental version.
+% \end{Version}
+% \end{History}
+%
+% \PrintIndex
+%
+% \Finale
+\endinput
diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins b/Master/texmf-dist/source/latex/oberdiek/oberdiek.ins
index f6e65957400..d6789f4cbb6 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
-% 2007/10/28
+% 2007/10/29
%
% Copyright (C) 1999, 2001, 2006 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
@@ -53,6 +53,7 @@
\batchinput{hypcap.dtx}
\batchinput{hypdestopt.dtx}
\batchinput{hypdoc.dtx}
+\batchinput{hypgotoe.dtx}
\batchinput{ifdraft.dtx}
\batchinput{iflang.dtx}
\batchinput{ifpdf.dtx}
diff --git a/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex b/Master/texmf-dist/source/latex/oberdiek/oberdiek.tex
index 1dfd8f4780a..159189695e1 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}{2007/10/28}
+\newcommand*{\Date}{2007/10/29}
% Copyright (C) 2006 by
% Heiko Oberdiek <oberdiek@uni-freiburg.de>
@@ -192,7 +192,7 @@
[\entrysep]
\entry{dvipscol}{2006/02/20}{1.1}{Fix for dvips.def}%
[\entrysep]
-\entry{embedfile}{2007/10/28}{2.0}{embed files into PDF}%
+\entry{embedfile}{2007/10/29}{2.1}{embed files into PDF}%
[\entrysep]
\entry{engord}{2007/09/20}{1.6}{Provides English ordinal numbers}%
[\entrysep]
@@ -218,6 +218,8 @@
[\entrysep]
\entry{hypdoc}{2007/04/11}{1.5}{Hyper extensions for doc.sty}%
[\entrysep]
+\entry{hypgotoe}{2007/10/30}{0.1}{Experimental links to embedded files}%
+[\entrysep]
\entry{ifdraft}{2006/02/20}{1.2}{Switch for option draft}%
[\entrysep]
\entry{iflang}{2007/09/09}{1.4}{Language checks}%
@@ -619,6 +621,14 @@ are linked as far as possible.
\tocinclude{hypdoc}
\newpage
+\subsection{\pkgsectformat{hypgotoe}}
+\label{hypgotoe}
+\begin{abstract}
+Experimental package for links to embedded files.
+\end{abstract}
+\tocinclude{hypgotoe}
+
+\newpage
\subsection{\pkgsectformat{ifdraft}}
\label{ifdraft}
\begin{abstract}
diff --git a/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty b/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty
index e0bb55bdef6..1027a683717 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/dtx-attach.sty
@@ -31,8 +31,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{dtx-attach}
- [2007/10/28 v2.0 Embed \string\jobname.dtx (HO)]%
-\RequirePackage{embedfile}[2007/10/28]
+ [2007/10/29 v2.1 Embed \string\jobname.dtx (HO)]%
+\RequirePackage{embedfile}[2007/10/29]
\embedfile[%
stringmethod=escape,%
mimetype=plain/text,%
diff --git a/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty b/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty
index 4a9d4a72c6d..833c0c2215f 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/embedfile.sty
@@ -81,7 +81,7 @@
\fi
\expandafter\x\csname ver@embedfile.sty\endcsname
\ProvidesPackage{embedfile}%
- [2007/10/28 v2.0 embed files into PDF (HO)]
+ [2007/10/29 v2.1 embed files into PDF (HO)]
\expandafter\edef\csname EmFi@AtEnd\endcsname{%
\catcode64 \the\catcode64\relax
}
@@ -166,6 +166,7 @@
\newif\ifEmFi@edit
\newif\ifEmFi@item
\newif\ifEmFi@finished
+\newif\ifEmFi@id
\expandafter\ifx\csname define@key\endcsname\relax
\chardef\EmFi@plain=\z@
\def\EmFi@temp#1{%
@@ -271,6 +272,37 @@
\fi
\fi
}
+\define@key{EmFi}{id}{%
+ \def\EmFi@id{#1}%
+ \EmFi@idtrue
+}
+\def\EmFi@defobj#1{%
+ \ifEmFi@id
+ \expandafter\xdef\csname EmFi@#1@\EmFi@id\endcsname{%
+ \the\pdflastobj\space 0 R%
+ }%
+ \fi
+}
+\def\embedfileifobjectexists#1#2{%
+ \expandafter\ifx\csname EmFi@#2@#1\endcsname\relax
+ \expandafter\@secondoftwo
+ \else
+ \expandafter\@firstoftwo
+ \fi
+}
+\expandafter\ifx\csname @firstoftwo\endcsname\relax
+ \long\def\@firstoftwo#1#2{#1}%
+\fi
+\expandafter\ifx\csname @secondoftwo\endcsname\relax
+ \long\def\@secondoftwo#1#2{#2}%
+\fi
+\def\embedfilegetobject#1#2{%
+ \embedfileifobjectexists{#1}{#2}{%
+ \csname EmFi@#2@#1\endcsname
+ }{%
+ 0 0 R%
+ }%
+}
\define@key{EmFi}{view}[]{%
\EdefSanitize\EmFi@temp{#1}%
\def\EmFi@next{%
@@ -546,6 +578,7 @@
/CheckSum<\pdfmdfivesum file{\EmFi@file}>%
>>%
}file{\EmFi@file}\relax
+ \EmFi@defobj{EmbeddedFile}%
\immediate\pdfobj{%
<<%
/Type/Filespec%
@@ -566,6 +599,7 @@
\fi
>>%
}%
+ \EmFi@defobj{Filespec}%
\EmFi@add{%
\EmFi@@filespec
}{\the\pdflastobj\space 0 R}%
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hypgotoe.sty b/Master/texmf-dist/tex/latex/oberdiek/hypgotoe.sty
new file mode 100644
index 00000000000..1ff10b43460
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/oberdiek/hypgotoe.sty
@@ -0,0 +1,159 @@
+%%
+%% This is file `hypgotoe.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hypgotoe.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% This work consists of the main source file hypgotoe.dtx
+%% and the derived files
+%% hypgotoe.sty, hypgotoe.pdf, hypgotoe.ins, hypgotoe.drv,
+%% hypgotoe-example.tex.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{hypgotoe}%
+ [2007/10/30 v0.1 Experimental links to embedded files (HO)]%
+\RequirePackage{ifpdf}[2007/09/09]
+\ifpdf
+\else
+ \PackageError{hypgotoe}{%
+ Other drivers than pdfTeX in PDF mode are not supported.%
+ \MessageBreak
+ Package loading is aborted%
+ }\@ehc
+ \expandafter\endinput
+\fi
+\RequirePackage{pdfescape}[2007/10/27]
+\RequirePackage{hyperref}[2007/10/30]
+\define@key{Hyp}{gotoebordercolor}{%
+ \HyColor@HyperrefBordercolor{#1}%
+ \@gotoebordercolor{hyperref}{gotoebordercolor}%
+}
+\providecommand*{\@gotoecolor}{\@filecolor}
+\providecommand*{\@gotoebordercolor}{\@filebordercolor}
+\def\@hyper@readexternallink#1#2#3#4:#5:#6\\#7{%
+ \ifx\\#6\\%
+ \expandafter\@hyper@linkfile file:#7\\{#3}{#2}%
+ \else
+ \ifx\\#4\\%
+ \expandafter\@hyper@linkfile file:#7\\{#3}{#2}%
+ \else
+ \def\@pdftempa{#4}%
+ \ifx\@pdftempa\@pdftempwordfile
+ \expandafter\@hyper@linkfile#7\\{#3}{#2}%
+ \else
+ \ifx\@pdftempa\@pdftempwordrun
+ \expandafter\@hyper@launch#7\\{#3}{#2}%
+ \else
+ \ifx\@pdftempa\@pdftempwordgotoe
+ \hyper@linkgotoe{#3}{#5}%
+ \else
+ \hyper@linkurl{#3}{#7\ifx\\#2\\\else\hyper@hash#2\fi}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+}
+\def\@pdftempwordgotoe{gotoe}
+\def\hyper@linkgotoe#1#2{%
+ \begingroup
+ \let\HyGoToE@Root\@empty
+ \let\HyGoToE@Dest\@empty
+ \let\HyGoToE@TBegin\@empty
+ \let\HyGoToE@TEnd\@empty
+ \setkeys{HyGoToE}{#2}%
+ \leavevmode
+ \pdfstartlink
+ attr{%
+ \Hy@setpdfborder
+ \ifx\@pdfhightlight\@empty
+ \else
+ /H\@pdfhighlight
+ \fi
+ \ifx\@urlbordercolor\relax
+ \else
+ /C[\@urlbordercolor]%
+ \fi
+ }%
+ user{%
+ /Subtype/Link%
+ /A<<%
+ /Type/Action%
+ /S/GoToE%
+ \Hy@SetNewWindow
+ \HyGoToE@Root
+ \HyGoToE@Dest
+ \HyGoToE@TBegin
+ \HyGoToE@TEnd
+ >>%
+ }%
+ \relax
+ \Hy@colorlink\@gotoecolor#1%
+ \close@pdflink
+ \endgroup
+}
+\define@key{HyGoToE}{root}{%
+ \EdefEscapeString\HyGoToE@temp{#1}%
+ \edef\HyGoToE@Root{%
+ /F<<%
+ /Type/Filespec%
+ /F(\HyGoToE@temp)%
+ >>%
+ }%
+}
+\define@key{HyGoToE}{dest}{%
+ \EdefEscapeString\HyGoToE@temp{#1}%
+ \edef\HyGoToE@Dest{%
+ /D(\HyGoToE@temp)%
+ }%
+}
+\define@key{HyGoToE}{parent}[]{%
+ \def\HyGoToE@temp{#1}%
+ \ifx\HyGoToE@temp\@empty
+ \else
+ \PackageWarning{hypgotoe}{Ignore value for `parent'}%
+ \fi
+ \edef\HyGoToE@TBegin{%
+ \HyGoToE@TBegin
+ /T<<%
+ /R/P%
+ }%
+ \edef\HyGoToE@TEnd{%
+ \HyGoToE@TEnd
+ >>%
+ }%
+}
+\define@key{HyGoToE}{embedded}{%
+ \EdefEscapeString\HyGoToE@temp{#1}%
+ \edef\HyGoToE@TBegin{%
+ \HyGoToE@TBegin
+ /T<<%
+ /R/C%
+ /N(\HyGoToE@temp)%
+ }%
+ \edef\HyGoToE@TEnd{%
+ \HyGoToE@TEnd
+ >>%
+ }%
+}
+\endinput
+%%
+%% End of file `hypgotoe.sty'.