Hans Hagen: "an index entry needs an anchor" (Mail Archive 3/19/2014)
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
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 -----------------------------------------------------------------
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.
participants (2)
-
Hans Hagen
-
Rudolf Bahr