From: Lars Huttar <lars_huttar@sil.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: error: terminal: >> NOfTextColumns-1, ! Improper final value has been replaced by 0
Date: Wed, 24 Apr 2013 11:30:14 -0400 [thread overview]
Message-ID: <5177FA86.5070207@sil.org> (raw)
Hello,
I'm encountering the following error, under ConTeXt ver: 2012.05.30
11:26 MKIV fmt: 2013.3.11 int: english/english:
system > tex > error on line 27 in file
data/three-volume-book-book-1.tex: terminal: >> NOfTextColumns-1
! Improper final value has been replaced by 0.
<to be read again>
:
<*> for i=1 upto NOfTextColumns-1:
draw (rightboundary TextColumns[i])
shif...
...
17 \safeinput ./data/statistics-for-area-area-africa.tex
18 \safeinput ./data/statistics-for-area-area-europe.tex
19
20
21
22 \input ./macros/E16pagenohead.tex
23 \ifodd \pageno \else \noheaderandfooterlines \null \page[yes]\fi
\noheade
randfooterlines
24
25 \startptp{
26 \pagereference[Languages]\pnum{Part II}\ptitle{Language Listings}
27 >> }\stopptp
This error is very odd because:
a) The only place I can find code mentioning "NOfTextColumns-1" is in
mp-core.mpii, where it's commented out!
% \startuseMPgraphic{whatever}
% for i=1 upto NOfTextColumns-1 :
% draw (rightboundary TextColumns[i]) shifted ...
But maybe I just haven't been looking in the right places.
b) The place in my .tex document where the error occurs, line 27, is at
a \stopptp. Yet there is an essentially identical start/stopptp earlier
in the document, where no such error is thrown:
\startptp{
\pagereference[Summaries]\pnum{Part I}\ptitle{Statistical Summaries}
}\stopptp
So I guess there's some content in between the two starts/stop ptp's
that's laying the stage for the error to occur.
I'll be working on a minimal example, but that's time-consuming; and I
thought in the meantime, there may be some clues in the above
information that could help clarify the nature of the problem, to
someone who understands the inner workings of ConTeXt.
Thanks for any help,
Lars
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2013-04-24 15:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 15:30 Lars Huttar [this message]
2013-04-26 10:24 ` Hans Hagen
[not found] <mailman.470.1366192042.2084.ntg-context@ntg.nl>
2013-04-29 19:10 ` Lars Huttar
2013-04-29 19:40 ` 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=5177FA86.5070207@sil.org \
--to=lars_huttar@sil.org \
--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).