Re: [NTG-context] \startregister…\stopregister bug?

2018-08-14 Thread Wolfgang Schuster

You forgot the second argument for \startregister and \stopregister.


\defineregister[TesT]

\starttext

\startregister[TesT][one]{samples}

\input knuth

\page

\startregister[TesT][two]{more}

\input ward

\stopregister[TesT][one]

\page zapf

\stopregister[TesT][two]

\blank[3*big]

\placeregister[TesT]

\stoptext


Wolfgang

Alan Bowen schrieb am 14.08.18 um 17:25:

In the latest beta (2018.08.10),

\defineregister[TesT]
\starttext
\startregister[TesT]{samples}
\input knuth
\page
\input ward
\stopregister[TesT]
\blank[3*big]
\placeregister[TesT]
\stoptext

produces on page 2 the index entry
/samples 1/
when one expects
/samples 1–2/
/
/
Alan
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] \startregister…\stopregister bug?

2018-08-14 Thread Alan Bowen
In the latest beta (2018.08.10),

\defineregister[TesT]
\starttext
\startregister[TesT]{samples}
\input knuth
\page
\input ward
\stopregister[TesT]
\blank[3*big]
\placeregister[TesT]
\stoptext

produces on page 2 the index entry
*samples 1*
when one expects
*samples 1–2*

Alan
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] startregister produces strange page range (1-2-3)

2009-04-28 Thread Patrick Gundlach
Hi,

 I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages.
 The live context (2009.03.06) produces a blank index with the pdftex
 engine, so I'm CC'ing Patrick in case that problem is separate.

The context live is now 2009.04.28. I don't know if this helps, but at
least it is now updated daily again.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
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] startregister produces strange page range (1-2-3)

2009-04-21 Thread Patrick Gundlach
Hi Sanjoy,

 I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages.
 The live context (2009.03.06) produces a blank index with the pdftex
 engine, so I'm CC'ing Patrick in case that problem is separate.

The context did not receive an update for quite some time. I will take a
look into that on sunday.


Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
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
___


[NTG-context] startregister produces strange page range (1-2-3)

2009-04-20 Thread Sanjoy Mahajan
With the following minimal file, the index entry for Knuth has the
strange page range 1-2-3 rather than 1-2, 2-3.  Adding \input knuth
a few times in between the two start..stopregister stanzas gives a
correct page range (so maybe that change hides the problem).

I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages.
The live context (2009.03.06) produces a blank index with the pdftex
engine, so I'm CC'ing Patrick in case that problem is separate.

\starttext

\startregister[index][Knuth]{Knuth}
\dorecurse{5}{\input knuth }
\stopregister[index][Knuth]

\startregister[index][Knuth2]{Knuth}
\dorecurse{5}{\input knuth }
\stopregister[index][Knuth2]

\completeindex

\stoptext

-Sanjoy
___
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] startregister - stopregister

2008-07-03 Thread Wolfgang Schuster
On Wed, Jul 2, 2008 at 1:46 PM, Steffen Wolfrum [EMAIL PROTECTED] wrote:
 Hi,

 converting a MSWord Doc file to TEI-XML gives me this kind of index
 range:

 anchor type=bookmark-start xml:id=Index216/

 anchor type=bookmark-end corresp=#Index216/
  indextermVerfassungsvertrag/term/index



 Unfortunately in ConTeXt the register entry is required the other way
 round:

 \startregister[index][knuthrange1]{Knuth}

 \stopregister[index][knuthrange1]



 Could it be possible also to provide something like ...

 \startregister[index][Index216]

 \stopregister[index][Index216]{Verfassungsvertrag}


 ... in mkii, please?

You could use twopassdata to save then index entry in the first run
and pass it to \startregister in the second run.

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


[NTG-context] startregister - stopregister

2008-07-02 Thread Steffen Wolfrum
Hi,

converting a MSWord Doc file to TEI-XML gives me this kind of index  
range:

anchor type=bookmark-start xml:id=Index216/

anchor type=bookmark-end corresp=#Index216/ 
 indextermVerfassungsvertrag/term/index



Unfortunately in ConTeXt the register entry is required the other way  
round:

\startregister[index][knuthrange1]{Knuth}

\stopregister[index][knuthrange1]



Could it be possible also to provide something like ...

\startregister[index][Index216]

\stopregister[index][Index216]{Verfassungsvertrag}


... in mkii, please?


Steffen
___
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
___