diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-21 23:44:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-21 23:44:01 +0000 |
commit | 91c9b5dc1e480401f79c7ea64bd98754e1eab170 (patch) | |
tree | 0490daeb741da832d4791aef4d848c3adf39621b /Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty | |
parent | 28867ba53359e0e24d60b4189f4625553a5e76a0 (diff) |
lwarp (10feb17)
git-svn-id: svn://tug.org/texlive/trunk@43292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty new file mode 100644 index 00000000000..5dbed0fb43d --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-hyperref.sty @@ -0,0 +1,208 @@ +%% +%% This is file `lwarp-hyperref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `hyperref') +%% This is a generated file. +%% Copyright 2016 Brian Dunn +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\typeout{Using the lwarp html version of package `hyperref' — discarding options.} +\typeout{ Are not using ProvidesPackage, so that other packages} +\typeout{ do not attempt to patch lwarp's version of `hyperref'.} +\DeclareOption*{} +\ProcessOptions\relax + +\newcommand*{\hypersetup}[1]{} +\newcommand*{\hyperbaseurl}[1]{} + +\NewDocumentCommand{\LWR@hyperimageb}{m +m}{% +\LWR@htmltag{img src="#1" alt="#2" class="hyperimage"{}}% +\endgroup% +\LWR@ensuredoingapar% +} + +\newcommand{\hyperimage}{% +\LWR@ensuredoingapar% +\begingroup\catcode`\_=12 +\LWR@hyperimageb% +} +\NewDocumentCommand{\hyperdef}{m m +m}{% +\LWR@ensuredoingapar% +\LWR@subsublabel{#1.#2}% +#3% +} +\NewDocumentCommand{\LWR@hyperrefb}{m m m +m}{% +\LWR@htmltag{a href="#1\LWR@hashmark#2.#3"}% +#4% +\LWR@htmltag{/a}% +\endgroup% +} + +\NewDocumentCommand{\LWR@hyperrefc}{O{label} +m}{ +\LWR@startref{#1}% +#2% +\LWR@htmltag{/a}% +\endgroup% +} + +\newcommand{\hyperref}{% +\LWR@ensuredoingapar% +\begingroup\catcode`\_=12 +\@ifnextchar[\LWR@hyperrefc\LWR@hyperrefb% +} + +\NewDocumentCommand{\hypertarget}{m +m}{% +\label{#1}% +#2% +} + +\NewDocumentCommand{\hyperlink}{m +m}{% +\hyperref[#1]{#2}% +} + +\NewDocumentCommand{\autoref}{s m}{% +\IfBooleanTF{#1}{\ref{#2}}{\cref{#2}}% +} +\NewDocumentCommand{\autopageref}{s m}{% +\IfBooleanTF{#1}{\cpageref{#2}}{\cref{#2}}% +} + +\newcommand{\pdfstringdef}[2]{} + +\newcommand{\pdfbookmark}[3][]{} + +\newcommand{\currentpdfbookmark}[2]{} + +\newcommand{\subpdfbookmark}[2]{} + +\newcommand{\belowpdfbookmark}[2]{} + +\newcommand{\texorpdfstring}[2]{#2} + +\def\hypercalcbp#1{% +\strip@pt\dimexpr 0.99626401\dimexpr(#1)\relax\relax +}% + +\newcommand{\Acrobatmenu}[2]{} + +\newcommand*{\TextField}[2][]{} + +\newcommand*{\CheckBox}[2][]{} + +\newcommand{\ChoiceMenu}[3][]{} + +\newcommand*{\PushButton}[2][]{} + +\newcommand*{\Submit}[2][]{} + +\newcommand*{\Reset}[2][]{} + +\newcommand*{\LayoutTextField}[2]{} + +\newcommand*{\LayoutChoiceField}[2]{} + +\newcommand*{\LayoutCheckField}[2]{} + +\newcommand*{\MakeRadioField}[2]{} + +\newcommand*{\MakeCheckField}[2]{} + +\newcommand*{\MakeTextField}[2]{} + +\newcommand*{\MakeChoiceField}[2]{} + +\newcommand{\MakeFieldButton}[1]{} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-hyperref.sty'. |