[NTG-context] Line break and \in{....}[] command; bookmarks

2008-05-01 Thread Tobias Burnus
Hi all,

I use
   \definereferenceformat[insection][text=Section]
however, sometimes the item is that long that
   Section
  5.5 ..
looks much nicer than a 5.5 sticking out of the margin. Is there a 
possibility to allow a line break between the text and the number?

Secondly, I want to use acroread's bookmarks. But I have two problems:

a) I failed to create a bookmark for the title page. What is the best 
way to do so? Currently, I use:
\startmakeup[standard][doublesided=no,page=right]
...
\stopmakeup


b) Somehow the bookmark list goes wrong. I have:
\placebookmarks[chapterEP,chapter,section,subsection]
where chapterEP is a specially designed version of \chapter but should 
be on the same level. First, everything goes nice, but then a chapterEP 
becomes a descendant of another chapterEP. I have no idea how I can 
reduce the problem to a small example or how to fix it. Any idea?

...
chapterEP
  section
 subsection
 subsection
  section
 subsection
 subsection
chapterEP
  section
  section
chapterEP
  section
  chapterEP --- Wrong!
 section
 section
  chapterEP (still wrong level)
 section
 section
 chapterEP -- Another wrong level)
 chapterEP (still wrong level)
  chapterEP (still wrong level, but one less)
  chapterEP (still wrong level)
chapterEP -- OK again
chapterEP

Tobias
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Line break and \in{....}[] command; bookmarks

2008-05-01 Thread Peter Münster
On Thu, May 01 2008, Tobias Burnus wrote:

 I use
\definereferenceformat[insection][text=Section]
 however, sometimes the item is that long that
    Section
   5.5 ..
 looks much nicer than a 5.5 sticking out of the margin. Is there a 
 possibility to allow a line break between the text and the number?

Something sticking out the margin (overfull hbox) is never good, but I
think the unbreakable space between the text and the number should
stay. The preferred solution is breaking sec-tion. But this only works
with \setupinteraction[state=stop].

See also the feature request
http://foundry.supelec.fr/tracker/index.php?func=detailaid=59group_id=21atid=164

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___