Re: Bogus index in man-pages book from other projects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, 12 March 2024 15:15:18 GMT G. Branden Robinson wrote:
> [looping in groff list]
> 
> Hi Alex,
> 
>     I'm attaching another couple of examples to illustrate this.
> 

Unfortunately, these are not examples of best practice for creating reference 
bookmarks. The problem is the bookmarks are just numbered and if you have a 
large document it is easier to give the bookmark a mnemonic instead.

==========================================================================

.\" groff -Kutf8 -Tpdf
.de NmSection
.  sp 1i
.  ft B
.  ds pdfsecnm \\$1
.  shift
.  pdfbookmark -T \\*[pdfsecnm] 1 "\\$*"
.  nop \\$*
.  ft
.  sp
..
.NmSection Intro "\%A naïve attempt at bookmarking"
Sed ut perspiciatis, unde omnis iste natus error sit voluptatem
accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab
illo inventore veritatis et quasi architecto beatae vitae dicta sunt,
explicabo.  Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur
aut odit aut fugit, sed quia consequuntur magni dolores eos, qui ratione
voluptatem sequi nesciunt, neque porro quisquam est, qui dolorem ipsum,
quia dolor sit amet consectetur adipiscivelit, sed quia non-numquam eius
modi tempora incidunt, ut labore et dolore magnam aliquam quaerat
voluptatem.
.bp
.NmSection Another "Another section"
Return to
.pdfhref L -D Intro -- the first section
or
.pdfhref L -A . -D Another -- the last one

==========================================================================

Cheers

Deri








[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux