From 6a202048032d41223115d64328753cae0efeca55 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 14 Sep 2010 23:56:54 +0000 Subject: hyperref update (15sep10) git-svn-id: svn://tug.org/texlive/trunk@19734 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hyperref/ChangeLog | 8 + Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf | Bin 320446 -> 321037 bytes Master/texmf-dist/doc/latex/hyperref/README | 4 +- Master/texmf-dist/doc/latex/hyperref/README.pdf | Bin 291952 -> 292244 bytes Master/texmf-dist/doc/latex/hyperref/backref.pdf | 19 +- Master/texmf-dist/doc/latex/hyperref/hyperref.pdf | Bin 3641375 -> 3662224 bytes Master/texmf-dist/doc/latex/hyperref/manual.html | 1125 +++++++++++--------- Master/texmf-dist/doc/latex/hyperref/manual.pdf | Bin 568261 -> 569043 bytes Master/texmf-dist/doc/latex/hyperref/manual2.html | 2 +- Master/texmf-dist/doc/latex/hyperref/manual3.html | 2 +- Master/texmf-dist/doc/latex/hyperref/nameref.pdf | 13 +- Master/texmf-dist/doc/latex/hyperref/options.pdf | Bin 41393 -> 41501 bytes .../source/latex/hyperref/doc/manual.tex | 37 +- .../source/latex/hyperref/doc/options.tex | 1 + .../texmf-dist/source/latex/hyperref/hyperref.dtx | 425 +++++--- Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 8 +- Master/texmf-dist/tex/latex/hyperref/hdvips.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdvipson.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 8 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg | 2 +- Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 6 +- Master/texmf-dist/tex/latex/hyperref/htexture.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtex.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def | 18 +- Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def | 2 +- Master/texmf-dist/tex/latex/hyperref/hxetex.def | 8 +- Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 346 ++++-- Master/texmf-dist/tex/latex/hyperref/hypertex.def | 18 +- .../texmf-dist/tex/latex/hyperref/nohyperref.sty | 2 +- Master/texmf-dist/tex/latex/hyperref/pd1enc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 8 +- Master/texmf-dist/tex/latex/hyperref/puarenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puenc.def | 2 +- Master/texmf-dist/tex/latex/hyperref/puvnenc.def | 2 +- Master/tlpkg/libexec/ctan2tds | 1 + 36 files changed, 1230 insertions(+), 851 deletions(-) diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog b/Master/texmf-dist/doc/latex/hyperref/ChangeLog index dfdef4c099d..f0d89e2e90b 100644 --- a/Master/texmf-dist/doc/latex/hyperref/ChangeLog +++ b/Master/texmf-dist/doc/latex/hyperref/ChangeLog @@ -1,3 +1,11 @@ +2010-09-13 6.81n Heiko Oberdiek + * 6.81n + * New option `driverfallback'. It takes a driver option for + the case that a driver is not given and cannot be autodetected. + (Feature request by Markus Kohm.) + * Unused option `hyperref' removed. + * Driver options are now `void' options that do not accept any values. + 2010-09-11 6.81m Heiko Oberdiek * 6.81m * New option `pdfremotestartview'. diff --git a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf index c2a93cd8719..f9d3b6994f3 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf and b/Master/texmf-dist/doc/latex/hyperref/ChangeLog.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/README b/Master/texmf-dist/doc/latex/hyperref/README index 4ec59e9b1c6..8ea474ba856 100644 --- a/Master/texmf-dist/doc/latex/hyperref/README +++ b/Master/texmf-dist/doc/latex/hyperref/README @@ -1,4 +1,4 @@ -README for hyperref bundle, 2010/09/01 +README for hyperref bundle, 2010/09/13 TABLE OF CONTENTS @@ -606,6 +606,8 @@ Default driver setting \providecommand*{\Hy@defaultdriver}{hypertex} for the default behaviour of hyperref. + See also the new option `driverfallback'. + Backref entries --------------- Alternative interface for formatting of backref entries, example: diff --git a/Master/texmf-dist/doc/latex/hyperref/README.pdf b/Master/texmf-dist/doc/latex/hyperref/README.pdf index 5d72eabe7fe..0e1ceac04ba 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/README.pdf and b/Master/texmf-dist/doc/latex/hyperref/README.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/backref.pdf b/Master/texmf-dist/doc/latex/hyperref/backref.pdf index 82c49eb4f0f..b0e5c515ecb 100644 --- a/Master/texmf-dist/doc/latex/hyperref/backref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/backref.pdf @@ -10,7 +10,7 @@ endobj endobj 5 0 obj<> endobj -6 0 obj<> +6 0 obj<> endobj 7 0 obj<> endobj @@ -3899,15 +3899,16 @@ endobj endobj 1477 0 obj<> endobj -1478 0 obj<>/Info 6 0 R/DecodeParms<>/Size 1479/Length 1076>>stream -xڽXMlMAVTlUn+)(}DZI I. K~6HFR$6v~6'{׹jqs9g1& &o -& -ݒ&JaˁovQKtE砽F>;@{#^.d vx3IwO@_AuO)/׾l6^~ ]AMEQjWA^ y 8jY>GMtc A%qh<:ۊ3jcks"Tjk>Ujl͗>))Z'ǜkߧ!xN!L7۔0}+F$L.w5kWط.|7d4,tpc;UۢpF*̥StI 5PlZqW% ǥ]ju5Ө~qu8&'R?~a`OgGЎ؟k<*Xd>J?',OakTٯpqCeYa9$YN}G[_}!VΞ\ -cOtӻȏ׀ps\ Z*p$ HTyPNe~ oo@?!@4 wЃI^?IyAvP'h@wȱp/qqX<$K[F5KϡEa@%-?"qz3wC~?M8@sA" {yd' --*- {:+؏+8?ic2 rIJk(5C +ӈccYUg`\qcRlW ?VnU)JnU=[U+Wkl3Fk1"/-na`]|Zȸ>"XWl7pGj& - ke-*=[np7*YC{\ w}'XJ[5 +1478 0 obj</jrN#ҷK)(XKWpU]'L3)]/Compress<>/Info 6 0 R/DecodeParms<>/Size 1479/Length 1078>>stream +xڽXMlMAGņ і&TIKh J{>I %(j"% ?D$vb#;j#!!T|͹j;s̙3g~1 C0^4 +&J-QA;"X9B>;_hvgr<4weNo3?nUV >KV ;o|+x<T2oo(@oP {> +۱z>:;caM'p/9-|k\sB1qmی*~×nC~~|P+kIs䫁/v1Ws!ls_#>-7soghκ$.9O7/MUpLU64:M93ޥ 1<12s)94C Ӏy(0<6v#FFq5sލ"\؍ֳQsX}͔ }Cr}` '_Ez7 ֻK[QƝd1j +`mw[h+[oXC +/kF?B2ln'}:ygw+ C3!9})u.b5 endstream endobj startxref -385395 +385398 %%EOF diff --git a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf index b8c88491493..5dac93c2277 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf and b/Master/texmf-dist/doc/latex/hyperref/hyperref.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.html b/Master/texmf-dist/doc/latex/hyperref/manual.html index 7c75271d2ff..53c631c8a0c 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual.html @@ -7,7 +7,7 @@ - + @@ -318,9 +318,33 @@ class="ec-lmtt-10">\special commands is that you can also use the documen as xdvi. +
+driverfallback
If a driver is not given and cannot be autodetected, then use the driver option, given as + value to this option driverfallback. Example: +
+

driverfallback=dvipdfm

+

Autodetected drivers (pdftex, xetex, vtex, vtexpdfmark) are recognized from within TEX and + therefore cannot be given as value to option driverfallback. However a DVI driver program is run + after the TEX run is finished. Thus it cannot be detected at TEX macro level. Then package + hyperref uses the driver, given by driverfallback. If the driver is already specified or can be + autodetected, then option driverfallback is ignored.

2 Implicit behavior

-

This package can be used with more or less any normal LAT

This package can be used with more or less any normal LATEX document by specifying in the document preamble @@ -328,8 +352,8 @@ document preamble

\usepackage{hyperref}
-

-

Make sure it comes

+

Make sure it comes last of your loaded packages, to give it a fighting chance of not being over-written, since its job is to redefine many LATEX commands. Hopefully you will find that all cross-references @@ -339,7 +363,7 @@ link, whereas \section* commands will only show links when paired with a corresponding \addcontentsline command. -

In addition, the

In addition, the hyperindex option (see below) attempts to make items in the index by hyperlinked back to the text, and the option backref inserts extra ‘back’ links into the bibliography for each entry. @@ -347,10 +371,10 @@ Other options control the appearance of links, and give extra control over PDF o colorlinks, as its name well implies, colors the links instead of using boxes; this is the option used in this document. -

+

3 Package options

-

All user-configurable aspects of

All user-configurable aspects of hyperref are set using a single ‘key=value’ scheme (using the keyval package) with the key \hypersetup macro. When the package is l hyperref.cfg is read if it can be found, and this is a convenient place to set options on a site-wide basis. -

As an example, the behavior of a particular file could be controlled by: +

As an example, the behavior of a particular file could be controlled by:

  • a site-wide hyperref.cfg setting up the look of links, adding backreferencing, and setting @@ -373,7 +397,7 @@ class="ec-lmtt-10">hyperref.cfg setting up the look of links, adding back  
    pdfpagemode=FullScreen,  
    colorlinks=true} -

    +

  • A global option in the file, which is passed down to hyperref: @@ -382,7 +406,7 @@ class="ec-lmss-10">hyperref:
    \documentclass[dvips]{article}
    -

    +

  • File-specific options in the \usepackage commands, which override the ones set in @@ -394,8 +418,8 @@ class="ec-lmtt-10">hyperref.cfg: \usepackage[colorlinks=false]{hyperref}  
    \hypersetup{pdftitle={A Perfect Day}} -

-

As seen in the previous example, information entries (pdftitle, pdfauthor, …) should be set after the +

+

As seen in the previous example, information entries (pdftitle, pdfauthor, …) should be set after the package is loaded. Otherwise LATEX expands the values of these options prematurely. Also LAT\hypersetup. \usepackage[pdfborder={0 0 0}]{hyperref}  
\hypersetup{pdfborder=0 0 0} -

-

Package ‘kvoptions-patch’ patches LAT

+

Package ‘kvoptions-patch’ patches LATEX to make it aware of key value options and to prevent premature value expansions. -

Some options can be given at any time, but many are restricted: before

Some options can be given at any time, but many are restricted: before \begin{document}, only in \usepackage[...]{hyperref}, before first use, etc. -

In the key descriptions that follow, many options do not need a value, as they default to the value +

In the key descriptions that follow, many options do not need a value, as they default to the value true if used. These are the ones classed as ‘boolean’. The values true and false can always be specified, however. -

+

3.1 General options

-

Firstly, the options to specify general behavior and page size. -

+

Firstly, the options to specify general behavior and page size. +

-

+

3.2 Configuration options

-

+

boolean boolean
true -

In the hypertex driver, the height of links is +

In the hypertex driver, the height of links is normally calculcated by the driver as simply the base line of contained text; this options forces boolean

false -

Allows link text to break across lines; since +

Allows link text to break across lines; since this cannot be accommodated in PDF, it is only set true by default if the pdftex driver is used. This makes links on multiple lines into @@ -570,7 +594,7 @@ class="td11"> boolean

true -

Determines whether every page is given an +

Determines whether every page is given an implicit anchor at the top left corner. If this is turned off, \printindex will not contain valid @@ -583,7 +607,7 @@ class="td11"> boolean

false -

Forces page anchors to be named by the arabic +

Forces page anchors to be named by the arabic form of the page number, rather than the formatted form.

false -

Allows links to be nested; no drivers currently +

Allows links to be nested; no drivers currently support this.

-

Note for option

Note for option breaklinks: The correct value is automatically set according to the driver features. It can be overwritten for drivers that do not support broken links. However, at any case, the link area will be wrong and displaced. -

+

3.3 Backend drivers

-

If no driver is specified, the package defaults to loading the hypertex driver. -

+

If no driver is specified, the package tries to find a driver in the following order: +

    +
  1. Autodetection, some TEX processors can be detected at TEX macro level (pdfTEX, + XeTEX, VTEX). +
  2. +
  3. Option driverfallback. If this option is set, its value is taken as driver option. +
  4. +
  5. Makro \Hy@defaultdriver. The makro takes a driver file name (without file extension). +
  6. +
  7. Package default is hypertex.
+

Many distributions are using a driver file hypertex.cfg that define \Hy@defaultdriver with hdvips. This +is recommended because driver dvips provides much more features than hypertex for PDF +generation. +

+ + + + - - - - +class="td11"> + +
dvipdfm driverfallback -

Sets up

Its value is used as driver option

+

if the driver is not given or autodetected.

dvipdfm +

Sets up hyperref for use with the dvipdfm driver.

dvipdfmx dvipdfmx -

Sets up

Sets up hyperref for use with the dvipdfmx driver.

dvips dvips -

Sets up

Sets up hyperref for use with the dvips driver.

dvipsone dvipsone -

Sets up

Sets up hyperref for use with the dvipsone driver.

dviwindo dviwindo -

Sets up

Sets up hyperref for use with the dviwindo Windows previewer.

hypertex hypertex -

Sets up

Sets up hyperref for use with the HyperTEX-compliant drivers.

latex2html latex2html -

Redefines a few macros for compatibility with

Redefines a few macros for compatibility with latex2html.

nativepdf nativepdf -

An alias for

An alias for dvips

pdfmark pdfmark -

An alias for

An alias for dvips

pdftex pdftex -

Sets up

Sets up hyperref for use with the pdftex program.

ps2pdf ps2pdf -

Redefines a few macros for compatibility with Ghostscript’s PDF writer, +

Redefines a few macros for compatibility with Ghostscript’s PDF writer, otherwise identical to dvips.

tex4ht tex4ht -

For use with

For use with TEX4ht

textures textures -

For use with

For use with Textures

vtex vtex -

For use with MicroPress’

For use with MicroPress’ VTeX; the PDF and HTML backends are detected automatically.

vtexpdfmark vtexpdfmark -

For use with

For use with VTeX’s PostScript backend.

xetex xetex -

For use with XeT

For use with XeTEX(using backend for dvipdfm).

-

If you use

If you use dviwindo, you may need to redefine the macro \wwwbrowser (the default is   Files\string\Plus!\string\Microsoft\space  
  Internet\string\iexplore.exe} -

-

+

+

3.4 Extension options

-

+

extension +

boolean @@ -878,7 +941,7 @@ class="td11"> boolean encap +

Sets encap character for hyperindex

@@ -920,7 +983,7 @@ class="td11"> boolean +

Color for normal internal links.

+

Color for anchor text.

+

