From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: bookmarks problems
Date: Thu, 16 Dec 2004 16:33:33 +0000 [thread overview]
Message-ID: <20041216163333.12359@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <41C07526.4090203@wxs.nl>
Hans Hagen said this at Wed, 15 Dec 2004 18:32:22 +0100:
>> 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}}
Yes! much happier in Apple's Preview!
Cheers,
adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2004-12-16 16:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-13 15:40 Christopher Creutzig
2004-12-13 19:15 ` Adam Lindsay
2004-12-15 17:32 ` Hans Hagen
2004-12-16 16:33 ` Adam Lindsay [this message]
2004-12-14 0:28 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041216163333.12359@news.comp.lancs.ac.uk \
--to=atl@comp.lancs.ac.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).