ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Cc: Context Mailing List List <ntg-context@ntg.nl>
Subject: Re: Help --- Arithmetic Overflow: Weird error
Date: Wed, 3 Jan 2007 18:10:18 -0800	[thread overview]
Message-ID: <818D2D28-6B9D-40E1-BD0B-40DE84B906ED@cox.net> (raw)
In-Reply-To: <6faad9f00701031801i6d7535efp484dbf9cd13d1888@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

Mojca,

Attached.

Meanwhile, I guess I should try to update my Context and see if that  
makes a difference. I found that I needed to update my installer and  
now I am realizing that I am a bit behind the times.

In trying Context Updater in the update i-installer, I get this message:

"You are now installing in the location for de deprecated gwTeX  
2003-2005 i-Package in part based on teTeX. This is probably not what  
you want. I suggest you make sure you have the gwTeX i-Package based  
on TeX Live installed. Then the best thing is to reset this i-Package  
to its default package properties. It will then pick up the new  
default location.

Looks like it wants me to install the latest tex.

Any advice?

On Jan 3, 2007, at 6:01 PM, Mojca Miklavec wrote:

> On 1/4/07, David Arnold <dwarnold45@cox.net> wrote:
>> Mojca,
>>
>> Mac OS X 10.4.8.
>>
>> Gerben's GWTeX.
>>
>> LinearFunctions $ texmfstart texexec --version
>> TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
>
> (I also use gwTeX here.)
>
> Can you send me complete file+logs?
>
> Mojca