Color for URLs which open local files.

+

Color for Acrobat menu items.

+

Color for linked URLs.

+

use small caps instead of color for links

@@ -1018,16 +1081,16 @@ class="td11">
text -

Set the file extension (e.g. 

Set the file extension (e.g. dvi) which will be appended to file links created if you use the hyperfigures

boolean -

text false -

Adds ‘backlink’ text to the end of each +

Adds ‘backlink’ text to the end of each item in the bibliography, as a list of section numbers. This can only work properly boolean

false -

Adds ‘backlink’ text to the end of each +

Adds ‘backlink’ text to the end of each item in the bibliography, as a list of page numbers.

true -

Makes the page numbers of index +

Makes the page numbers of index entries into hyperlinks. Relays on unique page anchors (pageanchor, …)

true -

Makes the footnote marks into +

Makes the footnote marks into hyperlinks to the footnote text. Easily broken …

-

Sets encap character for hyperindex

boolean false -

make page number, not text, be link on +

make page number, not text, be link on TOC, LOF and LOT

boolean false -

allow links to break over lines by +

allow links to break over lines by making links over multiple lines into PDF links to the same target

false -

Colors the text of links and anchors. +

Colors the text of links and anchors. The colors chosen depend on the the type of link. At present the only types of link distinguished are citations, page @@ -936,7 +999,7 @@ class="td11"> color

red -

Color for normal internal links.

color black -

Color for anchor text.

color green -

Color for bibliographical citations in +

Color for bibliographical citations in text.

color cyan -

Color for URLs which open local files.

color red -

Color for Acrobat menu items.

color filecolor -

Color for run links (launch +

Color for run links (launch annotations).

color magenta -

Color for linked URLs.

boolean false -

use small caps instead of color for links

-

Note that all color names must be defined before use, following the normal system of the standard +

Note that all color names must be defined before use, following the normal system of the standard LATEX color package. -

+

3.5 PDF-specific display options

-

+

boolean @@ -1086,7 +1149,7 @@ class="td11"> boolean +

to specify which ‘toc’ file to mimic

@@ -1132,7 +1195,7 @@ class="td11"> name @@ -1144,7 +1207,7 @@ class="td11"> RGB color +

The color of the box around citations

+

The color of the box around links to files

+

The color of the box around normal links

+

The color of the box around Acrobat menu links

+

The color of the box around links to URLs

+

color of border around ‘run’ links

true -

A set of Acrobat bookmarks are written, in a +

A set of Acrobat bookmarks are written, in a manner similar to the table of contents, requiring two passes of LATEX. Some postprocessing of @@ -1065,7 +1128,7 @@ class="td11"> boolean

false -

If Acrobat bookmarks are requested, show them +

If Acrobat bookmarks are requested, show them with all the subtrees expanded.

bookmarksopenlevel parameter -

level (

level (\maxdimen) to which bookmarks are open

false -

If Acrobat bookmarks are requested, include +

If Acrobat bookmarks are requested, include section numbers.

text toc -

to specify which ‘toc’ file to mimic

boolean false -

This option should be used to produce CJK +

This option should be used to produce CJK bookmarks. Package hyperref supports both normal and preprocessed mode of the CJK @@ -1120,7 +1183,7 @@ class="ec-lmtt-10">hyperref supports both notably Acroread itself) support this. Also note that option ‘CJKbookmarks’ cannot be used together with option ‘unicode’. -

No mechanism is provided to +

No mechanism is provided to translate non-Unicode bookmarks to Unicode; for portable PDF documents only Unicode encoding should be used.

/I -

How link buttons behave when selected; /I is +

How link buttons behave when selected; /I is for inverse (the default); the other possibilities are /N (no effect), /O (outline), and /P (inset highlighting).

0 1 0 -

The color of the box around citations

RGB color 0 .5 .5 -

The color of the box around links to files

RGB color 1 0 0 -

The color of the box around normal links

RGB color 1 0 0 -

The color of the box around Acrobat menu links

RGB color 0 1 1 -

The color of the box around links to URLs

RGB color 0 .7 .7 -

color of border around ‘run’ links

0 0 1 -

The style of box around links; defaults to a box +

The style of box around links; defaults to a box with lines of 1pt thickness, but the colorlinks option resets it to produce no border.

-

Note that the color of link borders can be specified

Note that the color of link borders can be specified only as 3 numbers in the range 0..1, giving an RGB color. You cannot use colors defined in TEX. Since version 6.76a this is no longer true. Especially @@ -1226,7 +1289,7 @@ class="ec-lmss-10">xcolor the usual color specifications of package (x)color can be used. For further information see description of package hycolor. -

The bookmark commands are stored in a file called

The bookmark commands are stored in a file called jobname.out. The files is not processed by LAT

\let\WriteBookmarks\relax
-

-

+

+

3.6 PDF display and information options

-

+

class="td01">baseurl +

Sets the base URL of the PDF document

class="td01">pdftitle +

Sets the document information Title field

+

Sets the document information Author field

+

Sets the document information Subject field

+

Sets the document information Creator field

+

Sets the document information Producer field

+

Sets the document information Keywords field

+

Sets the document information Trapped entry.

@@ -1366,64 +1429,64 @@ class="ec-lmtt-10">Unknown. style="vertical-align:baseline;" id="TBL-7-11-"> +

An empty value means, the entry is not set.

+

Sets the default PDF ‘view’ for each link

+

Set the startup page view

+

Set the startup page view of remote PDF files

class="td01">pdfpagescrop +

direction setting

class="td01">pdfduplex +

paper handling option for print dialog

+

resize document window to fit document size

+

PDF language identifier (RFC 3066)

+

make PDF viewer’s menu bar visible

+

page mode setting on exiting full-screen mode

+

number of printed copies

+

set layout of PDF pages

+

set PDF page labels

+

set PDF page transition style

+

set option for print dialog

+

set /PrintArea of viewer preferences

+

set /PrintClip of viewer preferences

+

set /PrintPageRange of viewer preferences

class="td01">pdftoolbar +

make PDF toolbar visible

+

set /ViewArea of viewer preferences

+

set /ViewClip of viewer preferences

+

make PDF user interface elements visible

+

Unicode encoded PDF strings

style="vertical-align:baseline;" id="TBL-7-45-">
-

URL

URL

-

Sets the base URL of the PDF document

pdfpagemode -

text

text

empty -

Determines how the file is opening in Acrobat; +

Determines how the file is opening in Acrobat; the possibilities are UseNone, UseOutlines is used.

-

text

text

-

Sets the document information Title field

pdfauthor -

text

text

-

Sets the document information Author field

pdfsubject -

text

text

-

Sets the document information Subject field

pdfcreator -

text

text

-

Sets the document information Creator field

pdfproducer -

text

text

-

Sets the document information Producer field

pdfkeywords -

text

text

-

Sets the document information Keywords field

pdftrapped -

text

text

empty -

Sets the document information Trapped entry.

-

-

Possible values are

Possible values are True, False and Unknown.

-

-

An empty value means, the entry is not set.

pdfinfo -

key +

key value list

empty -

Alternative interface for setting the document +

Alternative interface for setting the document information.

pdfview -

text

text

XYZ -

Sets the default PDF ‘view’ for each link

pdfstartpage -

text

text

1 -

Determines on which page the PDF file is +

Determines on which page the PDF file is opened.

pdfstartview -

text

text

Fit -

Set the startup page view

pdfremotestartview -

text

text

Fit -

Set the startup page view of remote PDF files

-

n +

n n n n

-

Sets the default PDF crop box for pages. This +

Sets the default PDF crop box for pages. This should be a set of four numbers

pdfcenterwindow -

boolean

boolean

false -

position the document window in the center +

position the document window in the center of the screen

pdfdirection -

text

text

empty -

direction setting

pdfdisplaydoctitle -

boolean

boolean

false -

display document title instead of file name in +

display document title instead of file name in title bar

-

text

text

empty -

paper handling option for print dialog

pdffitwindow -

boolean

boolean

false -

resize document window to fit document size

pdflang -

text

text

empty -

PDF language identifier (RFC 3066)

pdfmenubar -

boolean

boolean

true -

make PDF viewer’s menu bar visible

pdfnewwindow -

boolean

boolean

false -

make links that open another PDF file start a +

make links that open another PDF file start a new window

pdfnonfullscreenpagemode -

boolean

boolean

empty -

page mode setting on exiting full-screen mode

pdfnumcopies -

integer

integer

empty -

number of printed copies

pdfpagelayout -

text

text

empty -

set layout of PDF pages

pdfpagelabels -

boolean

boolean

true -

set PDF page labels

pdfpagetransition -

text

text

empty -

set PDF page transition style

pdfpicktraybypdfsize -

text

text

empty -

set option for print dialog

pdfprintarea -

text

text

empty -

set /PrintArea of viewer preferences

pdfprintclip -

text

text

empty -

set /PrintClip of viewer preferences

pdfprintpagerange -

n +

n n (n n)*

empty -

set /PrintPageRange of viewer preferences

pdfprintscaling -

text

text

empty -

page scaling option for print dialog (option +

page scaling option for print dialog (option /PrintScaling of viewer preferences, PDF 1.6); valid values are None and AppDefault

-

boolean

boolean

true -

make PDF toolbar visible

pdfviewarea -

text

text

empty -

set /ViewArea of viewer preferences

pdfviewclip -

text

text

empty -

set /ViewClip of viewer preferences

pdfwindowui -

boolean

boolean

true -

make PDF user interface elements visible

unicode -

boolean

boolean

false -

Unicode encoded PDF strings

-

Each link in Acrobat carries its own magnification level, which is set using PDF coordinate space, +

Each link in Acrobat carries its own magnification level, which is set using PDF coordinate space, which is not the same as TEX’s. The unit is bp and the origin is in the lower left corner. See also pdfview, pdfstartview and pdfremotestartview parameters. -

+

XYZ +

Fits the page to the window.

+

Fits the width of the page to the window.

+

Fits the height of the page to the window.

+

Fits the page bounding box to the window.

left top zoom -

Sets a coordinate and a zoom factor. If any one +

Sets a coordinate and a zoom factor. If any one is null, the source link value is used. null null Fit

-

Fits the page to the window.

FitH top -

Fits the width of the page to the window.

FitV left -

Fits the height of the page to the window.

FitR left bottom right top -

Fits the rectangle specified by the four +

Fits the rectangle specified by the four coordinates to the window.

FitB -

Fits the page bounding box to the window.

FitBH top -

Fits the width of the page bounding box to +

Fits the width of the page bounding box to the window.

FitBV left -

Fits the height of the page bounding box to +

Fits the height of the page bounding box to the window.

-

The

The pdfpagelayout can be one of the following values. -

+

class="td11"> SinglePage +

Displays a single page; advancing flips the page

+

Displays the document in one column; continuous scrolling.

@@ -1858,14 +1921,14 @@ class="td11"> class="td11"> TwoPageLeft class="td11">
-

Displays a single page; advancing flips the page

OneColumn -

Displays the document in one column; continuous scrolling.

TwoColumnLeft -

Displays the document in two columns, odd-numbered pages to +

Displays the document in two columns, odd-numbered pages to the left.

TwoColumnRight -

Displays the document in two columns, odd-numbered pages to +

Displays the document in two columns, odd-numbered pages to the right.

-

Displays two pages, odd-numbered pages to the left (since PDF +

Displays two pages, odd-numbered pages to the left (since PDF 1.5).

TwoPageRight -

Displays two pages, odd-numbered pages to the right (since PDF +

Displays two pages, odd-numbered pages to the right (since PDF 1.5).

-

Finally, the

Finally, the pdfpagetransition can be one of the following values, where /Di stands for direction of motion in degrees, generally in 90Blinds /Dm /V), and /M is for motion, either in (/I) or out (/O). -

+

Blinds +

A box sweeps in or out.

+

Two lines sweep across the screen to reveal the new page.

/Dm -

Multiple lines distributed evenly across the screen sweep +

Multiple lines distributed evenly across the screen sweep in the same direction to reveal the new page.

Box /M -

A box sweeps in or out.

Dissolve -

The page image dissolves in a piecemeal fashion to reveal +

The page image dissolves in a piecemeal fashion to reveal the new page.

Glitter /Di -

Similar to Dissolve, except the effect sweeps across the +

Similar to Dissolve, except the effect sweeps across the screen.

Split /Dm /M -

Two lines sweep across the screen to reveal the new page.

Wipe /Di -

A single line sweeps across the screen to reveal the new +

A single line sweeps across the screen to reveal the new page.

-

+

3.7 Option pdfinfo

-

The information entries can be set using

The information entries can be set using pdftitle, pdfsubject, …. Option pdfinfo provides an @@ -1994,15 +2057,15 @@ values are text strings (see PDF specification). Example:  
  }  
} -

-

+

+

3.8 Big alphabetical list

-

The following is a complete listing of available options for

The following is a complete listing of available options for hyperref, arranged alphabetically. -

+

anchorcolor +

set color of anchors

+

do bibliographical back references

+

set base URL for document

+

make bookmarks

+

put section numbers in bookmarks

+

open up bookmark tree

+

level to which bookmarks are open

+

to specify which ‘toc’ file to mimic

+

allow links to break over lines

+

to produce CJK bookmarks

+

color of border around cites

+

color of citation links

+

color links

debug +

do not do any hyperlinking

dvipdfm +

to set encap character for hyperindex

+

suffix of linked files

+

color of border around file links

+

color of file links

+

opposite of option draft

+

use small caps instead of color for links

+

make figures hyper links

+

set up hyperlinked footnotes

+

set up hyperlinked indices

+

use guessable names for links

+

use legalpaper

+

use letterpaper

+

color of border around links

+

color of links

+

color of border around menu links

@@ -2356,7 +2419,7 @@ class="ec-lmtt-10">menucolor +

color for menu links

+

allow nesting of links

+

put an anchor on every page

+

backreference by page number

pdfauthor +

text for PDF Author field

+

width of PDF link border

+

text for PDF Creator field

+

+

+

direction setting

+

paper handling option for print dialog

+

resize document window to fit document size

+

set highlighting of PDF links

+

text for PDF Keywords field

@@ -2524,7 +2587,7 @@ class="ec-lmtt-10">pdflang +

PDF language identifier (RFC 3066)

+

make PDF viewer’s menu bar visible

+

make links that open another PDF

+

file start a new window

+

page mode setting on exiting full-screen mode

+

number of printed copies

+

set layout of PDF pages

+

set default mode of PDF display

+

set PDF page labels

+

set crop size of PDF document

+

set PDF page transition style

+

set option for print dialog

+

set /PrintArea of viewer preferences

+

set /PrintClip of viewer preferences

pdfprintpagerange +

set /PrintPageRange of viewer preferences

+

page scaling option for print dialog

+

text for PDF Producer field

+

starting view of remote PDF documents

+

page at which PDF document opens

@@ -2688,7 +2751,7 @@ class="ec-lmtt-10">pdfstartview +

starting view of PDF document

+

text for PDF Subject field

+

text for PDF Title field

+

make PDF toolbar visible

+

PDF ‘view’ when on link traversal

+

set /ViewArea of viewer preferences

+

set /ViewClip of viewer preferences

+

make PDF user interface elements visible

+

do page number anchors as plain arabic

+

color of border around ‘run’ links

+

color of ‘run’ links

+

set page size by special driver commands

+

Unicode encoded pdf strings

+

color of border around URL links

@@ -2869,7 +2932,7 @@ class="ec-lmtt-10">urlcolor +

color of URL links

+

be chatty

style="vertical-align:baseline;" id="TBL-11-114-">
black -

set color of anchors

backref false -

do bibliographical back references

baseurl empty -

set base URL for document

bookmarks true -

make bookmarks

bookmarksnumbered false -

put section numbers in bookmarks

bookmarksopen false -

open up bookmark tree

bookmarksopenlevel \maxdimen -

level to which bookmarks are open

bookmarkstype toc -

to specify which ‘toc’ file to mimic

breaklinks false -

allow links to break over lines

CJKbookmarks false -

to produce CJK bookmarks

citebordercolor 0 1 0 -

color of border around cites

citecolor green -

color of citation links

colorlinks false -

color links

true -

(

(tex4ht, dviwindo)

false -

provide details of anchors defined; same as +

provide details of anchors defined; same as verbose

draft false -

do not do any hyperlinking

-

use

use dvipdfm backend

dvipdfmx -

use

use dvipdfmx backend

dvips -

use

use dvips backend

dvipsone -

use

use dvipsone backend

dviwindo -

use

use dviwindo backend

encap -

to set encap character for hyperindex

extension dvi -

suffix of linked files

filebordercolor 0 .5 .5 -

color of border around file links

filecolor cyan -

color of file links

final true -

opposite of option draft

frenchlinks false -

use small caps instead of color for links

hyperfigures false -

make figures hyper links

hyperfootnotes true -

set up hyperlinked footnotes

hyperindex true -

set up hyperlinked indices

hypertex -

use

use HyperThypertexnames

true -

use guessable names for links

implicit true -

redefine LAT

redefine LATEX internals

latex2html -

use

use LATlegalpaper

-

use legalpaper

letterpaper -

use letterpaper

linkbordercolor 1 0 0 -

color of border around links

linkcolor red -

color of links

linktocpage false -

make page number, not text, be link on TOC, +

make page number, not text, be link on TOC, LOF and LOT

menubordercolor 1 0 0 -

color of border around menu links

red -

color for menu links

nativepdf false -

an alias for

an alias for dvips

naturalnames false -

use LAT

use LATEX-computed names for links

nesting false -

allow nesting of links

pageanchor true -

put an anchor on every page

pagebackref false -

backreference by page number

empty -

text for PDF Author field

pdfborder 0 0 1 -

width of PDF link border

0 0 0 -

(

(colorlinks)

pdfcenterwindow false -

position the document window in the center +

position the document window in the center of the screen

pdfcreator LaTeX with -

text for PDF Creator field

hyperref -

package -

pdfdirection empty -

direction setting

pdfdisplaydoctitle false -

display document title instead of file name in +

display document title instead of file name in title bar

pdfduplex empty -

paper handling option for print dialog

pdffitwindow false -

resize document window to fit document size

pdfhighlight /I -

set highlighting of PDF links

pdfinfo empty -

alternative interface for setting document +

alternative interface for setting document information

pdfkeywords empty -

text for PDF Keywords field

empty -

PDF language identifier (RFC 3066)

pdfmark false -

an alias for

an alias for dvips

pdfmenubar true -

make PDF viewer’s menu bar visible

pdfnewwindow false -

make links that open another PDF

-

file start a new window

pdfnonfullscreenpagemode empty -

page mode setting on exiting full-screen mode

pdfnumcopies empty -

number of printed copies

pdfpagelayout empty -

set layout of PDF pages

pdfpagemode empty -

set default mode of PDF display

pdfpagelabels true -

set PDF page labels

pdfpagescrop empty -

set crop size of PDF document

pdfpagetransition empty -

set PDF page transition style

pdfpicktraybypdfsize empty -

set option for print dialog

pdfprintarea empty -

set /PrintArea of viewer preferences

pdfprintclip empty -

set /PrintClip of viewer preferences

empty -

set /PrintPageRange of viewer preferences

pdfprintscaling empty -

page scaling option for print dialog

pdfproducer empty -

text for PDF Producer field

pdfremotestartview Fit -

starting view of remote PDF documents

pdfstartpage 1 -

page at which PDF document opens

Fit -

starting view of PDF document

pdfsubject empty -

text for PDF Subject field

pdftex -

use

use pdfTpdftitle

empty -

text for PDF Title field

pdftoolbar true -

make PDF toolbar visible

pdftrapped empty -

Sets the document information Trapped entry. +

Sets the document information Trapped entry. Possible values are True, False and pdfview

XYZ -

PDF ‘view’ when on link traversal

pdfviewarea empty -

set /ViewArea of viewer preferences

pdfviewclip empty -

set /ViewClip of viewer preferences

pdfwindowui true -

make PDF user interface elements visible

plainpages false -

do page number anchors as plain arabic

ps2pdf -

use

use ps2pdf backend

raiselinks false -

raise up links (for

raise up links (for HyperTrunbordercolor

0 .7 .7 -

color of border around ‘run’ links

runcolor filecolor -

color of ‘run’ links

setpagesize true -

set page size by special driver commands

tex4ht -

use

use TEtextures

-

use

use Textures backend

unicode false -

Unicode encoded pdf strings

urlbordercolor 0 1 1 -

color of border around URL links

magenta -

color of URL links

verbose false -

be chatty

vtex -

use

use VTeX backend

xetex -

use

use XeT

-

+

4 Additional user macros

-

If you need to make references to URLs, or write explicit links, the following low-level user macros are +

If you need to make references to URLs, or write explicit links, the following low-level user macros are provided: -

+

}{text}
-

The

The text is made a hyperlink to the URL; this must be a full URL (relative to the base URL, if that is defined). The special characters # and ˜ do not need to be escaped in any way. -

The optional argument

The optional argument options recognizes the hyperref options pdfremotestartview, pdfnewwindow @@ -2965,7 +3028,7 @@ class="description">Boolean key, if set to |true|, the URL should appen class="ec-lmtk-10">nextactionraw:

The value of key |/Next| of action dictionaries, see PDF specification.
-

+

\url{URL}
-

Similar to

Similar to \href{URLURL}}. Depending on the driver \href also tries to detect the link type. Thus the result can be a url link, file link, … -

+

\nolinkurl{URL}
-

Write

Write URL in the same way as \url, without creating a hyperlink. -

+

{URL}
-

A base

A base URL is established, which is prepended to other specified URLs, to make it easier to write portable documents. -

+

}{text}
-

The link to the image referenced by the URL is inserted, using

The link to the image referenced by the URL is inserted, using text as the anchor. -

For drivers that produce HTML, the image itself is inserted by the browser, with the

For drivers that produce HTML, the image itself is inserted by the browser, with the text being ignored completely. -

+

}{text}
-

A target area of the document (the

A target area of the document (the text) is marked, and given the name category.name -

+

}{text}
-

text is made into a link to URL#category.name -

+

]{text}
-

text is made into a link to the same place as \ref{label} would be linked. -

+

}{text}
-

