Adam Lindsay wrote:

I haven't looked at this in detail lately, and barely at all with the
pdftex drivers. Hans, do you think it would be hard to turn direct page
links into indirect links (point to page object)?

can you check this:


\def\doPDFbookmark level #1 n #2 text #3 page #4 open #5%
{\scratchcounter#4\advance\scratchcounter\plusone % temp hack, better here \expanded{\doPDFgetpagereference{\the\scratchcounter}}\PDFobjectreference
\pdfoutline
user {<</S /GoTo /D [\PDFobjectreference\space\PDFpageviewwrd]>>}%
\ifcase#2 \else count \ifcase#5-\fi#2 \fi
{#3}}


\setupinteraction[state=start]

\placebookmarks[chapter]

\starttext

\chapter{one}
\chapter{two}

\stoptext

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to