[NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
Dear All,

what is the correct placing indext entries somewhere in the section title?

I use it for both ranges (when covering the whole section) and sometimes
also for individual entries:

(A) \section{\startregister[index][primary_range_01]{primary}Primary}
(B) \section{\index{primary}Primary}

This syntax is however:
(1) used 'as is' in bookmark labels (\index{primary}Primary instead of
Primary)
(2) producing page references also from TOC (labels are correct, but the
index entry instances are kept together there internally)

How can I get rid of it?

Thanks, Jan

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread Wolfgang Schuster

Am 07.11.2013 um 23:43 schrieb honyk j.tosov...@email.cz:

 Dear All,
 
 what is the correct placing indext entries somewhere in the section title?
 
 I use it for both ranges (when covering the whole section) and sometimes
 also for individual entries:
 
 (A) \section{\startregister[index][primary_range_01]{primary}Primary}
 (B) \section{\index{primary}Primary}

(C) \section{Primary}\index{primary}

Wolfgang
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
On 2013-11-07 Wolfgang Schuster wrote:
 Am 07.11.2013 um 23:43 schrieb honyk j.tosov...@email.cz:
 
  what is the correct placing indext entries somewhere in the section
 title?
 
  I use it for both ranges (when covering the whole section) and
  sometimes also for individual entries:
 
  (A) \section{\startregister[index][primary_range_01]{primary}Primary}
  (B) \section{\index{primary}Primary}
 
 (C) \section{Primary}\index{primary}

:-) 

I usually place it at the beginning to ensure visibility of the title when
the page in the index is clicked in a large zoom (which should be preserved)
- it should be scrolled accordingly.

Is that index entry on the same line as the title or the next one?
I found I am not able to test it:

Even with the 'focus=standard' when any page in the index is clicked, the
zoom is set to FitPage :-(

Preserving of zoom seems to be working for TOC only...

\setupinteraction[state=start,focus=standard]
\starttext
\startfrontmatter
\completecontent
\blank
\section{Primary}\index{primary}
Dummy text.
\stopbodymatter
\startbackmatter
\completeindex
\stopbackmatter
\stoptext

Jan

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___