From: Duncan Hothersall <dh@capdm.com>
To: ntg-context@ntg.nl
Subject: Sections, cross-references and separators
Date: Mon, 31 Mar 2008 18:25:57 +0100 [thread overview]
Message-ID: <47F11EA5.1090708@capdm.com> (raw)
Dear all,
I am confused. Here is a minimal version of my problem:
---
\setupheads[separator=] %<-- this can't be right
\setupreferencing[state=start,chapternumber=yes,global=yes]
\setupsection[section-1][conversion=Characters]
\setupsection[section-2][previousnumber=yes]
\setuphead[part][placehead=yes,resetnumber=yes,page=no]
\setuphead[chapter][page=no]
\setuphead[section][number=no]
\setuppagenumbering[partnumber=no]
\starttext
\placelist[part,chapter,section][alternative=b,partnumber=no]
\part[ptest]{Ptest}
\chapter[ctest]{Ctest}
\section[stest]{Stest}
See \in{Chapter}[ctest] (should say A1) and \in{Figure}[ftest] (should
say A1.1).
\placefigure[here][ftest]{Ftest (should be called A1.1)}{}
\stoptext
---
What I am aiming for is a style where:
Parts are labelled A, B, C [done],
Chapters are labelled A1, A2, A3 [done, but...],
Cross-references to Chapters call them A1, A2, A3 [not done: I'm
getting A.1]
Figures are labelled A1.1, A1.2 [not done; I'm getting A.11 (eek!)]
Cross-references to Figures call them A1.1, A1.2 [not done: I'm
getting A.11]
It seems to me that the line
\setupheads[separator=]
can't possibly be right and is almost certainly causing the missing dot
in the Figure number, but it was the only way I could find to remove the
dot between the A and the 1 in the chapter label. I have toiled a little
with the core-ref code and cannot fathom how any of the variety of uses
of the word "separator" make sense, or indeed if they really have
anything to do with it... :-)
I'm testing on the garden, using pdfTeX. I'd be *really* grateful for
some help with this one.
Thanks,
Duncan
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2008-03-31 17:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-31 17:25 Duncan Hothersall [this message]
2008-04-01 6:38 ` Taco Hoekwater
[not found] <mailman.4030.1207034365.4340.ntg-context@ntg.nl>
2008-04-01 8:06 ` Duncan Hothersall
2008-04-01 8:57 ` Taco Hoekwater
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=47F11EA5.1090708@capdm.com \
--to=dh@capdm.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).