lout-users
[Top][All Lists]
Advanced

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

Re: Is it possible to have a PDF table of contents list?


From: Mark Summerfield
Subject: Re: Is it possible to have a PDF table of contents list?
Date: Thu, 29 Nov 2018 08:12:52 +0000

Hi Dave,

On Wed, 28 Nov 2018 16:09:17 -0600
address@hidden wrote:
> On Wed, Nov 28, 2018 at 3:14 PM Mark Summerfield wrote:
> ---<snip>---
> 
> > > -uwe  
> >
> > Thanks for that idea, I've created this:
> >
> > def @TocA right x {
> >      {
> >          @BackEnd @Case {
> >              PostScript @Yield
> >              {
> >                  "[ /Title ("x") /OUT pdfmark " # lout provides ] ?
> >              }
> >              else @Yield @Null
> >              }
> >      } @Graphic { }
> > }
> >
> > And it works!
> >
> > One downside is that I can't do 'subordinate' bookmarks because to do
> > that you need to know how many there are so that for the parent you can
> > set the /Count value.  
> 
> Mark,
> 
> Very nice!  How do you use this definition?  Are you just applying it
> to the items you want to have as "bookmarks" as you create your
> slides?  I've wanted something like this for books but wasn't sure
> where to start.  I see @DocInfo in bsf that was pointed out earlier
> but don't follow how it's used or how your @TocA would be put to use.
> The pdfmark related things in the z49.c file make more sense to me.

At the moment I just use it where needed, e.g.,

@Overhead
    @Title{Getting Started}
@Begin
@TocA{Getting Started}
# Body of slide
@End @Overhead

-- 
Mark Summerfield, Qtrac Ltd.
    comparepdfcmd - fast command line PDF comparison tool
        http://www.qtrac.eu/comparepdfcmd.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]