ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hans Hagen: "an index entry needs an anchor" (Mail Archive 3/19/2014)
@ 2014-11-14  9:24 Rudolf Bahr
  2014-11-14 10:54 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Rudolf Bahr @ 2014-11-14  9:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

LaTeX "index" command doesn't need an anchor in order to print the page number.

Sometimes you can't give the ConTeXt-Command "index" any anchor. Think of an
external figure on a page and nothing else, without any text. When I say, for instance:

\index{Brigitte Bardot}\strut

I get a correct index, but an unsolicited extra empty page, too. What could be a solution?
My ConTeXt version is: "ConTeXt  ver: 2014.11.12 21:46 MKIV beta  fmt: 2014.11.14"

Greetings, Rudolf

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Hans Hagen: "an index entry needs an anchor" (Mail Archive 3/19/2014)
  2014-11-14  9:24 Hans Hagen: "an index entry needs an anchor" (Mail Archive 3/19/2014) Rudolf Bahr
@ 2014-11-14 10:54 ` Hans Hagen
  2014-11-15  8:59   ` Rudolf Bahr
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-11-14 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/14/2014 10:24 AM, Rudolf Bahr wrote:
> Hi,
>
> LaTeX "index" command doesn't need an anchor in order to print the page number.
>
> Sometimes you can't give the ConTeXt-Command "index" any anchor. Think of an
> external figure on a page and nothing else, without any text. When I say, for instance:
>
> \index{Brigitte Bardot}\strut
>
> I get a correct index, but an unsolicited extra empty page, too. What could be a solution?
> My ConTeXt version is: "ConTeXt  ver: 2014.11.12 21:46 MKIV beta  fmt: 2014.11.14"

i'm pretty sure that any index mechanism that is supposed to provide the 
right page does a delayed write, so some kind of anchoring is there

(you could try \index{...}\null or maybe \setregisterentry)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Hans Hagen: "an index entry needs an anchor" (Mail Archive 3/19/2014)
  2014-11-14 10:54 ` Hans Hagen
@ 2014-11-15  8:59   ` Rudolf Bahr
  0 siblings, 0 replies; 3+ messages in thread
From: Rudolf Bahr @ 2014-11-15  8:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Nov 14, 2014 at 11:54:18AM +0100, Hans Hagen wrote:
> On 11/14/2014 10:24 AM, Rudolf Bahr wrote:
> >Hi,
> >
> >LaTeX "index" command doesn't need an anchor in order to print the page number.
> >
> >Sometimes you can't give the ConTeXt-Command "index" any anchor. Think of an
> >external figure on a page and nothing else, without any text. When I say, for instance:
> >
> >\index{Brigitte Bardot}\strut
> >
> >I get a correct index, but an unsolicited extra empty page, too. What could be a solution?
> >My ConTeXt version is: "ConTeXt  ver: 2014.11.12 21:46 MKIV beta  fmt: 2014.11.14"
> 
> i'm pretty sure that any index mechanism that is supposed to provide the
> right page does a delayed write, so some kind of anchoring is there
> 
> (you could try \index{...}\null or maybe \setregisterentry)
> 
> Hans


Sorry, Hans. \index{...}\null isn't the solution either: I get an unwanted additional empty page,
but no pagenumbers in the index. 

Regarding \setregisterentry I cannot say very much because I didn't find enough information 
about that topic:  I fear I have to set in advance the appropriate page numbers and cannot 
use ConTeXt's page number facilities.

Ok, I shall look for other solutions, thank you.

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2014-11-15  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14  9:24 Hans Hagen: "an index entry needs an anchor" (Mail Archive 3/19/2014) Rudolf Bahr
2014-11-14 10:54 ` Hans Hagen
2014-11-15  8:59   ` Rudolf Bahr

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