ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Carsten Fechtmann <fecht@zarm.uni-bremen.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Creating a nomenclature section?
Date: Tue, 17 Feb 2009 19:58:23 +0100	[thread overview]
Message-ID: <B2C6EA2B-4261-4766-A115-9B858691F159@zarm.uni-bremen.de> (raw)
In-Reply-To: <bc3554890902121200v7a36b80m904c64a68984a2c4@mail.gmail.com>

Dear Mike

if something simple is what you had in mind for this, you might want  
to try this:

\definesynonyms[nomenclature][nomenclatures][\infull]
\setupsynonyms[nomenclature] %[criterium=all]

\starttext
\completelistofnomenclatures

\section{Some section}

% these could be placed anywhere
\nomenclature[PI]{$\pi$}{the ratio of the circumference with respect  
to the diameter of a circle}
\nomenclature[Dia]{$d$}{the diameter of a circle}
% References to them can be placed inside the definition,
% you might want to write a macro for that if that is a feature you  
use often

\input knuth

This is the symbol \PI. Please note that no math mode has to be used  
here as that is taken care of in the definition.
% Nor for the diameter \Dia.

And just using the list of nomenclatures again:

\placelistofnomenclatures
Produces a list (sorted) of all or all used 'nomenclatures'. See also  
the section about abbreviations in the ConTeXt handbook.

There is also the \type{...register} suite of commands if page entries  
etc.\ are more what is needed.
\stoptext

Cheers
Carsten

Am 12.02.2009 um 21:00 schrieb Michael Bynum:

> I haven't been able to find any documentation about producing a
> nomenclature section in a document using context.  In the absence of a
> command/module providing the functionality of something like the
> nomencl package in latex, I was wondering if anyone else had an
> elegant work around for this issue.  I guess I could just use a list
> to make a nomenclature section, but that would lose a lot of the
> functionality that makes something like nomencl useful.
>
> Mike
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-02-17 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 20:00 Michael Bynum
2009-02-17 18:58 ` Carsten Fechtmann [this message]
2009-02-18 15:45   ` Michael Bynum
2009-02-27 17:27     ` Carsten Fechtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B2C6EA2B-4261-4766-A115-9B858691F159@zarm.uni-bremen.de \
    --to=fecht@zarm.uni-bremen.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).