ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Index struggles
@ 2008-08-11 11:57 Willi Egger
  2008-08-11 12:03 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2008-08-11 11:57 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Hi community!

Please run the attached sample file and see whether you get a correct  
index. In my case I only get the indicator letters and under each  
indicator a single letter with page number therafter.

Do I miss something?

I am running luatex ConTeXt  ver: 2008.08.11 11:45 MKIV  fmt:  
2008.8.11  int: english/english


Thanks

Willi

[-- Attachment #2: Index.tex --]
[-- Type: application/octet-stream, Size: 1335 bytes --]

% Context file
% Filename: index.tex
% Willi Egger
% 11-08-2008
% Copyright (c) 2008 BOEDE. All rights reserved.


\defineregister[verb][verbs]
\setupregister[verb][n=3,balance=yes]

\starttext

\subject{A possible index}


Making oil \index[oil] requires a specific series of geological accidents over
inconceivable amounts of \index[time]time. First, organic-rich sediment \verb[need]needs to
be \verb[burry]burried faster than it can \verb[decay] decay. Then the stuff needs to get \verb[push]pushed
miles down into the earth's crust to be \verb[cook]cooked slowly. Burried too
deep or cooked too fast and the organic molecules \verb[burn]burn off;
\verb[trap]trapped too shallow or not for long enough and the muck never
\verb[turn]turns into oil. Finally, an impermeable layer needs to \verb[seal]seal the
oil in a porous layer of \index[rock]rock from which it can be \verb[recover]recovered. Then
somebody has to \verb[find]find it and \verb[get]get it out of the \index[ground]ground. It \verb[take]takes
millions of years to \verb[produce]produce a barrel of oil; we \verb[use]use millions of
barrels a day. There is no question that we will \verb[run]run out of oil ---
the only question \verb[be]is when.

\completeindex[criterium=all]

\subject{A list of verbs}

\completeregister[verb][criterium=all]

\stoptext

\stoptext

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Index struggles
  2008-08-11 11:57 Index struggles Willi Egger
@ 2008-08-11 12:03 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2008-08-11 12:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Aug 11, 2008 at 1:57 PM, Willi Egger <w.egger@boede.nl> wrote:
> Hi community!
>
> Please run the attached sample file and see whether you get a correct index.
> In my case I only get the indicator letters and under each indicator a
> single letter with page number therafter.
>
> Do I miss something?

Use \index{...} and \verb{...}.

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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-08-11 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-11 11:57 Index struggles Willi Egger
2008-08-11 12:03 ` Wolfgang Schuster

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