From: "Uwe Koloska" <uwe.koloska@mailbox.tu-dresden.de>
Subject: Re: Numbers in heads and captions
Date: Wed, 21 Feb 2001 02:46:26 +0100 [thread overview]
Message-ID: <01022102462600.25740@bilbo> (raw)
In-Reply-To: <Pine.LNX.4.10.10102201910070.2106-100000@erde.kosmos.all>
Hello,
You wrote on Dienstag, 20. Februar 2001 20:02:
>I have several problems to set the numbers in heads and captions in my own
>way.
I managed to find the answers by reading the manual and my archive of this
list -- so if you know what to look for, you could do so too!
>First, I want to set the numbers of subsubsections in the text and
>maybe also in the toc as characters with a right parenthesis, e.g.
>
>a) Unterabschnitt
>
>How to say ConTeXt to set the right parenthesis?
This is easy:
\def\myHead#1{#1)}
\setuphead[section][command=\myHead]
>Second, I want to count the Figures from 1 to n in my paper. But ConTeXt
>renews the counter chapterwise and produces a counter
>"chapternumber.figurenumber", e.g. for the fifth figure in the paper
>instead Fig. 5 I get Fig. B.3 (because it's the third figure in Chapter
>B). How to switch off this feature to get simple numbers?
another easy one:
\setupcaptions[way=bytext]
>Third, I want after the fig-numbers in the captions (only in the captions)
>a dot "." or a colon ":", this colon is, of course, not permitted in a
>reference related to the figure in the text like \in[ref]. This would
>happen if we define a conversion for the captions with dot or colon. How
>to instruct ConTeXt to handle the captionnumbers in the desired way?
I don't know the answer to this one. Unfortunately there is no
numbercommand for \setupcations ...
Here is a small document, that shows the above in use:
\setuppapersize
[S6][S6]
\setupsection[section-3][conversion=character]
\def\myHead#1{#1)}
\setuphead[section][command=\myHead]
\startsectionblockenvironment [bodypart]
\setupcaptions[way=bytext]
\stopsectionblockenvironment
\startsectionblockenvironment [appendix]
\setupcaptions[way=bysection]
\stopsectionblockenvironment
\starttext
\startbodymatter
\section{test} \placefigure{}{}
\section{Eins}
\section{Zwei}
\stopbodymatter
\startappendices
\section{test} \placefigure{}{}
\stopappendices
\stoptext
Yours
Uwe
--
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
-- --
right now the web page is in german only
but this will change as time goes by ;-)
next prev parent reply other threads:[~2001-02-21 1:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-20 19:02 Albrecht Kauffmann
2001-02-21 1:46 ` Uwe Koloska [this message]
2001-02-21 16:40 ` James Ramsey
2001-02-23 10:08 ` Hans Hagen
2001-02-23 16:28 ` James Ramsey
[not found] <Pine.LNX.4.10.10102202313200.3093-100000@erde.kosmos.all>
2001-02-21 7:04 ` Berend de Boer
2001-02-21 18:20 ` Ed L Cashin
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=01022102462600.25740@bilbo \
--to=uwe.koloska@mailbox.tu-dresden.de \
/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).