+

}{text}
-

A simple internal link is created with

A simple internal link is created with \hypertarget, with two parameters of an anchor name, and anchor \hyperlink has two arguments, the name o \hypertarget, and the text which be used as the link on the page. -

Note that in HTML parlance, the

Note that in HTML parlance, the \hyperlink command inserts a notional # in front of each link, making it relative to the current testdocument; \href expects a full URL. -

+

\phantomsection
-

This sets an anchor at this location. It works similar to

This sets an anchor at this location. It works similar to \hypertarget{}{} with an automatically choosen anchor name. Often it is used in conjunction with \addcontentsline for sectionlike things @@ -3162,10 +3225,10 @@ is set. Example:  
\addcontentsline{toc}{chapter}{\indexname}  
\printindex -

-

Now the entry in the table of contents (and bookmarks) for the index points to the start of the index page, +

+

Now the entry in the table of contents (and bookmarks) for the index points to the start of the index page, not to a location before this page. -

+

\autoref< class="ec-lmtt-10">{label}
-

This is a replacement for the usual

This is a replacement for the usual \ref command that places a contextual label in front of the reference. This gives your users a bigger target to click for hyperlinks (e.g. ‘section 2’ instead of merely the number ‘2’). -

The label is worked out from the context of the original

The label is worked out from the context of the original \label command by hyperref by using the macros listed below (shown with their default values). The macros can be (re)defined in documents using @@ -3188,16 +3251,16 @@ macros listed below (shown with their default values). The macros can be (re)def class="ec-lmtt-10">\(re)newcommand; note that some of these macros are already defined in the standard document classes. The mixture of lowercase and uppercase initial letters is deliberate and corresponds to the author’s practice. -

For each macro below,

For each macro below, hyperref checks \*autorefname before \*name. For instance, it looks for \figureautorefname before \figurename. -

+

class="td11"> Macro +

Figure

+

Table

+

Part

+

Appendix

+

Equation

+

item

+

chapter

+

section

+

subsection

+

subsubsection

+

paragraph

+

footnote

+

Equation

+

Theorem

+

page

@@ -3317,7 +3380,7 @@ class="td11"> class="td11">
-

Default

\figurename -

Figure

\tablename -

Table

\partname -

Part

\appendixname -

Appendix

\equationname -

Equation

\Itemname -

item

\chaptername -

chapter

\sectionname -

section

\subsectionname -

subsection

\subsubsectionname -

subsubsection

\paragraphname -

paragraph

\Hfootnotename -

footnote

\AMSname -

Equation

\theoremname -

Theorem

\page -

page

-

Example for a redefinition if

Example for a redefinition if babel is used:

@@ -3328,8 +3391,8 @@ class="ec-lmss-10">babel is used:  
  \def\subsectionautorefname{Unterkapitel}%  
}
-

-

Hint:

+

Hint: \autoref works via the counter name that the reference is based on. Sometimes \autoref chooses the wrong name, if the counter is used for different things. For example, it happens with @@ -3369,8 +3432,8 @@ lemmas:  
 
\end{document} -

-

+

+

{label}
-

It replaces

It replaces \pageref and adds the name for page in front of the page reference. First \pageautorefname is checked before \pagename. -

For instances where you want a reference to use the correct counter, but not to create a link, there +

For instances where you want a reference to use the correct counter, but not to create a link, there are starred forms: -

+

\ref*{label}
-

+

{label}
-

+

\autoref* class="ec-lmtt-10">{label}
-

+

{label}
-

A typical use would be to write +

A typical use would be to write

\hyperref[other]{that nice section (\ref*{other}) we read before}
-

-

We want

+

We want \ref*{other} to generate the correct number, but not to form a link, since we do this ourselves with \hyperref. -

+

Xstring}
-

