diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-24 10:55:19 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-24 13:51:58 +0200 |
commit | 4ef9c2b48f9fcdc5b8c347367566a987a9893aa2 (patch) | |
tree | abc418a0d9022740e78514951fa4e806eb9bee2d /README.t | |
parent | 36528d22c7a609d5e981fca3d7429048140ccca2 (diff) | |
download | mk-4ef9c2b48f9fcdc5b8c347367566a987a9893aa2.tar.gz |
README.t: Add PDF bookmarks, links
Diffstat (limited to 'README.t')
-rw-r--r-- | README.t | 37 |
1 files changed, 36 insertions, 1 deletions
@@ -1,9 +1,43 @@ .so g.tmac .so gx.tmac .so toc/toc.tmac -.papersize letter +.mediasize letter .fp 0 M DejaVuSansMono ttf . +.eo +.de he +. nr a +1 +. h +\X'PDFMark: Bookmark 0 \\$*'\A'\na' +. br +. sp -1 +\$* +. te .the \na \n% \$* +.. +. +.de se +. nr a +1 +. s +\X'PDFMark: Bookmark 1 \\$*'\A'\na' +. br +. sp -1 +\$* +. te .the \na \n% \\h'18p'\$* +.. +. +.\" the -- toc entry +.de the +. nr _a \$1 +. nr _p \$2 +. shift 2 +. ta \n(.luR +. tc . +\T'\n(_a'\$* \n(_p\T +. tc +. br +.. +.ec +. .\" configure header and footer .eo .de @h @@ -37,6 +71,7 @@ John Ankarström .i "TABLE OF CONTENTS" .sp 4p .@e +\X'SetLinkBorder: 0 0 0'\c .to .sp 0.5i .ns |