[NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Hi list,

I have two questions regarding registers.

1. How to change the title of the register (placed by
\completeregister) and its numbering style?  (Assume that e.g. I want
it to be an unnumbered section and not a numbered chapter.)

2. I'd like my register not to have the headers with subsequent letters
of the alphabet.  I did [indicator=no] in \setupregister, but still got
the *vertical spacing* between gropus of entries beginning with the same
letter. Then, I did also [before={}], but then the space between entry
groups is actually *smaller* than the usual interline space (confirmed
by doing \showgrid).  What should I do to prevent this from happening?

Regards,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Dnia 2013-06-02, o godz. 19:46:52
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):

 Hi list,
 
 I have two questions regarding registers.
 
 1. How to change the title of the register (placed by
 \completeregister) and its numbering style?  (Assume that e.g. I want
 it to be an unnumbered section and not a numbered chapter.)

OK, I've just found out about \setupheadtext[register={...}], but the
rest of my problems are still unsolved for me.

 2. I'd like my register not to have the headers with subsequent
 letters of the alphabet.  I did [indicator=no] in \setupregister, but
 still got the *vertical spacing* between gropus of entries beginning
 with the same letter. Then, I did also [before={}], but then the
 space between entry groups is actually *smaller* than the usual
 interline space (confirmed by doing \showgrid).  What should I do to
 prevent this from happening?
 
 Regards,
 



-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Dnia 2013-06-02, o godz. 19:51:54
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):

 Dnia 2013-06-02, o godz. 19:46:52
 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
 
  Hi list,
  
  I have two questions regarding registers.
  
  1. How to change the title of the register (placed by
  \completeregister) and its numbering style?  (Assume that e.g. I
  want it to be an unnumbered section and not a numbered chapter.)
 
 OK, I've just found out about \setupheadtext[register={...}], but the
 rest of my problems are still unsolved for me.
 
  2. I'd like my register not to have the headers with subsequent
  letters of the alphabet.  I did [indicator=no] in \setupregister,
  but still got the *vertical spacing* between gropus of entries
  beginning with the same letter. Then, I did also [before={}], but
  then the space between entry groups is actually *smaller* than the
  usual interline space (confirmed by doing \showgrid).  What should
  I do to prevent this from happening?

Me again: seems it was an ID10T error, the problem was insufficient
magnification in the pdf viewer.  Solution wikified under Registers.

The problem with head style of the title of the register is still
unsolved, though not critical - I can use \placeregister and supply the
title myself.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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] Two questions about registers

2013-06-02 Thread Wolfgang Schuster

Am 02.06.2013 um 19:46 schrieb Marcin Borkowski mb...@wmi.amu.edu.pl:

 Hi list,
 
 I have two questions regarding registers.
 
 1. How to change the title of the register (placed by
 \completeregister) and its numbering style?  (Assume that e.g. I want
 it to be an unnumbered section and not a numbered chapter.)

When you use one of the \complete… (content, synonyms etc.) commands
context uses either \chapter or \title to place the heading for the register,
in addition it creates a reference to the register which has the name
of the register, e.g. “content” or “index”.

In cases where this heading type isn’t sufficient you can use \title
(or any other heading) in combination with \place…, the disadvantage
of this method is that you loose the multilingual labels (not really
a problem) but you can access the texts with \headtext{…},
e.g. \headtext{content} or \headtext{index}


 2. I'd like my register not to have the headers with subsequent letters
 of the alphabet.  I did [indicator=no] in \setupregister, but still got
 the *vertical spacing* between gropus of entries beginning with the same
 letter. Then, I did also [before={}], but then the space between entry
 groups is actually *smaller* than the usual interline space (confirmed
 by doing \showgrid).  What should I do to prevent this from happening?

Can you provide a example for this?

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] Two questions about registers

2013-06-02 Thread Marcin Borkowski
Dnia 2013-06-02, o godz. 20:46:12
Wolfgang Schuster schuster.wolfg...@gmail.com napisał(a):

 
 Am 02.06.2013 um 19:46 schrieb Marcin Borkowski
 mb...@wmi.amu.edu.pl:
 
  Hi list,
  
  I have two questions regarding registers.
  
  1. How to change the title of the register (placed by
  \completeregister) and its numbering style?  (Assume that e.g. I
  want it to be an unnumbered section and not a numbered chapter.)
 
 When you use one of the \complete… (content, synonyms etc.) commands
 context uses either \chapter or \title to place the heading for the
 register, in addition it creates a reference to the register which
 has the name of the register, e.g. “content” or “index”.

Just curiosity: when \chapter and when \title?

 In cases where this heading type isn’t sufficient you can use \title
 (or any other heading) in combination with \place…, the disadvantage
 of this method is that you loose the multilingual labels (not really
 a problem) but you can access the texts with \headtext{…},
 e.g. \headtext{content} or \headtext{index}

By multilingual labels, you mean the texts like Index, Contents
etc., right?

  2. I'd like my register not to have the headers with subsequent
  letters of the alphabet.  I did [indicator=no] in \setupregister,
  but still got the *vertical spacing* between gropus of entries
  beginning with the same letter. Then, I did also [before={}], but
  then the space between entry groups is actually *smaller* than the
  usual interline space (confirmed by doing \showgrid).  What should
  I do to prevent this from happening?
 
 Can you provide a example for this?

See my other email.  Tl;dr: I was wrong, everything is fine.

 Wolfgang

Thanks,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
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
___