summaryrefslogtreecommitdiff
path: root/support/extractpdfmark/test/pdfdocencoding.tex
blob: fcc8b8099efdc0edc51c2bfa64616c694846028d (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
% Check for PDFDocEncoding destination names

%\pdfobjcompresslevel=0
\pdfcatalog{/PageMode /UseOutlines}

% PDFDocEncoding (nearly Latin-1)
\def\furone{f^^fcr one}% f\"ur one
\def\furtwo{f^^fcr two}% f\"ur two

% PDFDocEncoding can be used for both destination name and title.
\pdfoutline goto name{\furone} {\furone}
\pdfoutline goto name{\furtwo} {\furtwo}

\pdfdest name{\furone} xyz
page 1

\vfill
\eject

\pdfdest name{\furtwo} xyz
page 2

\vfill
\end