ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
Subject: Re: Lists
Date: Thu, 19 Oct 2006 10:16:00 +0200	[thread overview]
Message-ID: <115224fb0610190116u13ff253dsbf03fdfe78327327@mail.gmail.com> (raw)
In-Reply-To: <200610181003.52874.algarcia@ujaen.es>


[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]

2006/10/18, Ángel Luis García Fernández <algarcia@ujaen.es>:

> Hi all,
>
> I'm new to the list, although I'm working with ConTeXt since last spring.
> I
> have been trying to find everything I need on my own, but there is a
> problem
> I cannot solve at this moment. The thing is I'm writing my PhD thesis, and
> I
> would like to have not only a "List of figures", but also a "List of
> algorithms" and a "List of formulas". Is there a simple way to create a
> "\placeXXX" command similar to the \placefigure and a "\placelistofXXXX"
> similar to the "\placelistoffigures"? I suppose they can be programmed,
> but
> I'd rather not to start learning how to program in ConTeXt right now.
>
> Thanks in advance
>
> Angel-Luis Garcia


Hi Garcia,


List of algorithms:

<example>

\definefloat[algorithm][algorithms]

\starttext

\placealgorithm
  {First algorithm}
  {write here your algorithm}

\placealgorithm
  {Second algorithm}
  {write here another algorithm}

\placelistofalgorithms           % only index without heading
%\completelistofalgorithms   % index with heading

\stoptext

</example>


List of formulas:

http://wiki.contextgarden.net/Math#List_of_Formulas


Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-10-19  8:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18  8:03 Lists Ángel Luis García Fernández
2006-10-19  8:16 ` Wolfgang Schuster [this message]
2006-10-19 11:20   ` Lists Ángel Luis García Fernández
2006-10-19 13:57     ` Lists Aditya Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2000-08-12 10:45 lists siepo
2000-08-12 13:18 ` lists Berend de Boer

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=115224fb0610190116u13ff253dsbf03fdfe78327327@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).