ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris Samawi Hamid <ishamid@lamar.colostate.edu>
Subject: RE: bug in \setuphead?
Date: Tue, 19 Apr 2005 11:49:39 -0600	[thread overview]
Message-ID: <42742350@webmail.colostate.edu> (raw)

>===== Original Message From Hans Hagen <pragma@wxs.nl> =====
>> \appendix{Test}
>
>shouldn't that be \appendix{MyOwnNumber}{Test}

I get it now-) It's amazing how one can try 101 things and still miss the 
obvious...

Now that I can handle this manually, what I really want to do is have the 
first \appendix start with the numeral 1, after following previous sections. I 
seem to remember doing this once before; don't know why I can't seem to get it 
right this time. The following still inherits the section numeral from 
\section: how do I reset it to 1? (I also tried lots of other options but, as 
usual, I must be missing the obvious again->)

===================================================
% output=pdf interface=en

\definehead[appendix][section]
\setuphead [appendix][continue=no]
\setupheadnumber [appendix][1]
\setuplabeltext[appendix=Appendix~]

\starttext

\section{Test}

\appendix{Test} % should be 1

\appendix{Test} % should be 2

\stoptext
===================================================

BEst
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

             reply	other threads:[~2005-04-19 17:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 17:49 Idris Samawi Hamid [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-19 15:04 Idris Samawi Hamid
2005-04-19 17:05 ` Hans Hagen

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=42742350@webmail.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --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).