From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Custom enumeration
Date: Thu, 14 Oct 2010 22:38:50 +0200 [thread overview]
Message-ID: <7274ACD1-DD66-4BB2-B8DF-85369F323260@gmail.com> (raw)
In-Reply-To: <8ECED4DE-95E9-457A-8717-79FD3B703DA4@umich.edu>
Am 14.10.2010 um 15:24 schrieb Aditya Mahajan:
> On Oct 14, 2010, at 8:31 AM, Bela Mulder <mulder@amolf.nl> wrote:
>
>> Sorry, for my initial vagueness: I want the exercises in part 5, chapter 3 of the syllabus to come out as:
>>
>> Exercise 5.3.1 etc.
>
> Does way=bychapter work? (untested)
You need also „prefix=yes“ but it would have been easier with a minimals example which was missing.
\defineenumeration[test][text=Test,prefix=yes,way=bychapter]
\starttext
\dorecurse{3}
{\part{Part #1}
\dorecurse{4}
{\chapter{Chapter ##1}
\dorecurse{3}
{\input knuth\par
\starttest \input ward \stoptest
\input tufte\par}}}
\stoptext
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-10-14 20:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 12:31 Bela Mulder
2010-10-14 13:24 ` Aditya Mahajan
2010-10-14 20:38 ` Wolfgang Schuster [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-10-14 9:22 Bela Mulder
2010-10-14 9:26 ` Wolfgang Schuster
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=7274ACD1-DD66-4BB2-B8DF-85369F323260@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).