\pdfstringdef returns a macro containing the PDF string. (Currently this is done globally, but do not rely on it.) All the following tasks, definitions and redefinitions are made in a group to keep them local: @@ -3510,24 +3573,24 @@ class="ec-lmtt-10">\textbf, etc.

  • Support for \xspace provided by the xspace package
  • -

    In addition, parentheses are protected to avoid the danger of unsafe unbalanced parentheses in +

    In addition, parentheses are protected to avoid the danger of unsafe unbalanced parentheses in the PDF string. For further details, see Heiko Oberdiek’s EuroTEX paper distributed with hyperref. -

    +

    4.1 Bookmark macros

    -

    +

    4.1.1 Setting bookmarks
    -

    Usually

    Usually hyperref automatically adds bookmarks for \section and similar macros. But they can also set manually. -

    +

    }{name}
    -

    creates a bookmark with the specified text and at the given level (defaul is 0). As name for the +

    creates a bookmark with the specified text and at the given level (defaul is 0). As name for the internal anchor name is used (in conjunction with level). Therefore the name must be unique (similar to \label). -

    +

    }{name}
    -

    creates a bookmark at the current level. -

    +

    creates a bookmark at the current level. +

    }{name}
    -

    creates a bookmark one step down in the bookmark hierarchy. Internally the current level is increased +

    creates a bookmark one step down in the bookmark hierarchy. Internally the current level is increased by one. -

    +

    }{name}
    -

    creates a bookmark below the current bookmark level. However after the command the current +

    creates a bookmark below the current bookmark level. However after the command the current bookmark level has not changed. -

    Hint: Package bookmark replaces hyperref’s bookmark organization by a new algorithm: @@ -3604,16 +3667,16 @@ class="E">EX run is needed.

  • More control over the bookmark appearance (color, font).
  • Different bookmark actions are supported (external file links, urls, …).
  • -

    Therefore I recommend using this package. -

    +

    Therefore I recommend using this package. +

    4.1.2 Replacement macros
    -

    hyperref takes the text for bookmarks from the arguments of commands like \section, which can contain things like math, colors, or font changes, none of which will display in bookmarks as is. -

    +

    }{PDFstring}
    -

    For example, +

    For example,

    \section{Pythagoras: @@ -3642,8 +3705,8 @@ class="ec-lmtt-10">}  
    }  
    \section{\texorpdfstring{\textcolor{red}}{}{Red} Mars}
    -

    -

    +

    \pdfstringdef executes the hook before it expands the string. Therefore, you can use this hook to perform additional tasks or to disable additional commands. @@ -3655,8 +3718,8 @@ perform additional tasks or to disable additional commands.  
      \renewcommand{\mycommand}[1]{}%  
    } -

    -

    However, for disabling commands, an easier way is via

    +

    However, for disabling commands, an easier way is via \pdfstringdefDisableCommands, which adds its argument to the definition of \pdfstringdefPreHook (‘@’ can here be used as letter in command @@ -3670,11 +3733,11 @@ names):  
      \let\textcolor\@gobble  
    } -

    -

    +

    +

    4.2 Utility macros

    -

    +

    {dimen specification}
    -

    \hypercalcbp takes a TEX dimen specification and converts it to bp and returns the number without the unit. This is useful for options     -\headheight-\headsep}  
    } -

    -

    The origin of the PDF coordinate system is the lower left corner. -

    Note, for calculations you need either package |calc| or

    +

    The origin of the PDF coordinate system is the lower left corner. +

    Note, for calculations you need either package |calc| or ε-TEX. Nowadays the latter should automatically be enabled for LATε-TEX, please, look in the source documentation hyperref.dtx for further limitations. -

    Also

    Also \hypercalcbp cannot be used in option specifications of \documentclass and \usepackage, @@ -3722,12 +3785,12 @@ because LATEX expands the option lists of these commands. However package hyperref is not yet loaded and an undefined control sequence error would arise. -

    +

    5 Acrobat-specific behavior

    -

    If you want to access the menu options of Acrobat Reader or Exchange, the following macro is provided +

    If you want to access the menu options of Acrobat Reader or Exchange, the following macro is provided in the appropriate drivers: -

    +

    }{text}
    -

    The

    The text is used to create a button which activates the appropriate menuoption. The following table lists the option names you can use—comparison of this with the menus in Acrobat Reader or Exchange will show what they do. Obviously some are only appropriate to Exchange. -

    +

    style="vertical-align:baseline;" id="TBL-38-1-"> +

    ImportImage, ImportNotes, AcroForm:ImportFDF

    +

    ExportNotes, AcroForm:ExportFDF

    @@ -3800,18 +3863,18 @@ class="td11"> style="vertical-align:baseline;" id="TBL-38-7-"> +

    Properties

    +

    AcroForm:Duplicate, AcroForm:TabOrder

    @@ -3819,7 +3882,7 @@ class="td11"> style="vertical-align:baseline;" id="TBL-38-10-"> @@ -3837,28 +3900,28 @@ class="td11"> class="td11"> ToolsSearch +

    About

    @@ -3873,13 +3936,13 @@ class="td11"> class="td11">
    File -

    Open, Close, Scan, Save, SaveAs, Optimizer:SaveAsOpt, +

    Open, Close, Scan, Save, SaveAs, Optimizer:SaveAsOpt, Print, PageSetup, Quit

    FileImport -

    ImportImage, ImportNotes, AcroForm:ImportFDF

    FileExport -

    ExportNotes, AcroForm:ExportFDF

    FileDocumentInfo -

    GeneralInfo, OpenInfo, FontsInfo, SecurityInfo, +

    GeneralInfo, OpenInfo, FontsInfo, SecurityInfo, Weblink:Base, AutoIndex:DocInfo

    FilePreferences -

    GeneralPrefs, NotePrefs, FullScreenPrefs, Weblink:Prefs, +

    GeneralPrefs, NotePrefs, FullScreenPrefs, Weblink:Prefs, AcroSearch:Preferences(Windows) or, AcroSearch:Prefs(Mac), Cpt:Capture

    Edit -

    Undo, Cut, Copy, Paste, Clear, SelectAll, Ole:CopyFile, +

    Undo, Cut, Copy, Paste, Clear, SelectAll, Ole:CopyFile, TouchUp:TextAttributes, TouchUp:FitTextToSelection, TouchUp:ShowLineMarkers, TouchUp:ShowCaptureSuspects, TouchUp:FindSuspect,

    -

    Properties

    EditFields -

    AcroForm:Duplicate, AcroForm:TabOrder

    Document -

    Cpt:CapturePages, +

    Cpt:CapturePages, AcroForm:Actions, CropPages, RotatePages, InsertPages, ExtractPages, ReplacePages, DeletePages, NewBookmark, SetBookmarkDest, CreateAllThumbs, DeleteAllThumbs

    View -

    ActualSize, FitVisible, FitWidth, FitPage, ZoomTo, +

    ActualSize, FitVisible, FitWidth, FitPage, ZoomTo, FullScreen, FirstPage, PrevPage, NextPage, LastPage, GoToPage, GoBack, GoForward, SinglePage, OneColumn, TwoColumns, ArticleThreads, PageOnly, ShowBookmarks, @@ -3828,7 +3891,7 @@ class="td11"> style="vertical-align:baseline;" id="TBL-38-11-">

    Tools -

    Hand, ZoomIn, ZoomOut, SelectText, SelectGraphics, +

    Hand, ZoomIn, ZoomOut, SelectText, SelectGraphics, Note, Link, Thread, AcroForm:Tool, Acro_Movie:MoviePlayer, TouchUp:TextTool, Find, FindAgain, FindNextNote, CreateNotesFile

    -

    AcroSrch:Query, AcroSrch:Indexes, AcroSrch:Results, +

    AcroSrch:Query, AcroSrch:Indexes, AcroSrch:Results, AcroSrch:Assist, AcroSrch:PrevDoc, AcroSrch:PrevHit, AcroSrch:NextHit, AcroSrch:NextDoc

    Window -

    ShowHideToolBar, ShowHideMenuBar, +

    ShowHideToolBar, ShowHideMenuBar, ShowHideClipboard, Cascade, TileHorizontal, TileVertical, CloseAll

    Help -

    HelpUserGuide, HelpTutorial, HelpExchange, HelpScan, +

    HelpUserGuide, HelpTutorial, HelpExchange, HelpScan, HelpCapture, HelpPDFWriter, HelpDistiller, HelpSearch, HelpCatalog, HelpReader, Weblink:Home

    Help(Windows) -

    About

    -

    +

    6 PDF and HTML forms

    -

    You must put your fields inside a

    You must put your fields inside a Form environment (only one per file). -

    There are six macros to prepare fields: -

    +

    There are six macros to prepare fields: +

    ]{label}
    -

    +

    ]{label}
    -

    +

    }{choices}
    -

    +

    ]{label}
    -

    +

    ]{label}
    -

    +

    ]{label}
    -

    The way forms and their labels are laid out is determined by: -

    +

    The way forms and their labels are laid out is determined by: +

    }{field}
    -

    +

    }{field}
    -

    +

    }{field}
    -

    These macros default to #1 #2 -

    What is actually shown in as the field is determined by: -

    +

    These macros default to #1 #2 +

    What is actually shown in as the field is determined by: +

    }{height}
    -

    +

    }{height}
    -

    +

    }{height}
    -

    +

    }{height}
    -

    +

    \MakeButtonField{text}
    -

    These macros default to

    These macros default to \vbox to #2{\hbox #1{\hfill}\vfill}, except the la to #1; it is used for buttons, and the special \Submit and \Reset macros. -

    You may also want to redefine the following macros: +

    You may also want to redefine the following macros:

    @@ -4106,13 +4169,13 @@ class="ec-lmtt-10">\Reset macros.  
    \def\DefaultHeightofTextMultiline{4\baselineskip}  
    \def\DefaultWidthofText{3cm}
    -

    -

    +

    +

    6.1 Forms environment parameters

    -

    +

    action encoding method @@ -4167,16 +4230,16 @@ class="td11">
    URL -

    The URL that will receive the form data if a

    The URL that will receive the form data if a Submit button is included in the form

    name -

    The encoding for the string set to the URL; FDF-encoding +

    The encoding for the string set to the URL; FDF-encoding is usual, and html is the only valid value

    name -

    Used only when generating HTML; values can be

    Used only when generating HTML; values can be post or get

    -

    +

    6.2 Forms optional parameters

    -

    Note that all colors must be expressed as RGB triples, in the range 0..1 (i.e. 

    Note that all colors must be expressed as RGB triples, in the range 0..1 (i.e. color=0 0 0.5) -

    +

    style="vertical-align:baseline;" id="TBL-54-58-">
    -

    +

    7 Defining a new driver

    -

    A hyperref driver has to provide definitions for eight macros: -

    1.

    A hyperref driver has to provide definitions for eight macros: +

    1. \hyper@anchor -

    2.

    2. \hyper@link -

    3.

    3. \hyper@linkfile -

    4.

    4. \hyper@linkurl -

    5.

    5. \hyper@anchorstart -

    6.

    6. \hyper@anchorend -

    7.

    7. \hyper@linkstart -

    8.

    8. \hyper@linkend -

    The draft option defines the macros as follows +

    The draft option defines the macros as follows

    @@ -4625,11 +4688,11 @@ class="ec-lmtt-10">\hyper@linkend  
    \let\hyper@linkstart\@gobbletwo  
    \let\hyper@linkend\@empty
    -

    -

    +

    +

    8 Special support for other packages

    -

    hyperref aims to cooperate with other packages, but there are several possible sources for conflict, such as

      @@ -4652,7 +4715,7 @@ class="ec-lmtt-10">implicit=false for these packages to work.
    • Packages that do anything serious with the index.
    -

    The

    The hyperref package is distributed with variants on two useful packages designed to work especially well with it. These are xr and minitoc, which support crossdocument links using EX’s normal \label/\ref mechanisms and per-chapter tables of contents, respectively. -

    +

    9 History and acknowledgments

    -

    The original authors of

    The original authors of hyperbasics.tex and hypertex.sty, from which this package descends, are Tanmoy Bhattacharya (

    Tanmoy found a great many of the bugs, and (even better) often provided fixes, which has made the +

    Tanmoy found a great many of the bugs, and (even better) often provided fixes, which has made the package more robust. The days spent on RevTEX are entirely due to him! The investigations of Bill Moss (bmoss@math.clemson.edu) into the later versions includ many bugs, and his testing is appreciated. Hans Hagen (pragma@pi.net) provided a lot of insight into PDF. -

    Berthold Horn provided help, encouragement and sponsorship for the

    Berthold Horn provided help, encouragement and sponsorship for the dvipsone and dviwindo drivers. Sergey Lesenko provided the changes needed for hyper package (developed in parallel with hyperref) showed me solutions for some problems. Hopefully the two packages will combine one day. -

    The forms creation section owes a great deal to: T. V. Raman, for encouragement, support and +

    The forms creation section owes a great deal to: T. V. Raman, for encouragement, support and ideas; Thomas Merz, whose book Web Publishing with Acrobat/PDF provided crucial insights; D. P. Story, whose detailed article about pdfmarks and forms solved many practical problems; and Hans Hagen, who explained how to do it in pdftex. -

    Steve Peter recreated the manual source in July 2003 after it had been lost. -

    Especial extra thanks to David Carlisle for the

    Steve Peter recreated the manual source in July 2003 after it had been lost. +

    Especial extra thanks to David Carlisle for the backref module, the ps2pdf and dviwindo support, frequent general rewrites of my bad code, and for working on changes to the xr package to suit diff --git a/Master/texmf-dist/doc/latex/hyperref/manual.pdf b/Master/texmf-dist/doc/latex/hyperref/manual.pdf index 5dd52090839..062d322871b 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/manual.pdf and b/Master/texmf-dist/doc/latex/hyperref/manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/hyperref/manual2.html b/Master/texmf-dist/doc/latex/hyperref/manual2.html index 6c613c4303c..a89e74132fd 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual2.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual2.html @@ -7,7 +7,7 @@ - + diff --git a/Master/texmf-dist/doc/latex/hyperref/manual3.html b/Master/texmf-dist/doc/latex/hyperref/manual3.html index 038029a8e6c..95b1fdb38a4 100644 --- a/Master/texmf-dist/doc/latex/hyperref/manual3.html +++ b/Master/texmf-dist/doc/latex/hyperref/manual3.html @@ -7,7 +7,7 @@ - + diff --git a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf index 82e48f94fb4..566200d13f9 100644 --- a/Master/texmf-dist/doc/latex/hyperref/nameref.pdf +++ b/Master/texmf-dist/doc/latex/hyperref/nameref.pdf @@ -10,7 +10,7 @@ endobj endobj 5 0 obj<> endobj -6 0 obj<> +6 0 obj<> endobj 7 0 obj<> endobj @@ -3775,12 +3775,13 @@ endobj endobj 1411 0 obj<> endobj -1412 0 obj<>/Info 6 0 R/DecodeParms<>/Size 1413/Length 1014>>stream -xڽXoMAT*,BiRTJ|DhާA ‚ZՏ H,l|$""Bkw{o:wνZ;g̙3s1\8pH0 h|,yx3 3,˺. 6` (_nѰW!/Hc SyGa_NC߀r3^!]m-`!-eN?T_@G|Ȫ\bK7+'O|Zo( RQ߆x"aouCl r2ey5/&2nYlQ >"t{2y01b΃dָ;v寒m.W7o.Y<=öɇoJ*ɇkZ]kA=lVlSӜSWYd]XUe˟roŷfۧMk9]{obʜ1~(c}7gz 3_OW}\!c_)537nf`_L<1>B67cڲI8fJ16]h7Vo ͇KEQ$3*}߅|w - w'<`_k`>>l#d9]b|2X-=e5lMЎg(sT3v#e&?^?EWa̪U1vӴS&˫MU˾liȩWaT=0ZU9?^׼k\̏Z= X$X#6Cn.f ,[oWpWYyGB8ּVw H]{dVV -SHt> +1412 0 obj<>/Info 6 0 R/DecodeParms<>/Size 1413/Length 1022>>stream +xڽXoMAT*,BiRTJ|DhGЅ ‚ZՏ H,l|$""Bkw}o:w~j̙3gΙ;W0cs!& Y6grgi%;f?amQw8\ >p|u+!,_QY 06~em=S(o@=3^!]n-`!{`:Ҧq m-݆p!`U.1%+c@qK|3qs \O$&&_ Xr`O)Eϫ)w^97y˶+>lT +n!$o/o0&^.|[u0a/C60R'8LҹЗMlj-0W&hIM)ʚ^95Voڒok7LGɖ]ȷx0!Iz#7\>!?u8_wrjM ?l2/|o)(J]^Gi}m|ꪙ[;XO(GLvvBn7BղS)YSHXq:4ԩ0_j9ҟZTk>i^qR`UK9 X$X#6Cnԭ.f ͅJOZpp-M#b!Bk^f+; +9VVj +SHts6A endstream endobj startxref -372322 +372325 %%EOF diff --git a/Master/texmf-dist/doc/latex/hyperref/options.pdf b/Master/texmf-dist/doc/latex/hyperref/options.pdf index 12a83d62f28..43f9553067b 100644 Binary files a/Master/texmf-dist/doc/latex/hyperref/options.pdf and b/Master/texmf-dist/doc/latex/hyperref/options.pdf differ diff --git a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex index 956606fcf4f..418d4f493e0 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex @@ -233,6 +233,24 @@ not portable. The main advantage of using the Hyper\TeX\ \ci{special} commands is that you can also use the document in hypertext DVI viewers, such as \textsf{xdvi}. +\begin{description} +\item[driverfallback] + If a driver is not given and cannot be autodetected, then use + the driver option, given as value to this option \textsf{driverfallback}. + Example: + \begin{quote} + \texttt{driverfallback=dvipdfm} + \end{quote} + Autodetected drivers (\textsf{pdftex}, \textsf{xetex}, \textsf{vtex}, + \textsf{vtexpdfmark}) are recognized from within \TeX\ and + therefore cannot be given as value to option \textsf{driverfallback}. + However a DVI driver program is run after the \TeX\ run is finished. + Thus it cannot be detected at \TeX\ macro level. Then package hyperref + uses the driver, given by \textsf{driverfallback}. If the driver + is already specified or can be autodetected, then option + \textsf{driverfallback} is ignored. +\end{description} + \section{Implicit behavior} This package can be used with more or less any normal \LaTeX\ document @@ -361,10 +379,25 @@ However, at any case, the link area will be wrong and displaced. \subsection{Backend drivers} -If no driver is specified, the package defaults to loading the -\textsf{hypertex} driver. +If no driver is specified, the package tries to find a driver in +the following order: +\begin{enumerate} +\item Autodetection, some \TeX\ processors can be detected at \TeX\ macro + level (pdf\TeX, Xe\TeX, V\TeX). +\item Option \textsf{driverfallback}. If this option is set, its value + is taken as driver option. +\item Makro \cs{Hy@defaultdriver}. The makro takes a driver file + name (without file extension). +\item Package default is \textsf{hypertex}. +\end{enumerate} +Many distributions are using a driver file \texttt{hypertex.cfg} that +define \cs{Hy@defaultdriver} with \texttt{hdvips}. This is recommended +because driver \textsf{dvips} provides much more features than +\textsf{hypertex} for PDF generation. \noindent\begin{longtable}{>{\ttfamily}lp{.8\hsize}} +driverfallback & Its value is used as driver option\\ + & if the driver is not given or autodetected.\\ dvipdfm & Sets up \textsf{hyperref} for use with the \textsf{dvipdfm} driver.\\ dvipdfmx & Sets up \textsf{hyperref} for use with the \textsf{dvipdfmx} driver.\\ dvips & Sets up \textsf{hyperref} for use with the \textsf{dvips} driver. \\ diff --git a/Master/texmf-dist/source/latex/hyperref/doc/options.tex b/Master/texmf-dist/source/latex/hyperref/doc/options.tex index 7e8278cea26..d7e05c77d38 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/options.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/options.tex @@ -33,6 +33,7 @@ colorlinks &color links&false\\ debug &provide details of anchors defined&false\\ &same as verbose&\\ draft &do not do any hyper linking&false\\ +driverfallback &Use this driver option, if no driver is given and cannot be autodetected\\ dvipdfm &use dvipdfm backend\\ dvipdfmx &use dvipdfmx backend (dvipdfm)\\ dvips &use dvips backend\\ diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 353532ad87f..f56ee4d783a 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -44,7 +44,7 @@ %\ProvidesFile{puenc.def} %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} -% [2010/09/11 v6.81m +% [2010/09/13 v6.81n % Hypertext links for LaTeX] % Dummy hyperref (SR)] % Hyperref documentation driver file] @@ -126,7 +126,7 @@ \end{document} % % \fi -% \CheckSum{27643} +% \CheckSum{27751} % % \MakeShortVerb{|} % \StopEventually{} @@ -566,6 +566,7 @@ % with the later releases! % \begin{macrocode} \RequirePackage{ltxcmds}[2010/03/09] +\RequirePackage{infwarerr}[2010/04/08] \RequirePackage{keyval}[1997/11/10] \RequirePackage{kvsetkeys}[2007/09/29] \RequirePackage{pdfescape}[2007/11/11] @@ -574,9 +575,18 @@ \RequirePackage{ifxetex}[2006/08/21] \RequirePackage{hycolor} \RequirePackage{letltxmacro}[2008/06/13] -\def\Hy@Warning#1{\PackageWarning{hyperref}{#1}} -\def\Hy@WarningNoLine#1{\PackageWarningNoLine{hyperref}{#1}} -\def\Hy@Info#1{\PackageInfo{hyperref}{#1}} +\def\Hy@Error#1{\@PackageError{hyperref}} +\def\Hy@Warning#1{\@PackageWarning{hyperref}{#1}} +\def\Hy@WarningNoLine#1{\@PackageWarningNoLine{hyperref}{#1}} +\def\Hy@Info#1{\@PackageInfo{hyperref}{#1}} +\def\Hy@InfoNoLine{\@PackageInfoNoLine{hyperref}} +\def\Hy@Message#1{% + \GenericWarning{% + (hyperref)\@spaces\@spaces\@spaces\@spaces + }{% + Package hyperref Message: #1\ltx@gobble + }% +} % \end{macrocode} % % \subsection{Checks with regular expressions} @@ -685,6 +695,14 @@ } % \end{macrocode} % +% Package kvoptions is used for processing options that are +% given as key value pairs. The package provides +% |\ProcessKeyvalOptions|, formerly known as +% |\ProcessOptionsWithKV|. +% \begin{macrocode} +\RequirePackage{kvoptions}[2009/07/21] +% \end{macrocode} +% % \subsection{Switches} % \begin{macrocode} \newif\ifHy@typexml @@ -4390,6 +4408,13 @@ % % \section{Options} % +% \begin{macrocode} +\SetupKeyvalOptions{% + family=Hyp,% + prefix=HyOpt% +} +% \end{macrocode} +% % \subsection{Help macros} % % \begin{macro}{\Hy@boolkey} @@ -4711,7 +4736,7 @@ \ifx\HyPsd@LoadUnicode\relax \else \def\HyPsd@LoadUnicode{% - \PackageError{hyperref}{% + \Hy@Error{% Unicode support for bookmarks is not available.\MessageBreak Activate unicode support by using one of the options\MessageBreak `unicode', `pdfencoding=unicode', `pdfencoding=auto'\MessageBreak @@ -4812,15 +4837,47 @@ % \end{macrocode} % % \section{Options for different drivers}\label{drivers} +% +% \begin{macrocode} +\newif\ifHy@DviMode +\let\Hy@DviErrMsg\ltx@empty +\ifpdf + \def\Hy@DviErrMsg{pdfTeX or LuaTeX is running in PDF mode}% +\else + \ifxetex + \def\Hy@DviErrMsg{XeTeX is running}% + \else + \ifvtex + \ifvtexdvi + \Hy@DviModetrue + \else + \def\Hy@DviErrMsg{VTeX is running, but not in DVI mode}% + \fi + \else + \Hy@DviModetrue + \fi + \fi +\fi +\def\HyOpt@CheckDvi#1{% + \ifHy@DviMode + \expandafter\ltx@firstofone + \else + \Hy@Error{% + Wrong DVI mode driver option `#1',\MessageBreak + because \Hy@DviErrMsg + }\@ehc + \expandafter\ltx@gobble + \fi +} +% \end{macrocode} % \begin{macrocode} -\define@key{Hyp}{hyperref}[true]{} -\define@key{Hyp}{tex4ht}[true]{% +\DeclareVoidOption{tex4ht}{% \Hy@texhttrue \kvsetkeys{Hyp}{colorlinks=true}% - \def\BeforeTeXIVht{\usepackage{color}}% + \def\BeforeTeXIVht{\RequirePackage{color}}% \def\Hy@driver{htex4ht}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -4828,17 +4885,30 @@ \endinput }% } -\define@key{Hyp}{pdftex}[true]{% - \def\Hy@driver{hpdftex}% +\DeclareVoidOption{pdftex}{% + \ifpdf + \def\Hy@driver{hpdftex}% + \else + \Hy@Error{% + Wrong driver option `pdftex',\MessageBreak + because pdfTeX in PDF mode is not detected% + }\@ehc + \fi } -\define@key{Hyp}{nativepdf}[true]{% - \def\Hy@driver{hdvips}% +\DeclareVoidOption{nativepdf}{% + \HyOpt@CheckDvi{nativepdf}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{dvipdfm}[true]{% - \def\Hy@driver{hdvipdfm}% +\DeclareVoidOption{dvipdfm}{% + \HyOpt@CheckDvi{dvipdfm}{% + \def\Hy@driver{hdvipdfm}% + }% } -\define@key{Hyp}{dvipdfmx}[true]{% - \def\Hy@driver{hdvipdfm}% +\DeclareVoidOption{dvipdfmx}{% + \HyOpt@CheckDvi{dvipdfmx}{% + \def\Hy@driver{hdvipdfm}% + }% } \define@key{Hyp}{dvipdfmx-outline-open}[true]{% \expandafter\ifx\csname if#1\expandafter\endcsname @@ -4848,33 +4918,41 @@ \chardef\SpecialDvipdfmxOutlineOpen\z@ \fi } -\define@key{Hyp}{xetex}[true]{% - \def\Hy@driver{hxetex}% +\DeclareVoidOption{xetex}{% + \ifxetex + \def\Hy@driver{hxetex}% + \else + \Hy@Error{% + Wrong driver option `xetex',\MessageBreak + because XeTeX is not detected% + }\@ehc + \fi } -\define@key{Hyp}{pdfmark}[true]{% - \def\Hy@driver{hdvips}% +\DeclareVoidOption{pdfmark}{% + \HyOpt@CheckDvi{pdfmark}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{dvips}[true]{% - \def\Hy@driver{hdvips}% +\DeclareVoidOption{dvips}{% + \HyOpt@CheckDvi{dvips}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{hypertex}[true]{% - \def\Hy@driver{hypertex}% +\DeclareVoidOption{hypertex}{% + \HyOpt@CheckDvi{hypertex}{% + \def\Hy@driver{hypertex}% + }% } \let\Hy@MaybeStopNow\relax -\define@key{Hyp}{vtex}[true]{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname OpMode\endcsname\relax - \@latex@error{Non-VTeX processor}{}% - \global\let\Hy@MaybeStopNow\endinput - \endinput - \else +\DeclareVoidOption{vtex}{% + \ifvtex \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % \def\Hy@driver{hvtex}% \else \ifnum\OpMode=10\relax \def\Hy@driver{hvtexhtm}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -4882,55 +4960,80 @@ \endinput }% \else - \@latex@error{Mode (\the\OpMode) has no hyperref driver}{}% - \global\let\Hy@MaybeStopNow\endinput - \endinput + \Hy@Error{% + Wrong driver option `vtex',\MessageBreak + because of wrong OpMode (\the\OpMode)% + }\@ehc \fi \fi + \else + \Hy@Error{% + Wrong driver option `vtex',\MessageBreak + because VTeX is not running% + }\@ehc \fi } -\define@key{Hyp}{vtexpdfmark}[true]{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname OpMode\endcsname\relax - \@latex@error{Non-VTeX processor}{}% - \let\Hy@MaybeStopNow\endinput - \endinput - \else +\DeclareVoidOption{vtexpdfmark}{% + \ifvtex \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % \def\Hy@driver{hvtexmrk}% \else - \@latex@error{Mode (\the\OpMode) has no hyperref driver}{}% - \let\Hy@MaybeStopNow\endinput - \endinput + \Hy@Error{% + Wrong driver option `vtexpdfmark',\MessageBreak + because of wrong OpMode (\the\OpMode)% + }\@ehc \fi - \fi -} -\define@key{Hyp}{dviwindo}[true]{% - \def\Hy@driver{hdviwind}% - \kvsetkeys{Hyp}{colorlinks}% - \ifpdf \else - \ifxetex - \else - \PassOptionsToPackage{dviwindo}{color}% - \fi + \Hy@Error{% + Wrong driver option `vtexpdfmark,\MessageBreak + because VTeX is not running% + }\@ehc \fi } -\define@key{Hyp}{dvipsone}[true]{% - \def\Hy@driver{hdvipson}% +\DeclareVoidOption{dviwindo}{% + \HyOpt@CheckDvi{dviwindo}{% + \def\Hy@driver{hdviwind}% + \kvsetkeys{Hyp}{colorlinks}% + \PassOptionsToPackage{dviwindo}{color}% + }% +} +\DeclareVoidOption{dvipsone}{% + \HyOpt@CheckDvi{dvipsone}{% + \def\Hy@driver{hdvipson}% + }% } -\define@key{Hyp}{textures}[true]{% - \def\Hy@driver{htexture}% +\DeclareVoidOption{textures}{% + \HyOpt@CheckDvi{textures}{% + \def\Hy@driver{htexture}% + }% } -\define@key{Hyp}{latex2html}[true]{% - \Hy@AtBeginDocument{\@@latextohtmlX}% +\DeclareVoidOption{latex2html}{% + \HyOpt@CheckDvi{latex2html}{% + \Hy@AtBeginDocument{\@@latextohtmlX}% + }% } % \end{macrocode} % No more special treatment for ps2pdf. Let it sink or swim. % \begin{macrocode} -\define@key{Hyp}{ps2pdf}[true]{% - \def\Hy@driver{hdvips}% - \providecommand*\@pdfborder{0 0 1}% +\DeclareVoidOption{ps2pdf}{% + \HyOpt@CheckDvi{ps2pdf}{% + \def\Hy@driver{hdvips}% + }% +} +% \end{macrocode} +% +% \begin{macrocode} +\let\HyOpt@DriverFallback\ltx@empty +\define@key{Hyp}{driverfallback}{% + \ifHy@DviMode + \def\HyOpt@DriverFallback{#1}% + \Hy@Match\HyOpt@DriverFallback{% + ^(|dvipdfm|dvipdfmx|dvips|dvipsone|dviwindo|hypertex|ps2pdf|% + latex2html|tex4ht)$% + }{}{% + \let\HyOpt@DriverFallback\ltx@empty + }% + \fi } % \end{macrocode} % @@ -5422,7 +5525,7 @@ % \end{macrocode} % More work is needed in case of options |vietnamese| and |vietnam|. % \begin{macrocode} -\define@key{Hyp}{vietnamese}[]{% +\DeclareVoidOption{vietnamese}{% \HyLang@addto\extrasvietnamese\HyLang@vietnamese \Hy@AtEndOfPackage{% \@ifundefined{T@PU}{}{% @@ -5430,7 +5533,7 @@ }% }% } -\define@key{Hyp}{vietnam}[]{% +\DeclareVoidOption{vietnam}{% \HyLang@addto\extrasvietnam\HyLang@vietnamese \Hy@AtEndOfPackage{% \@ifundefined{T@PU}{}{% @@ -5442,7 +5545,7 @@ % Similar for option |arabic| that just loads the additions % to PU encoding for Arabi. % \begin{macrocode} -\define@key{Hyp}{arabic}[]{% +\DeclareVoidOption{arabic}{% \Hy@AtEndOfPackage{% \@ifundefined{T@PU}{}{% \input{puarenc.def}% @@ -5633,7 +5736,9 @@ % value. % \begin{macrocode} \let\@pdfpagetransition\relax -\define@key{Hyp}{pdfpagetransition}{\def\@pdfpagetransition{#1}} +\define@key{Hyp}{pdfpagetransition}{% + \def\@pdfpagetransition{#1}% +} % \end{macrocode} % \end{macro} % \begin{macro}{\@pdfpageduration} @@ -5644,7 +5749,19 @@ % value. % \begin{macrocode} \let\@pdfpageduration\relax -\define@key{Hyp}{pdfpageduration}{\def\@pdfpageduration{#1}} +\define@key{Hyp}{pdfpageduration}{% + \def\@pdfpageduration{#1}% + \Hy@Match\@pdfpageduration{% + ^(|[0-9]+\.?[0-9]*|[0-9]*\.?[0-9]+)$% + }{}{% + \Hy@Warning{% + Invalid value `\@pdfpageduration'\MessageBreak + of `pdfpageduration'\MessageBreak + is replaced by an empty value% + }% + \let\@pdfpageduration\ltx@empty + }% +} % \end{macrocode} % \end{macro} % @@ -5706,7 +5823,23 @@ \do{/O}{Outline}% \do{/P}{Push}% } -\define@key{Hyp}{pdfborder}{\def\@pdfborder{#1}} +\define@key{Hyp}{pdfborder}{% + \def\Hy@temp{#1}% + \Hy@Match\Hy@temp{% + ^(\HyPat@NonNegativeReal/ % + \HyPat@NonNegativeReal/ % + \HyPat@NonNegativeReal/% + ( ?[\HyPat@NonNegativeReal/( \HyPat@NonNegativeReal/)*])?)$% + }{% + \let\@pdfborder\Hy@temp + }{% + \Hy@Warning{% + Invalid value `\Hy@temp'\MessageBreak + for option `pdfborder'.\MessageBreak + Option setting is ignored% + }% + }% +} \define@key{Hyp}{pdfborderstyle}{\def\@pdfborderstyle{#1}} \def\Hy@setpdfborder{% \ifx\@pdfborder\@empty @@ -6184,14 +6317,6 @@ % package options, but put them through the \emph{keyval} package. % This section was written by David Carlisle. % -% Package kvoptions is used for processing options that are -% given as key value pairs. The package provides -% |\ProcessKeyvalOptions|, formerly known as -% |\ProcessOptionsWithKV|. -% \begin{macrocode} -\RequirePackage{kvoptions}[2009/07/21] -% \end{macrocode} -% % \begin{macrocode} \SetupKeyvalOptions{family=Hyp} \DeclareLocalOptions{% @@ -6276,7 +6401,7 @@ \expandafter\endgroup \ifx\y Y% \else - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Named action `#1' is not permitted% }\@ehc {#2}% @@ -6346,11 +6471,11 @@ \fi \Hy@DisableOption{typexml} \ifHy@implicit - \typeout{Implicit mode ON; LaTeX internals redefined}% + \Hy@InfoNoLine{Implicit mode ON; LaTeX internals redefined}% \else - \typeout{Implicit mode OFF; no redefinition of LaTeX internals}% + \Hy@InfoNoLine{Implicit mode OFF; no redefinition of LaTeX internals}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -6453,7 +6578,9 @@ % If the driver is not given, find the right driver or % use the default driver. % \begin{macrocode} + \def\HyOpt@DriverType{}% \ifx\Hy@driver\@empty + \def\HyOpt@DriverType{ (autodetected)}% \providecommand*{\Hy@defaultdriver}{hypertex}% \ifpdf \def\Hy@driver{hpdftex}% @@ -6464,7 +6591,7 @@ \ifvtexhtml \def\Hy@driver{hvtexhtm}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -6478,7 +6605,23 @@ \ifvtexps \def\Hy@driver{hvtex}% \else - \let\Hy@driver\Hy@defaultdriver + \ifx\HyOpt@DriverFallback\ltx@empty + \let\Hy@driver\Hy@defaultdriver + \def\HyOpt@DriverType{ (default)}% + \else + \begingroup + \toks@\expandafter{\HyOpt@DriverFallback}% + \edef\x{\endgroup + \noexpand\kvsetkeys{Hyp}{\the\toks@}% + }% + \x + \ifx\Hy@driver\ltx@empty + \let\Hy@driver\Hy@defaultdriver + \def\HyOpt@DriverType{ (default)}% + \else + \def\HyOpt@DriverType{ (fallback)}% + \fi + \fi \fi \fi \fi @@ -6491,13 +6634,29 @@ \PassOptionsToPackage{dviwindo}{color}% \fi \fi - \typeout{* hyperref using default driver \Hy@driver\ltx@space*}% - \else - \typeout{* hyperref using driver \Hy@driver\ltx@space*}% \fi + \Hy@Message{Driver\HyOpt@DriverType: \Hy@driver}% \input{\Hy@driver.def}% \let\@unprocessedoptions\relax \Hy@RestoreCatcodes + \Hy@DisableOption{tex4ht}% + \Hy@DisableOption{pdftex}% + \Hy@DisableOption{nativepdf}% + \Hy@DisableOption{dvipdfm}% + \Hy@DisableOption{dvipdfmx}% + \Hy@DisableOption{dvipdfmx-outline-open}% + \Hy@DisableOption{pdfmark}% + \Hy@DisableOption{dvips}% + \Hy@DisableOption{hypertex}% + \Hy@DisableOption{vtex}% + \Hy@DisableOption{vtexpdfmark}% + \Hy@DisableOption{dviwindo}% + \Hy@DisableOption{dvipsone}% + \Hy@DisableOption{textures}% + \Hy@DisableOption{latex2html}% + \Hy@DisableOption{ps2pdf}% + \Hy@DisableOption{xetex}% + \Hy@DisableOption{pdfversion}% } % \end{macrocode} % Support for open outlines is enabled for Xe\TeX\ >= 0.9995. @@ -6519,26 +6678,6 @@ \Hy@DvipdfmxOutlineOpentrue \fi \fi -\Hy@DisableOption{tex4ht} -\Hy@DisableOption{pdftex} -\Hy@DisableOption{nativepdf} -\Hy@DisableOption{dvipdfm} -\Hy@DisableOption{dvipdfmx} -\Hy@DisableOption{dvipdfmx-outline-open} -\Hy@DisableOption{pdfmark} -\Hy@DisableOption{dvips} -\Hy@DisableOption{hypertex} -\Hy@DisableOption{vtex} -\Hy@DisableOption{vtexpdfmark} -\Hy@DisableOption{dviwindo} -\Hy@DisableOption{dvipsone} -\Hy@DisableOption{textures} -\Hy@DisableOption{latex2html} -\Hy@DisableOption{ps2pdf} -\Hy@DisableOption{xetex} -\Hy@AtEndOfPackage{% - \Hy@DisableOption{pdfversion}% -} % \end{macrocode} % % \subsubsection{Bookmarks} @@ -6953,7 +7092,7 @@ \newif\ifHy@href@ismap \define@key{href}{ismap}[true]{% \ltx@IfUndefined{Hy@href@ismap#1}{% - \PackageError{hyperref}{% + \Hy@Error{% Invalid value (#1) for key `ismap'.\MessageBreak Permitted values are `true' or `false'.\MessageBreak Ignoring `ismap'% @@ -7203,7 +7342,7 @@ % \begin{macrocode} \ifx\@pdftempa\@pdftempwordrun \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Launch action is prohibited% }\@ehc \begingroup @@ -7657,7 +7796,7 @@ \lowercase{\def\Hy@temp{#1}}% \@ifundefined{Fld@export@\Hy@temp}{% \@onelevel@sanitize\Hy@temp - \PackageError{hyperref}{% + \Hy@Error{% Unknown export format `\Hy@temp'.\MessageBreak Known formats are `FDF', `HTML', `XFDF', and `PDF'% }\@ehc @@ -7822,7 +7961,7 @@ \else\ifFld@password \else\ifFld@fileselect \else 1\fi\fi\fi\relax - \PackageError{hyperref}{% + \Hy@Error{% Field option `comb' cannot used together with\MessageBreak `multiline', `password', or `fileselect'% }\@ehc @@ -8051,7 +8190,7 @@ \lowercase{\def\Hy@temp{#1}}% \@ifundefined{Form@method@\Hy@temp}{% \@onelevel@sanitize\Hy@temp - \PackageError{hyperref}{% + \Hy@Error{% Unknown method `\Hy@temp'.\MessageBreak Known values are `post' and `get'% }\@ehc @@ -8222,7 +8361,7 @@ \def\Hy@@temp#1#2{% \ifHy@pdfa \define@key{Field}{#2}{% - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Additional action `#2' is prohibited% }\@ehc }% @@ -8271,7 +8410,7 @@ \else \ifHy@pdfa \define@key{Field}{onclick}{% - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Action `onclick' is prohibited% }\@ehc }% @@ -13720,29 +13859,29 @@ \Hy@RestoreLastskip } \def\@Form[#1]{% - \typeout{Sorry, TeXpider does not yet support FORMs}% + \Hy@Message{Sorry, TeXpider does not yet support FORMs}% } \def\@endForm{} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, TeXpider does not yet support FORM gauges}% + \Hy@Message{Sorry, TeXpider does not yet support FORM gauges}% } \def\@TextField[#1]#2{% parameters, label - \typeout{Sorry, TeXpider does not yet support FORM text fields}% + \Hy@Message{Sorry, TeXpider does not yet support FORM text fields}% } \def\@CheckBox[#1]#2{% parameters, label - \typeout{Sorry, TeXpider does not yet support FORM checkboxes}% + \Hy@Message{Sorry, TeXpider does not yet support FORM checkboxes}% } \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices - \typeout{Sorry, TeXpider does not yet support FORM choice menus}% + \Hy@Message{Sorry, TeXpider does not yet support FORM choice menus}% } \def\@PushButton[#1]#2{% parameters, label - \typeout{Sorry, TeXpider does not yet support FORM pushbuttons}% + \Hy@Message{Sorry, TeXpider does not yet support FORM pushbuttons}% } \def\@Reset[#1]#2{% - \typeout{Sorry, TeXpider does not yet support FORMs}% + \Hy@Message{Sorry, TeXpider does not yet support FORMs}% } \def\@Submit[#1]#2{% - \typeout{Sorry, TeXpider does not yet support FORMs}% + \Hy@Message{Sorry, TeXpider does not yet support FORMs}% } % % \end{macrocode} @@ -15944,7 +16083,7 @@ \providecommand*{\XR@ext}{html} \def\Hy@raisedlink{} \@ifpackageloaded{tex4ht}{% - \typeout{hyperref tex4ht: tex4ht already loaded}% + \Hy@InfoNoLine{tex4ht is already loaded}% }{% \RequirePackage[htex4ht]{tex4ht}% } @@ -16280,7 +16419,7 @@ } \def\@endForm{} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, pdfmark drivers do not support FORM gauges}% + \Hy@Message{Sorry, pdfmark drivers do not support FORM gauges}% } \def\@TextField[#1]#2{% parameters, label \def\Fld@name{#2}% @@ -16407,7 +16546,7 @@ \DefaultOptionsofPushButton,#1% }% \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -16453,7 +16592,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% @@ -16492,25 +16631,25 @@ % \subsection{HyperTeX} % \begin{macrocode} %<*hypertex> -\def\@Form[#1]{\typeout{Sorry, HyperTeX does not support FORMs}} +\def\@Form[#1]{\Hy@Message{Sorry, HyperTeX does not support FORMs}} \def\@endForm{} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, HyperTeX does not support FORM gauges}% + \Hy@Message{Sorry, HyperTeX does not support FORM gauges}% } \def\@TextField[#1]#2{% parameters, label - \typeout{Sorry, HyperTeX does not support FORM text fields}% + \Hy@Message{Sorry, HyperTeX does not support FORM text fields}% } \def\@CheckBox[#1]#2{% parameters, label - \typeout{Sorry, HyperTeX does not support FORM checkboxes}% + \Hy@Message{Sorry, HyperTeX does not support FORM checkboxes}% } \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices - \typeout{Sorry, HyperTeX does not support FORM choice menus}% + \Hy@Message{Sorry, HyperTeX does not support FORM choice menus}% } \def\@PushButton[#1]#2{% parameters, label - \typeout{Sorry, HyperTeX does not support FORM pushbuttons}% + \Hy@Message{Sorry, HyperTeX does not support FORM pushbuttons}% } -\def\@Reset[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} -\def\@Submit[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} +\def\@Reset[#1]#2{\Hy@Message{Sorry, HyperTeX does not support FORMs}} +\def\@Submit[#1]#2{\Hy@Message{Sorry, HyperTeX does not support FORMs}} % % \end{macrocode} % \subsection{TeX4ht} @@ -16522,7 +16661,7 @@ } \def\@endForm{\HCode{}} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, TeX4ht does not support gauges}% + \Hy@Message{Sorry, TeX4ht does not support gauges}% } \def\@TextField[#1]#2{% parameters, label \let\Hy@reserved@a\@empty @@ -16663,7 +16802,7 @@ % \begin{macrocode} %<*pdftex> \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, pdftex does not support FORM gauges}% + \Hy@Message{Sorry, pdftex does not support FORM gauges}% } \def\MakeFieldObject#1#2{\sbox0{#1}% \immediate\pdfxform0 % @@ -16914,7 +17053,7 @@ }% \PDFForm@Name \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -16966,7 +17105,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% @@ -17071,7 +17210,7 @@ % \begin{macro}{\@Gauge} % \begin{macrocode} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, dvipdfm/XeTeX does not support FORM gauges}% + \Hy@Message{Sorry, dvipdfm/XeTeX does not support FORM gauges}% } % \end{macrocode} % \end{macro} @@ -17334,7 +17473,7 @@ }% \PDFForm@Name \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -17402,7 +17541,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index f45ea7ed2c6..79f073870a3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -583,7 +583,7 @@ \Hy@DisableOption{setpagesize}% } \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, dvipdfm/XeTeX does not support FORM gauges}% + \Hy@Message{Sorry, dvipdfm/XeTeX does not support FORM gauges}% } \def\@Form[#1]{% \@ifundefined{textcolor}{\let\textcolor\@gobble}{}% @@ -788,7 +788,7 @@ }% \PDFForm@Name \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -846,7 +846,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 6cda6f66845..a216e0c7860 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvips.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for dvips] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def index a27928fe904..408cb4b8345 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipson.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for dvipsone] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 30d960f878f..ecf7e8356fe 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for dviwindo] \begingroup \@ifundefined{headerps@out}{}{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index a6a93bab7df..5f4499bfb92 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -780,7 +780,7 @@ } \AtBeginShipout{\Hy@FixNotFirstPage} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, pdftex does not support FORM gauges}% + \Hy@Message{Sorry, pdftex does not support FORM gauges}% } \def\MakeFieldObject#1#2{\sbox0{#1}% \immediate\pdfxform0 % @@ -1021,7 +1021,7 @@ }% \PDFForm@Name \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -1073,7 +1073,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg index 580ff7cee7d..03fe4ce5e60 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.cfg @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.cfg} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref configuration file for TeX4ht] \IfFileExists{\jobname.cfg}{\endinput}{} \Preamble{html} diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def index dd6a0058c35..281f6d2e839 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -29,12 +29,12 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for TeX4ht] \providecommand*{\XR@ext}{html} \def\Hy@raisedlink{} \@ifpackageloaded{tex4ht}{% - \typeout{hyperref tex4ht: tex4ht already loaded}% + \Hy@InfoNoLine{tex4ht is already loaded}% }{% \RequirePackage[htex4ht]{tex4ht}% } @@ -167,7 +167,7 @@ } \def\@endForm{\HCode{}} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, TeX4ht does not support gauges}% + \Hy@Message{Sorry, TeX4ht does not support gauges}% } \def\@TextField[#1]#2{% parameters, label \let\Hy@reserved@a\@empty diff --git a/Master/texmf-dist/tex/latex/hyperref/htexture.def b/Master/texmf-dist/tex/latex/hyperref/htexture.def index 396cec13baa..c8e2659fc47 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htexture.def +++ b/Master/texmf-dist/tex/latex/hyperref/htexture.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htexture.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for Textures] \providecommand*{\XR@ext}{pdf} \begingroup diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtex.def b/Master/texmf-dist/tex/latex/hyperref/hvtex.def index a436643199e..cb975bbc37e 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtex.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtex.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for VTeX in PDF/PS mode] \providecommand*{\XR@ext}{pdf} \edef\Hy@VTeXversion{% diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def index b21b4f9bdcd..eb4e612cab3 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexhtm.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexhtml.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for VTeX in HTML mode] \providecommand*{\XR@ext}{htm} \RequirePackage{vtexhtml} @@ -119,29 +119,29 @@ \Hy@RestoreLastskip } \def\@Form[#1]{% - \typeout{Sorry, TeXpider does not yet support FORMs}% + \Hy@Message{Sorry, TeXpider does not yet support FORMs}% } \def\@endForm{} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, TeXpider does not yet support FORM gauges}% + \Hy@Message{Sorry, TeXpider does not yet support FORM gauges}% } \def\@TextField[#1]#2{% parameters, label - \typeout{Sorry, TeXpider does not yet support FORM text fields}% + \Hy@Message{Sorry, TeXpider does not yet support FORM text fields}% } \def\@CheckBox[#1]#2{% parameters, label - \typeout{Sorry, TeXpider does not yet support FORM checkboxes}% + \Hy@Message{Sorry, TeXpider does not yet support FORM checkboxes}% } \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices - \typeout{Sorry, TeXpider does not yet support FORM choice menus}% + \Hy@Message{Sorry, TeXpider does not yet support FORM choice menus}% } \def\@PushButton[#1]#2{% parameters, label - \typeout{Sorry, TeXpider does not yet support FORM pushbuttons}% + \Hy@Message{Sorry, TeXpider does not yet support FORM pushbuttons}% } \def\@Reset[#1]#2{% - \typeout{Sorry, TeXpider does not yet support FORMs}% + \Hy@Message{Sorry, TeXpider does not yet support FORMs}% } \def\@Submit[#1]#2{% - \typeout{Sorry, TeXpider does not yet support FORMs}% + \Hy@Message{Sorry, TeXpider does not yet support FORMs}% } \endinput %% diff --git a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def index f52225cfd92..54f77ca6571 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def +++ b/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hvtexmrk.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def index a02683aca73..2a68daa8872 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hxetex.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for XeTeX] \HyPsd@LoadUnicode \Hy@unicodetrue @@ -645,7 +645,7 @@ \fi } \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, dvipdfm/XeTeX does not support FORM gauges}% + \Hy@Message{Sorry, dvipdfm/XeTeX does not support FORM gauges}% } \def\@Form[#1]{% \@ifundefined{textcolor}{\let\textcolor\@gobble}{}% @@ -850,7 +850,7 @@ }% \PDFForm@Name \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -908,7 +908,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index d7c55490684..ee45a5ee31d 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hyperref} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -100,6 +100,7 @@ \endgroup \Hy@SetCatcodes \RequirePackage{ltxcmds}[2010/03/09] +\RequirePackage{infwarerr}[2010/04/08] \RequirePackage{keyval}[1997/11/10] \RequirePackage{kvsetkeys}[2007/09/29] \RequirePackage{pdfescape}[2007/11/11] @@ -108,9 +109,18 @@ \RequirePackage{ifxetex}[2006/08/21] \RequirePackage{hycolor} \RequirePackage{letltxmacro}[2008/06/13] -\def\Hy@Warning#1{\PackageWarning{hyperref}{#1}} -\def\Hy@WarningNoLine#1{\PackageWarningNoLine{hyperref}{#1}} -\def\Hy@Info#1{\PackageInfo{hyperref}{#1}} +\def\Hy@Error#1{\@PackageError{hyperref}} +\def\Hy@Warning#1{\@PackageWarning{hyperref}{#1}} +\def\Hy@WarningNoLine#1{\@PackageWarningNoLine{hyperref}{#1}} +\def\Hy@Info#1{\@PackageInfo{hyperref}{#1}} +\def\Hy@InfoNoLine{\@PackageInfoNoLine{hyperref}} +\def\Hy@Message#1{% + \GenericWarning{% + (hyperref)\@spaces\@spaces\@spaces\@spaces + }{% + Package hyperref Message: #1\ltx@gobble + }% +} \ltx@IfUndefined{pdfmatch}{% \def\Hy@Match#1#2#3#4{}% }{% @@ -169,6 +179,7 @@ \let\Hy@AtBeginDocumentHook\@undefined }% } +\RequirePackage{kvoptions}[2009/07/21] \newif\ifHy@typexml \newif\ifHy@activeanchor \newif\ifHy@backref @@ -2276,6 +2287,10 @@ \fi \fi }% +\SetupKeyvalOptions{% + family=Hyp,% + prefix=HyOpt% +} \def\Hy@boolkey{\@dblarg\Hy@@boolkey} \def\Hy@@boolkey[#1]#2#3{% \edef\Hy@tempa{#3}% @@ -2500,7 +2515,7 @@ \ifx\HyPsd@LoadUnicode\relax \else \def\HyPsd@LoadUnicode{% - \PackageError{hyperref}{% + \Hy@Error{% Unicode support for bookmarks is not available.\MessageBreak Activate unicode support by using one of the options\MessageBreak `unicode', `pdfencoding=unicode', `pdfencoding=auto'\MessageBreak @@ -2590,14 +2605,43 @@ \@namedef{Hy@pdfversion@1.8}{8}% \@namedef{Hy@pdfversion@1.9}{9}% \def\Hy@pdfversion{2} -\define@key{Hyp}{hyperref}[true]{} -\define@key{Hyp}{tex4ht}[true]{% +\newif\ifHy@DviMode +\let\Hy@DviErrMsg\ltx@empty +\ifpdf + \def\Hy@DviErrMsg{pdfTeX or LuaTeX is running in PDF mode}% +\else + \ifxetex + \def\Hy@DviErrMsg{XeTeX is running}% + \else + \ifvtex + \ifvtexdvi + \Hy@DviModetrue + \else + \def\Hy@DviErrMsg{VTeX is running, but not in DVI mode}% + \fi + \else + \Hy@DviModetrue + \fi + \fi +\fi +\def\HyOpt@CheckDvi#1{% + \ifHy@DviMode + \expandafter\ltx@firstofone + \else + \Hy@Error{% + Wrong DVI mode driver option `#1',\MessageBreak + because \Hy@DviErrMsg + }\@ehc + \expandafter\ltx@gobble + \fi +} +\DeclareVoidOption{tex4ht}{% \Hy@texhttrue \kvsetkeys{Hyp}{colorlinks=true}% - \def\BeforeTeXIVht{\usepackage{color}}% + \def\BeforeTeXIVht{\RequirePackage{color}}% \def\Hy@driver{htex4ht}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -2605,17 +2649,30 @@ \endinput }% } -\define@key{Hyp}{pdftex}[true]{% - \def\Hy@driver{hpdftex}% +\DeclareVoidOption{pdftex}{% + \ifpdf + \def\Hy@driver{hpdftex}% + \else + \Hy@Error{% + Wrong driver option `pdftex',\MessageBreak + because pdfTeX in PDF mode is not detected% + }\@ehc + \fi } -\define@key{Hyp}{nativepdf}[true]{% - \def\Hy@driver{hdvips}% +\DeclareVoidOption{nativepdf}{% + \HyOpt@CheckDvi{nativepdf}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{dvipdfm}[true]{% - \def\Hy@driver{hdvipdfm}% +\DeclareVoidOption{dvipdfm}{% + \HyOpt@CheckDvi{dvipdfm}{% + \def\Hy@driver{hdvipdfm}% + }% } -\define@key{Hyp}{dvipdfmx}[true]{% - \def\Hy@driver{hdvipdfm}% +\DeclareVoidOption{dvipdfmx}{% + \HyOpt@CheckDvi{dvipdfmx}{% + \def\Hy@driver{hdvipdfm}% + }% } \define@key{Hyp}{dvipdfmx-outline-open}[true]{% \expandafter\ifx\csname if#1\expandafter\endcsname @@ -2625,33 +2682,41 @@ \chardef\SpecialDvipdfmxOutlineOpen\z@ \fi } -\define@key{Hyp}{xetex}[true]{% - \def\Hy@driver{hxetex}% +\DeclareVoidOption{xetex}{% + \ifxetex + \def\Hy@driver{hxetex}% + \else + \Hy@Error{% + Wrong driver option `xetex',\MessageBreak + because XeTeX is not detected% + }\@ehc + \fi } -\define@key{Hyp}{pdfmark}[true]{% - \def\Hy@driver{hdvips}% +\DeclareVoidOption{pdfmark}{% + \HyOpt@CheckDvi{pdfmark}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{dvips}[true]{% - \def\Hy@driver{hdvips}% +\DeclareVoidOption{dvips}{% + \HyOpt@CheckDvi{dvips}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{hypertex}[true]{% - \def\Hy@driver{hypertex}% +\DeclareVoidOption{hypertex}{% + \HyOpt@CheckDvi{hypertex}{% + \def\Hy@driver{hypertex}% + }% } \let\Hy@MaybeStopNow\relax -\define@key{Hyp}{vtex}[true]{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname OpMode\endcsname\relax - \@latex@error{Non-VTeX processor}{}% - \global\let\Hy@MaybeStopNow\endinput - \endinput - \else +\DeclareVoidOption{vtex}{% + \ifvtex \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % \def\Hy@driver{hvtex}% \else \ifnum\OpMode=10\relax \def\Hy@driver{hvtexhtm}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -2659,52 +2724,74 @@ \endinput }% \else - \@latex@error{Mode (\the\OpMode) has no hyperref driver}{}% - \global\let\Hy@MaybeStopNow\endinput - \endinput + \Hy@Error{% + Wrong driver option `vtex',\MessageBreak + because of wrong OpMode (\the\OpMode)% + }\@ehc \fi \fi + \else + \Hy@Error{% + Wrong driver option `vtex',\MessageBreak + because VTeX is not running% + }\@ehc \fi } -\define@key{Hyp}{vtexpdfmark}[true]{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname OpMode\endcsname\relax - \@latex@error{Non-VTeX processor}{}% - \let\Hy@MaybeStopNow\endinput - \endinput - \else +\DeclareVoidOption{vtexpdfmark}{% + \ifvtex \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % \def\Hy@driver{hvtexmrk}% \else - \@latex@error{Mode (\the\OpMode) has no hyperref driver}{}% - \let\Hy@MaybeStopNow\endinput - \endinput + \Hy@Error{% + Wrong driver option `vtexpdfmark',\MessageBreak + because of wrong OpMode (\the\OpMode)% + }\@ehc \fi - \fi -} -\define@key{Hyp}{dviwindo}[true]{% - \def\Hy@driver{hdviwind}% - \kvsetkeys{Hyp}{colorlinks}% - \ifpdf \else - \ifxetex - \else - \PassOptionsToPackage{dviwindo}{color}% - \fi + \Hy@Error{% + Wrong driver option `vtexpdfmark,\MessageBreak + because VTeX is not running% + }\@ehc \fi } -\define@key{Hyp}{dvipsone}[true]{% - \def\Hy@driver{hdvipson}% +\DeclareVoidOption{dviwindo}{% + \HyOpt@CheckDvi{dviwindo}{% + \def\Hy@driver{hdviwind}% + \kvsetkeys{Hyp}{colorlinks}% + \PassOptionsToPackage{dviwindo}{color}% + }% +} +\DeclareVoidOption{dvipsone}{% + \HyOpt@CheckDvi{dvipsone}{% + \def\Hy@driver{hdvipson}% + }% } -\define@key{Hyp}{textures}[true]{% - \def\Hy@driver{htexture}% +\DeclareVoidOption{textures}{% + \HyOpt@CheckDvi{textures}{% + \def\Hy@driver{htexture}% + }% +} +\DeclareVoidOption{latex2html}{% + \HyOpt@CheckDvi{latex2html}{% + \Hy@AtBeginDocument{\@@latextohtmlX}% + }% } -\define@key{Hyp}{latex2html}[true]{% - \Hy@AtBeginDocument{\@@latextohtmlX}% +\DeclareVoidOption{ps2pdf}{% + \HyOpt@CheckDvi{ps2pdf}{% + \def\Hy@driver{hdvips}% + }% } -\define@key{Hyp}{ps2pdf}[true]{% - \def\Hy@driver{hdvips}% - \providecommand*\@pdfborder{0 0 1}% +\let\HyOpt@DriverFallback\ltx@empty +\define@key{Hyp}{driverfallback}{% + \ifHy@DviMode + \def\HyOpt@DriverFallback{#1}% + \Hy@Match\HyOpt@DriverFallback{% + ^(|dvipdfm|dvipdfmx|dvips|dvipsone|dviwindo|hypertex|ps2pdf|% + latex2html|tex4ht)$% + }{}{% + \let\HyOpt@DriverFallback\ltx@empty + }% + \fi } \define@key{Hyp}{hyperfigures}[true]{% \Hy@boolkey[hyperfigures]{figures}{#1}% @@ -3018,7 +3105,7 @@ \HyLang@DeclareLang{italian}{italian}{} \HyLang@DeclareLang{magyar}{magyar}{} \HyLang@DeclareLang{hungarian}{magyar}{} -\define@key{Hyp}{vietnamese}[]{% +\DeclareVoidOption{vietnamese}{% \HyLang@addto\extrasvietnamese\HyLang@vietnamese \Hy@AtEndOfPackage{% \@ifundefined{T@PU}{}{% @@ -3026,7 +3113,7 @@ }% }% } -\define@key{Hyp}{vietnam}[]{% +\DeclareVoidOption{vietnam}{% \HyLang@addto\extrasvietnam\HyLang@vietnamese \Hy@AtEndOfPackage{% \@ifundefined{T@PU}{}{% @@ -3034,7 +3121,7 @@ }% }% } -\define@key{Hyp}{arabic}[]{% +\DeclareVoidOption{arabic}{% \Hy@AtEndOfPackage{% \@ifundefined{T@PU}{}{% \input{puarenc.def}% @@ -3163,9 +3250,23 @@ \define@key{Hyp}{linkfileprefix}{\hyperlinkfileprefix{#1}} \hyperlinkfileprefix{file:} \let\@pdfpagetransition\relax -\define@key{Hyp}{pdfpagetransition}{\def\@pdfpagetransition{#1}} +\define@key{Hyp}{pdfpagetransition}{% + \def\@pdfpagetransition{#1}% +} \let\@pdfpageduration\relax -\define@key{Hyp}{pdfpageduration}{\def\@pdfpageduration{#1}} +\define@key{Hyp}{pdfpageduration}{% + \def\@pdfpageduration{#1}% + \Hy@Match\@pdfpageduration{% + ^(|[0-9]+\.?[0-9]*|[0-9]*\.?[0-9]+)$% + }{}{% + \Hy@Warning{% + Invalid value `\@pdfpageduration'\MessageBreak + of `pdfpageduration'\MessageBreak + is replaced by an empty value% + }% + \let\@pdfpageduration\ltx@empty + }% +} \newif\ifHy@useHidKey \Hy@useHidKeyfalse \define@key{Hyp}{pdfpagehidden}[true]{% @@ -3201,7 +3302,23 @@ \do{/O}{Outline}% \do{/P}{Push}% } -\define@key{Hyp}{pdfborder}{\def\@pdfborder{#1}} +\define@key{Hyp}{pdfborder}{% + \def\Hy@temp{#1}% + \Hy@Match\Hy@temp{% + ^(\HyPat@NonNegativeReal/ % + \HyPat@NonNegativeReal/ % + \HyPat@NonNegativeReal/% + ( ?[\HyPat@NonNegativeReal/( \HyPat@NonNegativeReal/)*])?)$% + }{% + \let\@pdfborder\Hy@temp + }{% + \Hy@Warning{% + Invalid value `\Hy@temp'\MessageBreak + for option `pdfborder'.\MessageBreak + Option setting is ignored% + }% + }% +} \define@key{Hyp}{pdfborderstyle}{\def\@pdfborderstyle{#1}} \def\Hy@setpdfborder{% \ifx\@pdfborder\@empty @@ -3660,7 +3777,6 @@ \Hy@SetCatcodes \let\ExecuteOptions\hyper@normalise \Hy@MaybeStopNow -\RequirePackage{kvoptions}[2009/07/21] \SetupKeyvalOptions{family=Hyp} \DeclareLocalOptions{% a4paper,a5paper,b5paper,letterpaper,legalpaper,executivepaper% @@ -3724,7 +3840,7 @@ \expandafter\endgroup \ifx\y Y% \else - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Named action `#1' is not permitted% }\@ehc {#2}% @@ -3782,11 +3898,11 @@ \fi \Hy@DisableOption{typexml} \ifHy@implicit - \typeout{Implicit mode ON; LaTeX internals redefined}% + \Hy@InfoNoLine{Implicit mode ON; LaTeX internals redefined}% \else - \typeout{Implicit mode OFF; no redefinition of LaTeX internals}% + \Hy@InfoNoLine{Implicit mode OFF; no redefinition of LaTeX internals}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -3875,7 +3991,9 @@ \fi \fi \fi + \def\HyOpt@DriverType{}% \ifx\Hy@driver\@empty + \def\HyOpt@DriverType{ (autodetected)}% \providecommand*{\Hy@defaultdriver}{hypertex}% \ifpdf \def\Hy@driver{hpdftex}% @@ -3886,7 +4004,7 @@ \ifvtexhtml \def\Hy@driver{hvtexhtm}% \def\MaybeStopEarly{% - \typeout{Hyperref stopped early}% + \Hy@Message{Stopped early}% \Hy@AtBeginDocument{% \PDF@FinishDoc \gdef\PDF@FinishDoc{}% @@ -3900,7 +4018,23 @@ \ifvtexps \def\Hy@driver{hvtex}% \else - \let\Hy@driver\Hy@defaultdriver + \ifx\HyOpt@DriverFallback\ltx@empty + \let\Hy@driver\Hy@defaultdriver + \def\HyOpt@DriverType{ (default)}% + \else + \begingroup + \toks@\expandafter{\HyOpt@DriverFallback}% + \edef\x{\endgroup + \noexpand\kvsetkeys{Hyp}{\the\toks@}% + }% + \x + \ifx\Hy@driver\ltx@empty + \let\Hy@driver\Hy@defaultdriver + \def\HyOpt@DriverType{ (default)}% + \else + \def\HyOpt@DriverType{ (fallback)}% + \fi + \fi \fi \fi \fi @@ -3913,13 +4047,29 @@ \PassOptionsToPackage{dviwindo}{color}% \fi \fi - \typeout{* hyperref using default driver \Hy@driver\ltx@space*}% - \else - \typeout{* hyperref using driver \Hy@driver\ltx@space*}% \fi + \Hy@Message{Driver\HyOpt@DriverType: \Hy@driver}% \input{\Hy@driver.def}% \let\@unprocessedoptions\relax \Hy@RestoreCatcodes + \Hy@DisableOption{tex4ht}% + \Hy@DisableOption{pdftex}% + \Hy@DisableOption{nativepdf}% + \Hy@DisableOption{dvipdfm}% + \Hy@DisableOption{dvipdfmx}% + \Hy@DisableOption{dvipdfmx-outline-open}% + \Hy@DisableOption{pdfmark}% + \Hy@DisableOption{dvips}% + \Hy@DisableOption{hypertex}% + \Hy@DisableOption{vtex}% + \Hy@DisableOption{vtexpdfmark}% + \Hy@DisableOption{dviwindo}% + \Hy@DisableOption{dvipsone}% + \Hy@DisableOption{textures}% + \Hy@DisableOption{latex2html}% + \Hy@DisableOption{ps2pdf}% + \Hy@DisableOption{xetex}% + \Hy@DisableOption{pdfversion}% } \newif\ifHy@DvipdfmxOutlineOpen \ifxetex @@ -3935,26 +4085,6 @@ \Hy@DvipdfmxOutlineOpentrue \fi \fi -\Hy@DisableOption{tex4ht} -\Hy@DisableOption{pdftex} -\Hy@DisableOption{nativepdf} -\Hy@DisableOption{dvipdfm} -\Hy@DisableOption{dvipdfmx} -\Hy@DisableOption{dvipdfmx-outline-open} -\Hy@DisableOption{pdfmark} -\Hy@DisableOption{dvips} -\Hy@DisableOption{hypertex} -\Hy@DisableOption{vtex} -\Hy@DisableOption{vtexpdfmark} -\Hy@DisableOption{dviwindo} -\Hy@DisableOption{dvipsone} -\Hy@DisableOption{textures} -\Hy@DisableOption{latex2html} -\Hy@DisableOption{ps2pdf} -\Hy@DisableOption{xetex} -\Hy@AtEndOfPackage{% - \Hy@DisableOption{pdfversion}% -} \def\WriteBookmarks{0} \def\@bookmarkopenstatus#1{% \ifHy@bookmarksopen @@ -4288,7 +4418,7 @@ \newif\ifHy@href@ismap \define@key{href}{ismap}[true]{% \ltx@IfUndefined{Hy@href@ismap#1}{% - \PackageError{hyperref}{% + \Hy@Error{% Invalid value (#1) for key `ismap'.\MessageBreak Permitted values are `true' or `false'.\MessageBreak Ignoring `ismap'% @@ -4453,7 +4583,7 @@ \else \ifx\@pdftempa\@pdftempwordrun \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Launch action is prohibited% }\@ehc \begingroup @@ -4744,7 +4874,7 @@ \lowercase{\def\Hy@temp{#1}}% \@ifundefined{Fld@export@\Hy@temp}{% \@onelevel@sanitize\Hy@temp - \PackageError{hyperref}{% + \Hy@Error{% Unknown export format `\Hy@temp'.\MessageBreak Known formats are `FDF', `HTML', `XFDF', and `PDF'% }\@ehc @@ -4868,7 +4998,7 @@ \else\ifFld@password \else\ifFld@fileselect \else 1\fi\fi\fi\relax - \PackageError{hyperref}{% + \Hy@Error{% Field option `comb' cannot used together with\MessageBreak `multiline', `password', or `fileselect'% }\@ehc @@ -5064,7 +5194,7 @@ \lowercase{\def\Hy@temp{#1}}% \@ifundefined{Form@method@\Hy@temp}{% \@onelevel@sanitize\Hy@temp - \PackageError{hyperref}{% + \Hy@Error{% Unknown method `\Hy@temp'.\MessageBreak Known values are `post' and `get'% }\@ehc @@ -5229,7 +5359,7 @@ \def\Hy@@temp#1#2{% \ifHy@pdfa \define@key{Field}{#2}{% - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Additional action `#2' is prohibited% }\@ehc }% @@ -5278,7 +5408,7 @@ \else \ifHy@pdfa \define@key{Field}{onclick}{% - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Action `onclick' is prohibited% }\@ehc }% diff --git a/Master/texmf-dist/tex/latex/hyperref/hypertex.def b/Master/texmf-dist/tex/latex/hyperref/hypertex.def index e5f03a5338c..d44af040097 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hypertex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hypertex.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hypertex.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref driver for HyperTeX specials] \providecommand*{\XR@ext}{dvi} \def\PDF@FinishDoc{} @@ -132,25 +132,25 @@ \special{html:}% \endgroup } -\def\@Form[#1]{\typeout{Sorry, HyperTeX does not support FORMs}} +\def\@Form[#1]{\Hy@Message{Sorry, HyperTeX does not support FORMs}} \def\@endForm{} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, HyperTeX does not support FORM gauges}% + \Hy@Message{Sorry, HyperTeX does not support FORM gauges}% } \def\@TextField[#1]#2{% parameters, label - \typeout{Sorry, HyperTeX does not support FORM text fields}% + \Hy@Message{Sorry, HyperTeX does not support FORM text fields}% } \def\@CheckBox[#1]#2{% parameters, label - \typeout{Sorry, HyperTeX does not support FORM checkboxes}% + \Hy@Message{Sorry, HyperTeX does not support FORM checkboxes}% } \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices - \typeout{Sorry, HyperTeX does not support FORM choice menus}% + \Hy@Message{Sorry, HyperTeX does not support FORM choice menus}% } \def\@PushButton[#1]#2{% parameters, label - \typeout{Sorry, HyperTeX does not support FORM pushbuttons}% + \Hy@Message{Sorry, HyperTeX does not support FORM pushbuttons}% } -\def\@Reset[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} -\def\@Submit[#1]#2{\typeout{Sorry, HyperTeX does not support FORMs}} +\def\@Reset[#1]#2{\Hy@Message{Sorry, HyperTeX does not support FORMs}} +\def\@Submit[#1]#2{\Hy@Message{Sorry, HyperTeX does not support FORMs}} \newlength\Hy@SectionHShift \def\Hy@SectionAnchorHref#1{% \ifx\protect\@typeset@protect diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty index 327ba2cb427..f7d9b82a933 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nohyperref} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Dummy hyperref (SR)] \RequirePackage{letltxmacro}[2008/06/13] \let\hyper@@anchor\@gobble diff --git a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def index a3665096d49..707196cedce 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pd1enc.def +++ b/Master/texmf-dist/tex/latex/hyperref/pd1enc.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pd1enc.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref: PDFDocEncoding definition (HO)] \DeclareFontEncoding{PD1}{}{} \DeclareTextAccent{\`}{PD1}{\textasciigrave} diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index c3256fa429d..a45ad53a232 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref definitions for pdfmark specials] \begingroup \@ifundefined{headerps@out}{}{% @@ -997,7 +997,7 @@ } \def\@endForm{} \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum - \typeout{Sorry, pdfmark drivers do not support FORM gauges}% + \Hy@Message{Sorry, pdfmark drivers do not support FORM gauges}% } \def\@TextField[#1]#2{% parameters, label \def\Fld@name{#2}% @@ -1124,7 +1124,7 @@ \DefaultOptionsofPushButton,#1% }% \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Push button with JavaScript is prohibited% }\@ehc \LayoutPushButtonField{% @@ -1170,7 +1170,7 @@ }% \leavevmode \ifHy@pdfa - \PackageError{hyperref}{% + \Hy@Error{% PDF/A: Reset action is prohibited% }\@ehc \MakeButtonField{#2}% diff --git a/Master/texmf-dist/tex/latex/hyperref/puarenc.def b/Master/texmf-dist/tex/latex/hyperref/puarenc.def index 00279107b34..5c0451dec73 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puarenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puarenc.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puarenc.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref: Additions to puenc.def for Arabi] \DeclareTextCommand{\hamza}{PU}{\86\041}% 0621;afii57409;ARABIC LETTER HAMZA \DeclareTextCommand{\alefmadda}{PU}{\86\042}% 0622;afii57410;ARABIC LETTER ALEF WITH MADDA ABOVE diff --git a/Master/texmf-dist/tex/latex/hyperref/puenc.def b/Master/texmf-dist/tex/latex/hyperref/puenc.def index d976e048a98..fdcbed084b9 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puenc.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puenc.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref: PDF Unicode definition (HO)] \DeclareFontEncoding{PU}{}{} \DeclareTextCommand{\`}{PU}[1]{#1\83\000}% U+0300 diff --git a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def index b698f9c8c2c..bc08d2f5f2f 100644 --- a/Master/texmf-dist/tex/latex/hyperref/puvnenc.def +++ b/Master/texmf-dist/tex/latex/hyperref/puvnenc.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{puvnenc.def} - [2010/09/11 v6.81m + [2010/09/13 v6.81n Hyperref: Additions to puenc.def for VnTeX] \DeclareTextCommand{\abreve}{PU}{\81\003} \DeclareTextCommand{\acircumflex}{PU}{\80\342} diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 0fb20bb6094..e42b8300272 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -359,6 +359,7 @@ $Master = "$mydir/../.."; 'kurier', "&MAKEcopy", 'kuvio', "die 'skipping, nonfree license'", 'l2a', "die 'skipping, another old detex, requires compilation'", + 'latex-help-texinfo', "die 'skipping, use latex2e-help-texinfo'", 'latex-make', "die 'skipping, subprograms seem problematic'", 'latex_maker', "die 'skipping, we must not usurp two-character cmd name'", 'latex2pdf', "die 'skipping, too bare-bones'", -- cgit v1.2.3