Scott Moore wrote:

i am wondering how to translate the pdfmark syntax
into a custom macro that serves to create the
bookmark pane and a table of contents, with the option
to link within the TOC to the page view.

I have been through the docs, looked at the
samples, and am one degree, argueably, short on
understanding the syntax.

any examples, comments and assistance is needed
and appreciated.

You can do this by adding:

.pdfbookmark \\$*

to the end of your headings macro (assuming the heading macro has the heading as its argument). If you're doing auto-numbered headings, you will need to add the heading number as well.

If you're using an ms-derivative macro, see contrib/pdfmark/spdf.tmac for examples.

-- Larry



Reply via email to