Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ulrike Fischer
committed
Mar 19, 2020
1 parent
1e2f284
commit 64efae0
Showing
2 changed files
with
70 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,67 @@ | ||
\hyper@linkstart : | ||
in hyperref.sty! | ||
%%%%%%%%%%%%%%%%%% | ||
Internal links | ||
%%%%%%%%%%%%%%%%% | ||
|
||
\hyper@linkstart : | ||
defined in driver, | ||
used in hyperref.sty! | ||
two arguments! | ||
first : color (will ignore it ...) | ||
second: destination name | ||
\hyper@linkstart{link}{\Hy@footnote@currentHref} | ||
\hyper@linkstart{cite}{cite.#1}% | ||
\hyper@linkstart{cite}{cite.#1}% | ||
\hyper@linkstart{link}{\Hy@tocdestname} (toc) | ||
|
||
internal command | ||
internal command | ||
\find@pdflink{#1}{#2} | ||
defined in driver, | ||
used only in driver | ||
-> \pdf_link_begin_goto:nnw { link } { #2 } | ||
\expandafter\Hy@colorlink\csname @#1color\endcsname | ||
|
||
\hyper@link | ||
three arguments, basically \hyper@linkstart/\hyperlinkend with | ||
content as third argument. | ||
Used in \hyper@link@ - > | ||
three arguments, basically \hyper@linkstart/\hyper@linkend with | ||
content as third argument. | ||
Used in \hyper@link@ - > | ||
\hyper@@link[cite] | ||
\hyper@@link[link] | ||
#1 either link or cite | ||
|
||
#1 either link or cite | ||
|
||
%%%%%%%%%%%%%%%%%%%%% | ||
|
||
\hyper@anchor, \hyper@anchorstart, \hyper@anchorend : | ||
defined in driver, | ||
used in hyperref.sty | ||
one argument: destination name | ||
|
||
Uses | ||
\hyper@anchorstart{Doc-Start}\hyper@anchorend | ||
\hyper@anchorstart{\@currentHref}\hyper@anchorend in \hyper@refstepcounter and various environments | ||
inside the definition of \hyper@@anchor: \hyper@@anchor is used in various environments where text is involved and | ||
typically in combination with nesting. (Very) old version of hyperref.dtx suggest that anchorcolor which does nothing | ||
now was involved here. | ||
\def\hypertarget#1#2{% | ||
\ifHy@nesting | ||
\hyper@@anchor{#1}{#2}% | ||
\else | ||
\hyper@@anchor{#1}{\relax}#2% | ||
\fi | ||
} | ||
|
||
Internalcommand | ||
\new@pdflink #1 | ||
defined in driver | ||
used only in driver | ||
argument is destination name, "Fit" argument is got through \@pdfview | ||
|
||
|
||
%%%% | ||
nesting | ||
|
||
The documentation writes about "nesting": | ||
Allows links to be nested; no drivers currently support this. | ||
|
||
All places in the code where \ifHy@nesting is used are about anchors, not links. | ||
\ifHy@nesting is false in all drivers, so actually nowhere the true code is used. | ||
|
||
It is unclear if nesting can be used, and what use it would have. |