From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7105 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: A fresh approach to learning Context. Date: Sun, 03 Mar 2002 22:27:43 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020303221733.02b81c28@server-1> References: <5.1.0.14.1.20020302140029.02c21580@server-1> <5.1.0.14.1.20020302140029.02c21580@server-1> 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 1035397594 16512 80.91.224.250 (23 Oct 2002 18:26:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:26:34 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: john@wexfordpress.com In-Reply-To: <02030313445801.13938@publish> Xref: main.gmane.org gmane.comp.tex.context:7105 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7105 At 01:44 PM 3/3/2002 -0500, you wrote: > > >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}% > > > > >> 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 >Following this advice I found a strange piece of code in >eplain that causes the problem. Then I went to xeplain (eplain >annotated) and found an explanation of the code. > >Here is the xeplain.tex code and explanation: >\def^^L{\par}% in context, ^^L has catcode 'endofline', so this should be: \catcode`\^^L=\active \def^^L{\par} btw, be aware that when you load eplain after context, much features of context will break as i suppose that eplain has its own otr and subsystems. (loading eplain first and context afterwards would be saver) if you want some eplain functionality, you'd better copy the 'useful' code to a file and load that one 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 -------------------------------------------------------------------------