ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two questions about registers
@ 2013-06-02 17:46 Marcin Borkowski
  2013-06-02 17:51 ` Marcin Borkowski
  2013-06-02 18:46 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Marcin Borkowski @ 2013-06-02 17:46 UTC (permalink / raw)
  To: ConTeXt mailing list

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
___________________________________________________________________________________


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

* Re: Two questions about registers
  2013-06-02 17:46 Two questions about registers Marcin Borkowski
@ 2013-06-02 17:51 ` Marcin Borkowski
  2013-06-02 18:07   ` Marcin Borkowski
  2013-06-02 18:46 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2013-06-02 17:51 UTC (permalink / raw)
  To: ntg-context

Dnia 2013-06-02, o godz. 19:46:52
Marcin Borkowski <mbork@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
___________________________________________________________________________________

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

* Re: Two questions about registers
  2013-06-02 17:51 ` Marcin Borkowski
@ 2013-06-02 18:07   ` Marcin Borkowski
  0 siblings, 0 replies; 5+ messages in thread
From: Marcin Borkowski @ 2013-06-02 18:07 UTC (permalink / raw)
  To: ntg-context

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

> Dnia 2013-06-02, o godz. 19:46:52
> Marcin Borkowski <mbork@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
___________________________________________________________________________________

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

* Re: Two questions about registers
  2013-06-02 17:46 Two questions about registers Marcin Borkowski
  2013-06-02 17:51 ` Marcin Borkowski
@ 2013-06-02 18:46 ` Wolfgang Schuster
  2013-06-02 19:04   ` Marcin Borkowski
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-06-02 18:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 02.06.2013 um 19:46 schrieb Marcin Borkowski <mbork@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
___________________________________________________________________________________


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

* Re: Two questions about registers
  2013-06-02 18:46 ` Wolfgang Schuster
@ 2013-06-02 19:04   ` Marcin Borkowski
  0 siblings, 0 replies; 5+ messages in thread
From: Marcin Borkowski @ 2013-06-02 19:04 UTC (permalink / raw)
  To: ntg-context

Dnia 2013-06-02, o godz. 20:46:12
Wolfgang Schuster <schuster.wolfgang@gmail.com> napisał(a):

> 
> Am 02.06.2013 um 19:46 schrieb Marcin Borkowski
> <mbork@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
___________________________________________________________________________________

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

end of thread, other threads:[~2013-06-02 19:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-02 17:46 Two questions about registers Marcin Borkowski
2013-06-02 17:51 ` Marcin Borkowski
2013-06-02 18:07   ` Marcin Borkowski
2013-06-02 18:46 ` Wolfgang Schuster
2013-06-02 19:04   ` Marcin Borkowski

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