ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: ConTeXt NTG <ntg-context@ntg.nl>
Subject: new beta 2012.07.09 22:35 failing
Date: Mon, 9 Jul 2012 21:40:06 +0000	[thread overview]
Message-ID: <083D6CCB-F66C-483D-8EFF-396060FDA51A@uva.nl> (raw)

This is beta: ConTeXt  ver: 2012.07.09 22:35 MKIV  fmt: 2012.7.9  int: english/english

It fails me with (see below). I am fairly sure now this must be an error seeing the minimal example provided. Here is the most minimal example I could concoct:

\setuphead[chapter][header=high]
\starttext
\chapter{c-one}
\stoptext

structure       > sectioning >  @ level 1 : 1 -> c-one
! Extra \else.

system          > tex > error on line 3 in file practicum.tex: Extra  ...

 1     \setuphead[chapter][header=high]
 2     \starttext
 3 >>  \chapter{c-one}
 4     \stoptext
 5     
 6     \def\edition{2012}			% the year of production
 7     
 8     \disablemode[concept]		% concept/final
 9     
10     \disablemode[docent]		% typeset teacher info
11     
12     \input setup				% parameter settings
13     \setuppagenumbering[alternative=doublesided]


\strc_sectioning_handle ...ioning_after_yes \else 
                                                  \ifconditional \c_strc_sec...
l.3 \chapter{c-one}

I guess the problem is signalled in strc-sec.mkiv where strc_sectioning_after_yes occurs in lines 780, 802 and 943, the first two seem the most likely candidates.
I do not see at first hand a wrong \if\else\fi count there. Maybe the culprit hides elsewhere.

Hans van der Meer



___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2012-07-09 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09 21:40 Meer, H. van der [this message]
2012-07-09 22:36 ` 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=083D6CCB-F66C-483D-8EFF-396060FDA51A@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).