ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF Bookmarks and interaction in general
@ 2001-01-04 17:38 Giuseppe Bilotta
  2001-01-05  9:41 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2001-01-04 17:38 UTC (permalink / raw)


Hello,

I began playing with ConTeXt interaction capabilities. The first thing I did
was adding a

\setupinteraction[state=start]

in my preamble; this turned the Chapter numbers in the ToC to hyperlinks to
the appropriate chapters; first question: how do you make the whole ToC
entry into a hyperlink?

Bookmarks: there were no bookmarks, so browsing through the code (because
there isn't a full documentation on the subject, or I can't find it) I
decided that the appropriate command was \placebookmarks, but this command
generated lots of errors (the first was an undefined error on
\dogroupedcommand).
Anyway, the document was processed and bookmarks were inserted. Even if
there were problems with a title containing a \quotation (removing that
title did not solve the "undefined" problem, though).

Question: what's the proper way to tell ConTeXt to use bookmarks, and how do
you insert a non-automatic bookmark?

Giuseppe Bilotta


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PDF Bookmarks and interaction in general
  2001-01-04 17:38 PDF Bookmarks and interaction in general Giuseppe Bilotta
@ 2001-01-05  9:41 ` Hans Hagen
  2001-01-05 12:47   ` Tobias Burnus
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2001-01-05  9:41 UTC (permalink / raw)
  Cc: ConTeXt

At 06:38 PM 1/4/01 +0100, Giuseppe Bilotta wrote:
>Hello,
>
>I began playing with ConTeXt interaction capabilities. The first thing I did
>was adding a
>
>\setupinteraction[state=start]
>
>in my preamble; this turned the Chapter numbers in the ToC to hyperlinks to
>the appropriate chapters; first question: how do you make the whole ToC
>entry into a hyperlink?

\setuplist[chapter][interaction=all]  % or number|title|pagenumber

>Bookmarks: there were no bookmarks, so browsing through the code (because
>there isn't a full documentation on the subject, or I can't find it) I
>decided that the appropriate command was \placebookmarks, but this command
>generated lots of errors (the first was an undefined error on
>\dogroupedcommand).

That can be due to unwanted expansion in which case a manual bookmark
should be added. 

>Anyway, the document was processed and bookmarks were inserted. Even if
>there were problems with a title containing a \quotation (removing that
>title did not solve the "undefined" problem, though).
>
>Question: what's the proper way to tell ConTeXt to use bookmarks, and how do
>you insert a non-automatic bookmark?

\chapter{A very complicated title}

\bookmark{A less complicated title}

A next version will have unicode bookmarks/annots so that more glyphs are
possible as well as searching, 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PDF Bookmarks and interaction in general
  2001-01-05  9:41 ` Hans Hagen
@ 2001-01-05 12:47   ` Tobias Burnus
  2001-01-05 14:12     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Burnus @ 2001-01-05 12:47 UTC (permalink / raw)
  Cc: ConTeXt

Hi all,

> >Question: what's the proper way to tell ConTeXt to use bookmarks, and how do
> >you insert a non-automatic bookmark?
> \chapter{A very complicated title}
> \bookmark{A less complicated title}

\placebookmarks[chapter,section,Title]

This must (!) be placed after \startinteraction to be working

Since we are presently at that topic, what is the best methode to place
a bookmark on the first page?

> A next version will have unicode bookmarks/annots so that more glyphs are
> possible as well as searching,
Those don't seem to work well with AR for Linux. Hopefully AR 5 improves
this.

BTW: Acrobat Reader 5 supports (whenever it will hit the street, I have
no idea what so ever) transparency. This is already supported by Adobe
Illustrator and Ghostscript 6.50 (or higher).
See: http://partners.adobe.com/asn/developer/technotes.html#acrobat-pdf
http://www.ghostscript.com/doc/AFPL/6.50/Language.htm

Tobias

-- 
This above all: To thine own self be true / And it must follow as
the night the day / Thou canst not then be false to any man.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PDF Bookmarks and interaction in general
  2001-01-05 12:47   ` Tobias Burnus
@ 2001-01-05 14:12     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-01-05 14:12 UTC (permalink / raw)
  Cc: ConTeXt

At 01:47 PM 1/5/01 +0100, Tobias Burnus wrote:
>Hi all,
>
>> >Question: what's the proper way to tell ConTeXt to use bookmarks, and
how do
>> >you insert a non-automatic bookmark?
>> \chapter{A very complicated title}
>> \bookmark{A less complicated title}
>
>\placebookmarks[chapter,section,Title]
>
>This must (!) be placed after \startinteraction to be working
>
>
>Since we are presently at that topic, what is the best methode to place
>a bookmark on the first page?

Since bookmarks are coupled to lists, you can make a list for that purpose
and include it in the placelist. 

\setupinteraction[state=start]

\definelist[tobias] \placebookmarks[tobias,chapter]

\starttext

\startstandardmakeup
  Title Page \bookmark[tobias]{It Works}
\stopstandardmakeup

\chapter{Indeed}

\stoptext

Hans 
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-05 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-04 17:38 PDF Bookmarks and interaction in general Giuseppe Bilotta
2001-01-05  9:41 ` Hans Hagen
2001-01-05 12:47   ` Tobias Burnus
2001-01-05 14:12     ` Hans Hagen

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).