ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: bookmarks, accented caracters, breaking URLs
Date: Fri, 19 Dec 2003 18:31:58 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20031219182856.01dc5130@server-1> (raw)
In-Reply-To: <20031218135805.GA2585@physik.fu-berlin.de>

At 14:58 18/12/2003, you wrote:

>Ok, now I finally figured out what went wrong in my real document:
>I had first \placebookmarks and then \setupinteraction. It has to be the
>other way round!
>Thanks a lot for the hint!
>
> > I kept tripping on that one, and I'm not sure I'd agree
> > with the choice made.
>I agree that it is counter-intuitive that one needs to have
>\setupinteraction in order to get bookmarks placed. But that the order
>matters is even worse.

this is one of the few times that order is important; it has to do with the 
way things are loaded and need to be set up (an alternative could be:

\appendtoks ... (place bookmarks) \to \everystarttext

but then it may interfere with other things

keep in mind that bookmarks are non typographic thingies, and as sucn not 
part of the page stream

>(Playing around with Acrobat 6, I saw that using /C [colorvalues] and /F n,
>n=1...5, one could even have the bookmark items in color or in
>italic/bold/..., if one wants to play ...)

some day ... bookmarks will be snippets of typeset text (i hope)

>I tested the accented characters again (not including bookmarks):
>   \setupinteraction[state=start,title={F\"ur / Na\"\i ve}]
>   \placebookmarks[chapter]
>   \setupinteractionscreen[option=bookmark]
>   \starttext
>   \chapter{F\"ur / Na\"\i ve}
>   \stoptext
>
>I expect 'Für / Naïve' but I get
>
>a) in the bookmarks:
>    'Für / Nadobuildtextaccebt char 127 {char "10}ve'
>b) in the document info dialogue:
>    'Fdobuildtextaccent char 127 ur / Nadobuildtextaccebt char 127 {char 
> "10}ve'
>
>If I replace {\"\i} by \idiaeresis, nothing changes for \chapter and
>bookmarks, but I get an error message for 'title='. Puzzled.

hm, make me a small example and i'll have a look

Hans  

      reply	other threads:[~2003-12-19 17:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 19:07 Tobias Burnus
2003-12-18  7:48 ` Hans Hagen
2003-12-18 11:52 ` Adam Lindsay
2003-12-18 13:58   ` Tobias Burnus
2003-12-19 17:31     ` Hans Hagen [this message]

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=6.0.1.1.2.20031219182856.01dc5130@server-1 \
    --to=pragma@wxs.nl \
    --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).