summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/newpax/doc-input2.tex
blob: a1991db7742e570ebef856d48ab1af7dd65a33f0 (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
% !Mode:: "TeX:UTF-8:Main"
\DocumentMetadata{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}

\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}