[-- Attachment #2: junk.tex --]
[-- Type: application/octet-stream, Size: 2091 bytes --]

\setupcolors[state=start]

\definecolor[gridlines][s=0.7]

\startMPinclusions

color mygridcolor; mygridcolor=\MPcolor{gridlines};

\stopMPinclusions

\starttext

\startbuffer[one]

% initialize scale
numeric u; 10u=4cm;

% draw grid
for k=-5u step 1u until 5u:
    draw (-5u,k)--(5u,k) withcolor mygridcolor;
    draw (k,-5u)--(k,5u) withcolor mygridcolor;
endfor;

% draw axes
drawdblarrow (-5.2u,0)--(5.2u,0);
drawdblarrow (0,-5.2u)--(0,5.2u);

% label axes
label.rt(btex $\tfx x$ etex, (5.2u,0));
label.top(btex $\tfx y$ etex, (0,5.2.u));
label.bot(btex $\tfx 5$ etex, (5u,0));
label.lft(btex $\tfx 5$ etex, (0,5u));

%draw the given line and the parallel line
drawdblarrow (-5u,-4.5u)--(5u,0.5u) withcolor blue;
label.bot(btex $\tfx x-2y=4$ etex, (-5u,-4.5u));

%pairs
pair Q, R;
R:=(4u,0u);
Q:=(0u,-2u);

%labels
dotlabel.lrt(btex $\tfx R(4,0)$ etex, R);
dotlabel.lrt(btex $\tfx Q(0,-2)$ etex, Q);

\stopbuffer

\startbuffer[two]

% initialize scale
numeric u; 10u=4cm;

% draw grid
for k=-5u step 1u until 5u:
    draw (-5u,k)--(5u,k) withcolor mygridcolor;
    draw (k,-5u)--(k,5u) withcolor mygridcolor;
endfor;

% draw axes
drawdblarrow (-5.2u,0)--(5.2u,0);
drawdblarrow (0,-5.2u)--(0,5.2u);

% label axes
label.rt(btex $\tfx x$ etex, (5.2u,0));
label.top(btex $\tfx y$ etex, (0,5.2.u));
label.bot(btex $\tfx 5$ etex, (5u,0));
label.lft(btex $\tfx 5$ etex, (0,5u));

%draw the given line and the parallel line
drawdblarrow (-5u,-4.5u)--(5u,0.5u) withcolor blue;
label.bot(btex $\tfx x-2y=4$ etex, (-5u,-4.5u));
drawdblarrow (-4u,5u)--(1u,-5u) withcolor blue;

%pairs
pair P, Q, R;
P:=(-3u,3u);
Q:=(-3u,1u);
R:=(-2u,1u);
draw P--Q--R withpen pencircle scaled 1pt withcolor red;
label.lft(btex $\tfx \Delta y=-2$ etex, 0.5[P,Q]);
label.bot(btex $\tfx \Delta x=1$ etex, 0.5[Q,R]);

%labels
dotlabel.urt(btex $\tfx (-3,3)$ etex, P);

\stopbuffer

\startbuffer[combined]
  \startcombination[2*1]
    {\processMPbuffer[one]}{(a)}
    {\processMPbuffer[two]}{(b)}
  \stopcombination
\stopbuffer

\startlinecorrection[blank]
\midaligned{\getbuffer[combined]}
\stoplinecorrection

\stoptext

[-- Attachment #3: junk.log --]
[-- Type: application/octet-stream, Size: 6853 bytes --]

This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (format=cont-en 2006.8.10)  3 JAN 2007 18:08
entering extended mode
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
**junk.tex emergencyend
(./junk.tex

ConTeXt  ver: 2006.08.08 21:51  fmt: 2006.8.10  int: english  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout2 = `junk.tui'.

system          : junk.top loaded
(./junk.top
specials        : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
\openout0 = `junk-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems         : system commands are disabled
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
(/usr/local/teTeX/share/texmf.local/tex/context/base/sort-def.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/sort-lan.tex)
systems         : begin file junk at line 11
<junk-one.tmp>
\openout4 = `junk-one.tmp'.

 <junk-two.tmp>
\openout4 = `junk-two.tmp'.

 <junk-combined.tmp>
\openout4 = `junk-combined.tmp'.

 (./junk-combined.tmp
color           : currentcolor (def) is not defined 
\openout6 = `junk-mpgraph.mp'.

\openout5 = `junk-mpgraph.mpb'.

[MP to PDF] (./junk-mpgraph.1)
color           : currentcolor (def) is not defined 
[MP junk-mpgraph.2]
! Arithmetic overflow.
<recently read> \@@raggedskipb 
                               
\setraggedness ...e \@@raggedskipa \@@raggedskipb 
                                                  \hyphenpenalty \@@raggedsk...

\raggedcenter ->\setraggedness \middleraggedness 
                                                 \setraggedskips 2\middlerag...

\@@align@@middle ...gedcenter \else \raggedcenter 
                                                  \fi \fi 
\next2 #1,->\dodosetupalign {#1}
                                \doprocesscommaitem 
\doprocesscommalist ...item \gobbleoneargument #1,
                                                  ]\relax \global \advance \...
...
l.3     {\processMPbuffer[two]}{(
                                 b)}
? s
OK, entering \scrollmode...

Overfull \hbox (15.66666pt too wide) in paragraph at lines 3--3
[][] \*12ptrmtfrm* (b) []

\hbox(10.41603+4.05064)x0.0
.\hbox(0.0+0.0)x0.0
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 10000
.\glue 0.0
.\*12ptrmtfrm* (
.etc.

)
fonts           : resetting map file list
fonts           : using map file: texnansi-public-lm
fonts           : using map file: original-base
fonts           : using map file: ec-public-lm
fonts           : using map file: ec-base
fonts           : using map file: 8r-base
fonts           : using map file: t5-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-ams-euler
fonts           : using map file: original-public-lm
(/usr/local/teTeX/share/texmf.local/tex/context/base/pdfr-ec.tex) [1.1{/usr/loc
al/teTeX/share/texmf.local/fonts/map/pdftex/context/original-empty.map}{/usr/lo
cal/teTeX/share/texmf.local/fonts/map/pdftex/context/texnansi-public-lm.map}{/u
sr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-base.map}{/u
sr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-public-lm.map}{/us
r/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base.map}{/usr/loca
l/teTeX/share/texmf.local/fonts/map/pdftex/context/8r-base.map}{/usr/local/teTe
X/share/texmf.local/fonts/map/pdftex/context/t5-base.map}{/usr/local/teTeX/shar
e/texmf.local/fonts/map/pdftex/context/original-ams-base.map}{/usr/local/teTeX/
share/texmf.local/fonts/map/pdftex/context/original-ams-euler.map}{/usr/local/t
eTeX/share/texmf.local/fonts/map/pdftex/context/original-public-lm.map}]
systems         : end file junk at line 100
[flush and process junk-mpgraph.mp afterwards]
system          : cont-err loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-err.tex

> User file 'cont-sys.tex' not found, 'cont-sys.rme' has been used instead. <

) ) 
Here is how much of TeX's memory you used:
 1275 strings out of 58329
 22451 string characters out of 554330
 4604588 words of memory out of 6044138
 40301 multiletter control sequences out of 10000+50000
 75930 words of font info for 40 fonts, out of 2000000 for 2000
 192 hyphenation exceptions out of 5000
 51i,18n,51p,257b,529s stack positions out of 5000i,500n,6000p,200000b,40000s
PDF statistics:
 17 PDF objects out of 300000
 0 named destinations out of 131072
 5 words of extra memory for PDF output out of 10000
</usr/local/teTeX/share/texmf.tetex/fonts/type1/bluesky/cm/cmsy9.pfb>{/usr/l
ocal/teTeX/share/texmf.tetex/fonts/enc/dvips/lm/lm-rep-cmrm.enc}</usr/local/teT
eX/share/texmf.tetex/fonts/type1/public/lm/lmr9.pfb></usr/local/teTeX/share/tex
mf.tetex/fonts/type1/bluesky/cm/cmmi9.pfb>{/usr/local/teTeX/share/texmf.tetex/f
onts/enc/dvips/lm/lm-ec.enc}</usr/local/teTeX/share/texmf.tetex/fonts/type1/pub
lic/lm/lmr12.pfb>
Output written on junk.pdf (1 page, 47408 bytes).

[-- Attachment #4: Type: text/plain, Size: 1 bytes --]



[-- Attachment #5: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  parent reply	other threads:[~2007-01-04  2:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-04  0:08 David Arnold
     [not found] ` <6faad9f00701031734x4bc9cacbn2e7f82ad32c1c62b@mail.gmail.com>
2007-01-04  1:37   ` David Arnold
     [not found]     ` <6faad9f00701031745r5c7c3a61o3db50cb65f8912b5@mail.gmail.com>
2007-01-04  1:46       ` David Arnold
     [not found]         ` <6faad9f00701031801i6d7535efp484dbf9cd13d1888@mail.gmail.com>
2007-01-04  2:10           ` David Arnold [this message]
2007-01-04  2:41             ` Mojca Miklavec
     [not found]               ` <37742018-4D97-46D7-B874-B49151AD0EEF@cox.net>
     [not found]                 ` <6faad9f00701031945i1de26b4el4a315d25c3949382@mail.gmail.com>
2007-01-04  3:52                   ` David Arnold
     [not found]                     ` <6faad9f00701032003i1afe1377p29e78a15b78a9f9a@mail.gmail.com>
     [not found]                       ` <19E60BD8-EE2D-4CE5-BE98-2F33894D1DAF@cox.net>
     [not found]                         ` <6faad9f00701032019o13b55d5dkc0e639b8211a283a@mail.gmail.com>
2007-01-04  5:26                           ` David Arnold
2007-01-04 10:36             ` Rolf Marvin Bøe Lindgren

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=818D2D28-6B9D-40E1-BD0B-40DE84B906ED@cox.net \
    --to=dwarnold45@cox.net \
    --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).