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

Dear gang,

The [ownnumber=yes] option overflows ConTeXt's memory, and I have not found an 
adjustment to texmf.cnf to fix it (mswincontext 3-16, 2005). I increased the 
param and stack sizes by an entire order of magnitude.

Other options such as [ownnumber=no] work fine.

This bug is not benign:-) Please advise...

Best
Idris
=======================
% output=pdf interface=en

\definehead[appendix][section]
\setuphead [appendix][ownnumber=yes]
\setuplabeltext[appendix=Appendix~]

\starttext

\appendix{Test}

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

log:

=======================
systems         : begin file test5 at line 7
! TeX capacity exceeded, sorry [parameter stack size=6000].
\previoussection #1->
                     \csname \??se #1\c!before \endcsname
\countervalue #1->\csname #1
                            \endcsname
\@@longsectionnumber ...?se \previoussection {#1}}
                                                  >\zerocount \csname 
\previ...

\finalsectionnumber ...alue {\@@sectie \c!number }
                                                  \fi \fi
\@@shortsectionnumber ...1\c!ownnumber \endcsname
                                                  \fi
\@@longsectionnumber ...\@@shortsectionnumber {#1}
                                                  \fi
...
l.9 \appendix{Test}

If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
=======================

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

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 15:04 Idris Samawi Hamid [this message]
2005-04-19 17:05 ` Hans Hagen
2005-04-19 17:49 Idris Samawi Hamid

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=4271F085@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).