272 |
.\" |
.\" |
273 |
.ds PDFBOOKMARK.VIEW /FitH \\n[PDFPAGE.Y] u |
.ds PDFBOOKMARK.VIEW /FitH \\n[PDFPAGE.Y] u |
274 |
.\" |
.\" |
275 |
|
.\" "PDFOUTLINE.FOLDLEVEL" controls how the document outline will be |
276 |
|
.\" displayed. It is a number, defining the maximum heading level |
277 |
|
.\" which will be visible, without outline expansion by the user, in |
278 |
|
.\" the initial view of the document outline. Assuming that no sane |
279 |
|
.\" document will ever extend to 10,000 levels of nested headings, |
280 |
|
.\" this initial default value causes outlines to be fully expanded. |
281 |
|
.\" |
282 |
|
.nr PDFOUTLINE.FOLDLEVEL 10000 |
283 |
|
.\" |
284 |
.\" The actual job of creating an outline reference |
.\" The actual job of creating an outline reference |
285 |
.\" is performed by the "pdfbookmark" macro. |
.\" is performed by the "pdfbookmark" macro. |
286 |
.\" |
.\" |
399 |
.nr pdf:bm.ic +1 |
.nr pdf:bm.ic +1 |
400 |
.nr pdf:bm.lc +1 |
.nr pdf:bm.lc +1 |
401 |
.pdf:pop nr pdf:bm.rc pdf:bm.c\\n[pdf:bm.lc] |
.pdf:pop nr pdf:bm.rc pdf:bm.c\\n[pdf:bm.lc] |
402 |
.if \\n[pdf:bm.rc] .as pdf:bm\\n[pdf:bm.ic] " /Count \\n[pdf:bm.rc] |
.if \\n[pdf:bm.rc] \{\ |
403 |
|
. ds pdf:bm.fold |
404 |
|
. if \\n[pdf:bm.lc]>\\n[PDFOUTLINE.FOLDLEVEL] .ds pdf:bm.fold - |
405 |
|
. as pdf:bm\\n[pdf:bm.ic] " /Count \\*[pdf:bm.fold]\\n[pdf:bm.rc] |
406 |
|
. rm pdf:bm.fold |
407 |
|
. \} |
408 |
.pdfmark \\*[pdf:bm\\n[pdf:bm.ic]] /OUT |
.pdfmark \\*[pdf:bm\\n[pdf:bm.ic]] /OUT |
409 |
.rm pdf:bm\\n[pdf:bm.ic] |
.rm pdf:bm\\n[pdf:bm.ic] |
410 |
.\" |
.\" |