You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
194 lines
4.2 KiB
194 lines
4.2 KiB
%%
|
|
%% 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-2020 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.
|
|
|
|
|
|
|
|
\PackageInfo{lwarp}{%
|
|
Using the lwarp HTML version of package `hyperref',\MessageBreak
|
|
and discarding options.\MessageBreak
|
|
(Not using \protect\ProvidesPackage, so that other packages\MessageBreak
|
|
do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
|
|
|
|
\DeclareOption*{}
|
|
\let\ds@\@empty% from the original \ProcessOptions
|
|
\edef\@curroptions{}% lwarp modification to \ProcessOptions
|
|
\@process@ptions\relax% from the original \ProcessOptions
|
|
|
|
\LetLtxMacro\href\LWR@href
|
|
\LetLtxMacro\nolinkurl\LWR@nolinkurl
|
|
\LetLtxMacro\url\LWR@url
|
|
\LetLtxMacro\phantomsection\LWR@phantomsection
|
|
|
|
\newcommand*{\hypersetup}[1]{}
|
|
\newcommand*{\hyperbaseurl}[1]{}
|
|
|
|
\NewDocumentCommand{\LWR@hyperimageb}{m +m}{%
|
|
\LWR@ensuredoingapar%
|
|
\def\LWR@templink{#1}%
|
|
\@onelevel@sanitize\LWR@templink%
|
|
\LWR@htmltag{img src="\LWR@templink" alt="#2" class="hyperimage"}%
|
|
\LWR@ensuredoingapar%
|
|
\endgroup%
|
|
}
|
|
|
|
\newrobustcmd*{\hyperimage}{%
|
|
\begingroup%
|
|
\LWR@linkcatcodes%
|
|
\LWR@hyperimageb%
|
|
}
|
|
|
|
\NewDocumentCommand{\LWR@hyperdefb}{m m +m}{%
|
|
\LWR@ensuredoingapar%
|
|
\LWR@label@createtag{#1.#2}%
|
|
#3%
|
|
\endgroup%
|
|
}
|
|
|
|
\newcommand*{\hyperdef}{%
|
|
\begingroup%
|
|
\LWR@linkcatcodes%
|
|
\LWR@hyperdefb%
|
|
}
|
|
|
|
\newcommand{\LWR@hyperreffinish}[1]{%
|
|
\begingroup%
|
|
\RenewDocumentCommand{\ref}{s m}{\LWR@print@ref{##2}}%
|
|
#1%
|
|
\endgroup%
|
|
\LWR@htmltag{/a}%
|
|
}
|
|
|
|
\newcommand*{\LWR@hyperrefbb}[3]{%
|
|
\LWR@htmltag{%
|
|
a href="%
|
|
\detokenize\expandafter{#1}\LWR@hashmark%
|
|
\detokenize\expandafter{#2}.\detokenize\expandafter{#3}%
|
|
"%
|
|
\LWR@addlinktitle%
|
|
}%
|
|
\endgroup%
|
|
\LWR@hyperreffinish%
|
|
}
|
|
|
|
\newrobustcmd*{\LWR@hyperrefb}{%
|
|
\begingroup%
|
|
\LWR@linkcatcodes%
|
|
\LWR@hyperrefbb%
|
|
}
|
|
|
|
|
|
\NewDocumentCommand{\LWR@hyperrefcb}{O{label}}{%
|
|
\LWR@startref{#1}%
|
|
\endgroup%
|
|
\LWR@hyperreffinish%
|
|
}
|
|
|
|
\newcommand*{\LWR@hyperrefc}{%
|
|
\begingroup%
|
|
\LWR@linkcatcodes%
|
|
\LWR@hyperrefcb%
|
|
}
|
|
|
|
\DeclareRobustCommand*{\hyperref}{%
|
|
\LWR@ensuredoingapar%
|
|
\@ifnextchar[\LWR@hyperrefc\LWR@hyperrefb%
|
|
}
|
|
|
|
\NewDocumentCommand{\LWR@hypertargetb}{m +m}{%
|
|
\label{LWR-ht-#1}%
|
|
#2%
|
|
\endgroup%
|
|
}
|
|
|
|
\newcommand*{\hypertarget}{%
|
|
\begingroup%
|
|
\LWR@linkcatcodes%
|
|
\LWR@hypertargetb%
|
|
}
|
|
|
|
\DeclareDocumentCommand{\LWR@hyperlinkb}{m}{%
|
|
\LWR@hyperrefcb[LWR-ht-#1]%
|
|
}
|
|
|
|
\DeclareDocumentCommand{\hyperlink}{}{%
|
|
\LWR@ensuredoingapar%
|
|
\begingroup%
|
|
\LWR@linkcatcodes%
|
|
\LWR@hyperlinkb%
|
|
}
|
|
|
|
\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]{#1}
|
|
|
|
\newcommand{\pdfstringdefDisableCommands}[1]{}
|
|
|
|
\def\hypercalcbp#1{%
|
|
\strip@pt\dimexpr 0.99626401\dimexpr(#1)\relax\relax
|
|
}%
|
|
|
|
\newcommand{\Acrobatmenu}[2]{}
|
|
|
|
\DeclareRobustCommand{\TextField}[2][]{}
|
|
|
|
\DeclareRobustCommand{\CheckBox}[2][]{}
|
|
|
|
\DeclareRobustCommand{\ChoiceMenu}[3][]{}
|
|
|
|
\DeclareRobustCommand{\PushButton}[2][]{}
|
|
|
|
\DeclareRobustCommand{\Submit}[2][]{}
|
|
|
|
\DeclareRobustCommand{\Reset}[2][]{}
|
|
|
|
\DeclareRobustCommand{\Gauge}[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'.
|
|
|