From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7101 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: A fresh approach to learning Context. Date: Sat, 02 Mar 2002 14:01:47 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020302140029.02c21580@server-1> References: <0203011820590C.03740@publish> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397590 16478 80.91.224.250 (23 Oct 2002 18:26:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:26:30 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: john@wexfordpress.com In-Reply-To: <0203011820590C.03740@publish> Xref: main.gmane.org gmane.comp.tex.context:7101 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7101 At 06:20 PM 3/1/2002 -0500, you wrote: >Context is built on pdftex and pdftex should be in most >instances a superset of plain TeX. So a plain TeX file should >compile on both pdftex and Context. This represents a radically >different way to approach Context. Start with something already >known to be workable and go from there. This is my new approach >to learning Context and I will ride this horse till it gets tired. > >Following this idea I compiled an existing file with pdftex and then >with Context. With minor tweaks things worked. I did get one >strange and apparently non-germane error message. I use >eplain.tex extensively. One line in eplain that works with plain and >works >with pdftex causes an error message in Context thus: > >! Use of \def doesn't match its definition. >l.79 \def\hpenalty > {\ifvmode\leavevmode\fi \penalty}% > >This has nothing to do with my code. Something in eplain >doesn't work in Context. Everything else seems fine. > >Can anyone suggest an explanation of the above error message? it seems that somehow the primitiev \def has been defined, add the line \show\def before line 79 and see what happened, move this line up till the primitive def shows up. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-pod.nl -------------------------------------------------------------------------