blob: b6da05beae92ec78df02f27533639f1cc05b97b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
% !Mode:: "TeX:UTF-8:Main"
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{uncompress}
\documentclass{article}
\usepackage{hyperref}
\hypersetup{pdfborderstyle={/S/U/W 1},
pdfauthor=Author,pdftitle=title,pdfcreator=creator}
\ExplSyntaxOn
\pdfmanagement_add:nnn {Page} {TrimBox}{[0~0~300~350]}
\pdfmanagement_add:nnn {Page} {BleedBox}{[0~0~300~350]}
\ExplSyntaxOff
\usepackage{kantlipsum}
\begin{document}
\ExplSyntaxOn
x\pdfannot_link_goto_begin:nw {section.2}
link text
\pdfannot_link_goto_end:
\ExplSyntaxOff
\ref{sec}
\url{https://www.latex-project.org}
\href[ismap=true]{https://www.latex-project.org}{\kant*[1]}
\href{file:/c/texlive/2020/texmf-dist/doc/latex/base/doc.pdf#chapter.1}{pdf}
\section{abc}\label{sec}
\section{abc}\label{sec2}
\section{abc}\label{sec3}
\href{example-image.pdf}{file}
%\Acrobatmenu{LastPage}{Go to last page}
\newpage
\url{https://www.latex-project.org}
\ref{sec} \quad \ref{sec2} \quad \ref{sec3}
\newpage
\Acrobatmenu{FirstPage}{Go to first page}
\newpage
blub
\end{document}
|