diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
5 files changed, 225 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/backref.dtx b/Master/texmf-dist/source/latex/hyperref/backref.dtx index 02c5068260d..dd31e66d710 100644 --- a/Master/texmf-dist/source/latex/hyperref/backref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/backref.dtx @@ -2,6 +2,8 @@ %% File: backref.dtx %% Copyright (C) 1995-2000 David Carlisle, Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek +%% 2016 Oberdiek Package Suport Group +%% https://github.com/ho-tex/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- @@ -29,7 +31,7 @@ %<driver>\ProvidesFile{backref.drv} % \fi % \ProvidesFile{backref.dtx} - [2012/07/25 v1.38 Bibliographical back referencing]% + [2016/05/21 v1.39 Bibliographical back referencing]% % % \CheckSum{768} % @@ -50,7 +52,7 @@ last revised \filedate.% }% }% - \author{David Carlisle and Sebastian Rahtz}% + \author{David Carlisle and Sebastian Rahtz (deceased)}% \date{\filedate}% \maketitle \makeatletter diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 0ea2b99f524..da702f474b2 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -2,6 +2,8 @@ %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz, %% with portions written by David Carlisle and Heiko Oberdiek, %% 2001-2012 Heiko Oberdiek. +%% 2016 Oberdiek Package Suport Group +%% https://github.com/ho-tex/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- @@ -28,6 +30,7 @@ %<check>\ProvidesFile{hycheck.tex} %<hypertex>\ProvidesFile{hypertex.def} %<pdftex>\ProvidesFile{hpdftex.def} +%<luatex>\ProvidesFile{hluatex.def} %<pdfmark>\ProvidesFile{pdfmark.def} %<vtexpdfmark>\ProvidesFile{hvtexmrk.def} %<dvips>\ProvidesFile{hdvips.def} @@ -45,7 +48,7 @@ %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} %<psdextra>\ProvidesFile{psdextra.def} -%<!none> [2016/05/05 v6.83n % +%<!none> [2016/05/21 v6.83p % %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -54,6 +57,8 @@ %<hypertex>\Hy@VersionCheck{hypertex.def} %<pdftex> Hyperref driver for pdfTeX] %<pdftex>\Hy@VersionCheck{hpdftex.def} +%<luatex> Hyperref driver for luaTeX] +%<luatex>\Hy@VersionCheck{hluatex.def} %<pdfmark> Hyperref definitions for pdfmark specials] %<pdfmark>\Hy@VersionCheck{pdfmark.def} %<vtexpdfmark> Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] @@ -111,12 +116,11 @@ % % title % - \GetFileInfo{hyperref.drv}% + \GetFileInfo{hyperref.sty}% \title{Hypertext marks in \LaTeX}% - \author{Sebastian Rahtz\\% - Email: \texttt{sebastian.rahtz at oucs.ox.ac.uk}\\[1.5ex]% + \author{Sebastian Rahtz (deceased)\\% Heiko Oberdiek (maintainer)\\% - Email: \texttt{heiko.oberdiek at googlemail.com}}% + \texttt{https://github.com/ho-tex/hyperref/issues}}% % \date{processed \today}% \date{\filedate\space\fileversion}% \maketitle @@ -147,7 +151,6 @@ \end{document} %</driver> % \fi -% \CheckSum{39767} % % \MakeShortVerb{|} % \StopEventually{} @@ -499,9 +502,9 @@ % Until a Lua\TeX\ driver is writen, load |luatex85| so that % the |pdftex| driver continues to work with Lua\TeX. % \begin{macrocode} -\ifx\directlua\@undefined\else - \RequirePackage{luatex85} -\fi +%\ifx\directlua\@undefined\else +% \RequirePackage{luatex85} +%\fi % \end{macrocode} % % \subsection{Save catcodes} @@ -5360,6 +5363,7 @@ \DeclareVoidOption{pdftex}{% \ifpdf \def\Hy@driver{hpdftex}% + \PassOptionsToPackage{pdftex}{color}% \else \Hy@Error{% Wrong driver option `pdftex',\MessageBreak @@ -5367,9 +5371,26 @@ }\@ehc \fi } +\DeclareVoidOption{luatex}{% + \ifpdf + \ifx\pdfextension\@undefined + \def\Hy@driver{hpdftex}% + \PassOptionsToPackage{pdftex}{color}% + \else + \def\Hy@driver{hluatex}% + \PassOptionsToPackage{luatex}{color}% + \fi + \else + \Hy@Error{% + Wrong driver option `luatex',\MessageBreak + because luaTeX in PDF mode is not detected% + }\@ehc + \fi +} \DeclareVoidOption{nativepdf}{% \HyOpt@CheckDvi{nativepdf}{% \def\Hy@driver{hdvips}% + \PassOptionsToPackage{dvips}{color}% }% } \DeclareVoidOption{dvipdfm}{% @@ -5380,6 +5401,7 @@ \DeclareVoidOption{dvipdfmx}{% \HyOpt@CheckDvi{dvipdfmx}{% \def\Hy@driver{hdvipdfm}% + \PassOptionsToPackage{dvipdfmx}{color}% }% } \define@key{Hyp}{dvipdfmx-outline-open}[true]{% @@ -5408,6 +5430,7 @@ \DeclareVoidOption{dvips}{% \HyOpt@CheckDvi{dvips}{% \def\Hy@driver{hdvips}% + \PassOptionsToPackage{dvips}{color}% }% } \DeclareVoidOption{hypertex}{% @@ -5472,6 +5495,7 @@ \DeclareVoidOption{dvipsone}{% \HyOpt@CheckDvi{dvipsone}{% \def\Hy@driver{hdvipson}% + \PassOptionsToPackage{dvipsone}{color}% }% } \DeclareVoidOption{textures}{% @@ -5490,6 +5514,7 @@ \DeclareVoidOption{ps2pdf}{% \HyOpt@CheckDvi{ps2pdf}{% \def\Hy@driver{hdvips}% + \PassOptionsToPackage{dvips}{color}% }% } % \end{macrocode} @@ -5919,6 +5944,28 @@ \def\theoremautorefname{Teorema}% \def\pageautorefname{P\'agina}% } +% \end{macrocode} +% \begin{macrocode} +\def\HyLang@catalan{% +\def\equationautorefname{Equaci\'o}% +\def\footnoteautorefname{Nota al peu de p\`agina}% +\def\itemautorefname{Element}% +\def\figureautorefname{Figura}% +\def\tableautorefname{Taula}% +\def\partautorefname{Part}% +\def\appendixautorefname{Ap\`endix}% +\def\chapterautorefname{Cap\'itol}% +\def\sectionautorefname{Secci\'o}% +\def\subsectionautorefname{Subsecci\'o}% +\def\subsubsectionautorefname{Subsubsecci\'o}% +\def\paragraphautorefname{Par\`agraf}% +\def\subparagraphautorefname{Subpar\`agraf}% +\def\FancyVerbLineautorefname{L\'inia}% +\def\theoremautorefname{Teorema}% +\def\pageautorefname{P\`agina}% +} +% \end{macrocode} +% \begin{macrocode} \def\HyLang@vietnamese{% \def\equationautorefname{Ph\uhorn{}\ohorn{}ng tr\`inh}% \def\footnoteautorefname{Ch\'u th\'ich}% @@ -6003,6 +6050,7 @@ \HyLang@DeclareLang{brazilian}{portuges}{} \HyLang@DeclareLang{portuguese}{portuges}{} \HyLang@DeclareLang{spanish}{spanish}{} +\HyLang@DeclareLang{catalan}{catalan}{} \HyLang@DeclareLang{afrikaans}{afrikaans}{} \HyLang@DeclareLang{french}{french}{} \HyLang@DeclareLang{frenchb}{french}{} @@ -7354,7 +7402,11 @@ \def\HyOpt@DriverType{ (autodetected)}% \providecommand*{\Hy@defaultdriver}{hypertex}% \ifpdf - \def\Hy@driver{hpdftex}% + \ifx\pdfextension\@undefined + \def\Hy@driver{hpdftex}% + \else + \def\Hy@driver{hluatex}% + \fi \else \ifxetex \def\Hy@driver{hxetex}% @@ -9362,7 +9414,7 @@ \def\Fld@align{#1}% } \define@key{Field}{value}{% - \def\Fld@value{#1}% + \Hy@pdfstringdef\Fld@value{#1}% } \define@key{Field}{checkboxsymbol}{% \Fld@DingDef\Fld@cbsymbol{#1}% @@ -11315,6 +11367,7 @@ % % Support for package \texttt{amsthm} (Daniel M\"ullner): % \begin{macrocode} +\Hy@AtBeginDocument{% \@ifpackageloaded{amsthm}{% % \end{macrocode} % Class amsbook uses a different definition of \cs{@thm}, @@ -11446,7 +11499,16 @@ \clubpenalty\@clubpenalty \everypar{}% \fi }% -}{} +}% +% \end{macrocode} +% non \texttt{amsthm} case, remove final space on line before a theorem +% for githib issue 11. +% \begin{macrocode} +{% +\let\Hy@savedthm\@thm +\def\@thm{\ifhmode\unskip\fi\Hy@savedthm}% +}% +} % \end{macrocode} % % \section{Footnotes}\label{footnotes} @@ -14997,10 +15059,12 @@ \Hy@DisableOption{ocgcolorlinks}% \fi % \end{macrocode} +% Use primitive counter arithmetic here to avoid amsmath +% redefining |\stepcounter| (github issue/13) % \begin{macrocode} \def\Hy@BeginAnnot#1{% - \stepcounter{Hy@AnnotLevel}% - \ifnum\value{Hy@AnnotLevel}=\@ne + \global\advance\c@Hy@AnnotLevel\@ne + \ifnum\c@Hy@AnnotLevel=\@ne #1% \fi } @@ -15009,7 +15073,7 @@ \Hy@endcolorlink \@pdfm@mark{eann}% \fi - \addtocounter{Hy@AnnotLevel}\m@ne + \global\advance\c@Hy@AnnotLevel\m@ne } % \end{macrocode} % \begin{macrocode} @@ -19787,6 +19851,7 @@ \Fld@flags /Q \Fld@align /BS<</W \Fld@borderwidth /S/\Fld@borderstyle>>% + /AP<< /N <</Yes<<>>>> >> %new string /Yes is from below /MK<<% \ifnum\Fld@rotation=\z@ \else @@ -19911,12 +19976,22 @@ >>% /DA(/ZaDb \strip@pt\Fld@charsize\space Tf% \ifx\Fld@color\@empty\else\space\Fld@color\fi)% - \ifx\@currValue\Fld@default - /V/\Fld@default - /DV/\Fld@default - \else +% \end{macrocode} +%^^A \ifx\@currValue\Fld@default %old code +%^^A /V/\Fld@default +%^^A /DV/\Fld@default +%^^A \else +%^^A /V/Off% +%^^A /DV/Off% +%^^A \fi +% New code, the default value is used for all buttons +% \begin{macrocode} + \ifx\Fld@default\@empty /V/Off% /DV/Off% + \else + /V/\Fld@default + /DV/\Fld@default \fi \Fld@additionalactions } diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.ins b/Master/texmf-dist/source/latex/hyperref/hyperref.ins index 3add5dd1488..5779e77110a 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.ins +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.ins @@ -6,6 +6,7 @@ %% Copyright 1995-1999 Sebastian Rahtz %% 1999-2000 Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek +%% 2016 Oberdiek Package Support Group %% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- @@ -70,6 +71,7 @@ \file{hdvipson.def}{\from{hyperref.dtx}{dvipsone}} \file{hdvips.def}{\from{hyperref.dtx}{dvips}} \file{hpdftex.def}{\from{hyperref.dtx}{pdftex,pdfform,outlines}} + \file{hluatex.def}{\from{hyperref.dtx}{luatex}\from{hluatex.dtx}{luatex}} \file{hdviwind.def}{\from{hyperref.dtx}{dviwindo,pdfmarkbase}} \file{htex4ht.def}{\from{hyperref.dtx}{tex4ht}} \file{htex4ht.cfg}{\from{hyperref.dtx}{tex4htcfg}} diff --git a/Master/texmf-dist/source/latex/hyperref/nameref.dtx b/Master/texmf-dist/source/latex/hyperref/nameref.dtx index 584ae982bd0..ace38a90d7e 100644 --- a/Master/texmf-dist/source/latex/hyperref/nameref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/nameref.dtx @@ -3,6 +3,8 @@ %% Copyright (C) 1995-1999 Sebastian Rahtz %% 2000 Sebastian Rahtz, Heiko Oberdiek %% 2001-2012 Heiko Oberdiek +%% 2016 Oberdiek Package Suport Group +%% https://github.com/ho-tex/hyperref/issues %% %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- @@ -30,7 +32,7 @@ %<driver>\ProvidesFile{nameref.drv} % \fi % \ProvidesFile{nameref.dtx} - [2012/10/27 v2.43 Cross-referencing by name of section]% + [2016/05/21 v2.44 Cross-referencing by name of section]% % % \CheckSum{714} % @@ -52,7 +54,9 @@ last revised \filedate.% }% }% - \author{Sebastian Rahtz}% + \author{Sebastian Rahtz (deceased)\\% + Heiko Oberdiek (maintainer)\\% + \texttt{https://github.com/ho-tex/hyperref/issues}}% \date{\filedate}% \maketitle \makeatletter diff --git a/Master/texmf-dist/source/latex/hyperref/test/files.xml b/Master/texmf-dist/source/latex/hyperref/test/files.xml new file mode 100644 index 00000000000..34e906a8cde --- /dev/null +++ b/Master/texmf-dist/source/latex/hyperref/test/files.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE files [ + <!ELEMENT files (file)*> + <!ATTLIST files destination CDATA #REQUIRED> + <!ELEMENT file (title?, author*, date?, description?)> + <!ATTLIST file name CDATA #REQUIRED + mark (normal|beta) "normal"> + <!ELEMENT title (#PCDATA)> + <!ELEMENT author (#PCDATA)> + <!ELEMENT date (#PCDATA)> + <!ELEMENT description (#PCDATA)> +]> +<files destination="test"> + <file name="Makefile"> + <author>Sebastian Rahtz</author> + </file> + <file name="bit.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="hog.eps"> + <author>Sebastian Rahtz</author> + </file> + <file name="hog.pdf"> + <author>Sebastian Rahtz</author> + </file> + <file name="phys1.jpg"> + <author>Sebastian Rahtz</author> + </file> + <file name="phys2.jpg"> + <author>Sebastian Rahtz</author> + </file> + <file name="picture.eps"> + <author>Sebastian Rahtz</author> + </file> + <file name="picture.pdf"> + <author>Sebastian Rahtz</author> + </file> + <file name="picture.png"> + <author>Sebastian Rahtz</author> + </file> + <file name="test0.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test1.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test2.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test3.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test4.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test6.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test7.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="test8.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testams.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testbib.bbl"> + <author>Sebastian Rahtz</author> + </file> + <file name="testbib.bib"> + <author>Sebastian Rahtz</author> + </file> + <file name="testbib.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testbmgl.tex"> + <title>Test bookmark glyphs (PDFDocEncoding)</title> + <author>Heiko Oberdiek</author> + </file> + <file name="test-bm-pu-licr.tex"> + <title>Test bookmark glyphs with LICR list (Unicode)</title> + <author>Heiko Oberdiek</author> + </file> + <file name="testbmu.tex"> + <title>Test bookmark glyphs (Unicode)</title> + <author>Heiko Oberdiek</author> + </file> + <file name="testbookmark.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testfor2.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testform.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testinfo.tex"> + <author>Heiko Oberdiek</author> + </file> + <file name="testnb.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testoz.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testslide.tex"> + <author>Sebastian Rahtz</author> + </file> + <file name="testurl.bbl"> + <author>Sebastian Rahtz</author> + </file> + <file name="testurl.bib"> + <author>Sebastian Rahtz</author> + </file> + <file name="testurl.tex"> + <author>Sebastian Rahtz</author> + </file> +</files> |