| 1 |
% |
| 2 |
\special{papersize=10cm,10cm} |
| 3 |
|
| 4 |
\special{pdf:out 1 |
| 5 |
<</Title(Contents)/A<</S/GoTo/D(contents)>>>>} |
| 6 |
\special{pdf:out 1 |
| 7 |
<</Title(1 First section)/A<</S/GoTo/D(section.1)>>>>} |
| 8 |
\special{pdf:out 2 |
| 9 |
<</Title(1.1 First subsection)/A<</S/GoTo/D(subsection.1.1)>>>>} |
| 10 |
\special{pdf:out 1 |
| 11 |
<</Title(2 Second section)/A<</S/GoTo/D(section.2)>>>>} |
| 12 |
|
| 13 |
\noindent Contents |
| 14 |
\special{pdf:dest (contents) [@thispage /XYZ @xpos @ypos null]} |
| 15 |
|
| 16 |
\vskip 5mm |
| 17 |
|
| 18 |
\hbox to 60mm{% |
| 19 |
\special{pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/C[1 0 0] |
| 20 |
/A<</S/GoTo/D(section.1)>>>>}1 First section\special{pdf:eann} |
| 21 |
\hfill 2} |
| 22 |
|
| 23 |
\hbox to 60mm{\hskip 5mm% |
| 24 |
\special{pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/C[1 0 0] |
| 25 |
/A<</S/GoTo/D(subsection.1.1)>>>>}1.1 First subsection\special{pdf:eann} |
| 26 |
\hfill 3} |
| 27 |
|
| 28 |
\hbox to 60mm{% |
| 29 |
\special{pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/C[1 0 0] |
| 30 |
/A<</S/GoTo/D(section.2)>>>>}2 Second section\special{pdf:eann} |
| 31 |
\hfill 4} |
| 32 |
|
| 33 |
\vfill\break |
| 34 |
|
| 35 |
\noindent 1 First section |
| 36 |
\special{pdf:dest (section.1) [@thispage /XYZ @xpos @ypos null]} |
| 37 |
|
| 38 |
\vskip 5mm |
| 39 |
|
| 40 |
\noindent The first section |
| 41 |
|
| 42 |
\vfill\break |
| 43 |
|
| 44 |
\noindent 1.1 First subsection |
| 45 |
\special{pdf:dest (subsection.1.1) [@thispage /XYZ @xpos @ypos null]} |
| 46 |
|
| 47 |
\vskip 5mm |
| 48 |
|
| 49 |
\noindent The first subsection |
| 50 |
|
| 51 |
\vfill\break |
| 52 |
|
| 53 |
\noindent 2 Second section |
| 54 |
\special{pdf:dest (section.2) [@thispage /XYZ @xpos @ypos null]} |
| 55 |
|
| 56 |
\vskip 5mm |
| 57 |
|
| 58 |
\noindent The second section |
| 59 |
|
| 60 |
\bye |