At 2020-01-25T17:28:25+0100, Ingo Schwarze wrote:
> Hi Branden,
Hi Ingo! Thanks for following up--you're the only person who found
man page examples, and one of only two who replied at all.
> > .\"
> > .SS History
>
> I think
A major drawback to manual pages formatted using the man macros is the
lack of bookmarks in a PDF file. A quick and dirty way to get bookmarks
appears to be adding
.am SH
.pdfbookmark 1 "\&\\$*"
..
.am SS
.pdfbookmark 2 "\&\\$*"
..
to the beginning of the man page source (the PDFHREF.VIEW.LEADIN
Jeff Conrad wrote in
:
|A major drawback to manual pages formatted using the man macros is the
|lack of bookmarks in a PDF file. A quick and dirty way to get bookmarks
|appears to be adding
|
|.am SH
|.pdfbookmark 1 "\&\\$*"
|..
|.am SS
|.pdfbookmark 2 "\&\\$*"
|..
Why quick and dirty?
If you use test-groff, would you find the script more useful, less useful, or
unchanged in its usefulness if it were to honor your current environment's
settings of GROFF_BIN_PATH, GROFF_FONT_PATH, and GROFF_TMAC_PATH? (Its current
behavior is to ignore any values in these environment variables