ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF bookmarks -- more questions
@ 2000-04-02  9:31 Michal Kvasnicka
  2000-04-03 15:41 ` Hans Hagen
  2000-04-03 17:06 ` Berend de Boer
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Kvasnicka @ 2000-04-02  9:31 UTC (permalink / raw)


Many thanks for the last answer. It works well, but I'd like to improve
the result a little:
the bookmarks are hidden implicetely and the text window is of "Fit in
Window" size.
If I change the zoom, it is overridden to "Fit in Window" as I use the
bookmarks.
Is it possible to change it? I'd like bookmarks to be visible
implicitely, and implicit size
rather "Fit Width" and bookmarks not to change the zoom.

Can you help me?

Michal Kvasnicka

--
Economics is the only field in which two people can get a Nobel Prize
for saying exactly the opposite things.


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

* Re: PDF bookmarks -- more questions
  2000-04-02  9:31 PDF bookmarks -- more questions Michal Kvasnicka
@ 2000-04-03 15:41 ` Hans Hagen
  2000-04-03 17:06 ` Berend de Boer
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2000-04-03 15:41 UTC (permalink / raw)
  Cc: Context

At 11:31 AM 4/2/2000 +0200, Michal Kvasnicka wrote:
>Many thanks for the last answer. It works well, but I'd like to improve
>the result a little:
>the bookmarks are hidden implicetely and the text window is of "Fit in
>Window" size.
>If I change the zoom, it is overridden to "Fit in Window" as I use the
>bookmarks.
>Is it possible to change it? I'd like bookmarks to be visible
>implicitely, and implicit size
>rather "Fit Width" and bookmarks not to change the zoom.

an undocumented hack: try

\let\PDFpageviewwrd\empty

I'm still not sure on how to implement this kindof stuff. It's basically
there but commented out. Viewers and specs are too fuzzy. Some day it will
be ok.  

\setupinteraction[display=normal|fit|height|width]

combines with an uncommented: 

\definespecial\dosetuppageview#1%
  {%\processaction
   %  [#1]
   %  [\v!passend=>\def\PDFpageviewkey{   fit}%
   %               \def\PDFpageviewwrd{  /Fit},
   %   \v!breedte=>\def\PDFpageviewkey{  fith}%   % watch the v-h
   %               \def\PDFpageviewwrd{ /FitH},   % swapping here
   %    \v!hoogte=>\def\PDFpageviewkey{  fitv}%   % and here and
   %               \def\PDFpageviewwrd{ /FitV},   % here too
   %      \v!geen=>\def\PDFpageviewkey{   xyz}%
   %               \def\PDFpageviewwrd{  /XYZ 0 0 0},
   %   \s!unknown=>\def\PDFpageviewkey{  fitv}%
   %               \def\PDFpageviewwrd{ /FitV}]%
  }%\edef\PDFpageview{/View [\PDFpageviewwrd] }}

is sort of what should do the job, but I didn't consider it to be
convincing. Actually, i could work out a decent solution now given another
pdftex feature. I'll put it on the to do list.  

To show the bookmarks at startup, say: 

\setupinteractionscreen[option=bookmark]

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


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

* RE: PDF bookmarks -- more questions
  2000-04-02  9:31 PDF bookmarks -- more questions Michal Kvasnicka
  2000-04-03 15:41 ` Hans Hagen
@ 2000-04-03 17:06 ` Berend de Boer
  1 sibling, 0 replies; 3+ messages in thread
From: Berend de Boer @ 2000-04-03 17:06 UTC (permalink / raw)


Hai Michal,

Let me quote my previous answer is the stupid default of this list is the
sender, not the list itself:

> Can you advice me how to add bookmarks to my document (in ConTeXt
> with PDFTeX)?

I believe the following example does the job: It adds bookmarks below the
section level, just like they're subsections:

\definelist[methods]

\placebookmarks
  [chapter,section,subsection,methods]
  [open list]

Now you can place a bookmark somewhere by saying:

	\bookmark[methods]

And a bookmark will be generated for that location.

> Is it possible to change it? I'd like bookmarks to be visible
> implicitely, and implicit size
> rather "Fit Width" and bookmarks not to change the zoom.

You probably want this?

\setupinteractionscreen[option=bookmark]
\def\PDFpageviewwrd{ /FitH}

Groetjes,

Berend. (-:


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

end of thread, other threads:[~2000-04-03 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-02  9:31 PDF bookmarks -- more questions Michal Kvasnicka
2000-04-03 15:41 ` Hans Hagen
2000-04-03 17:06 ` Berend de Boer

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