ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: A fresh approach to learning Context.
Date: Sun, 03 Mar 2002 22:27:43 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020303221733.02b81c28@server-1> (raw)
In-Reply-To: <02030313445801.13938@publish>

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


      reply	other threads:[~2002-03-03 21:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01 23:20 John Culleton
2002-03-02 13:01 ` Hans Hagen
2002-03-03 18:44   ` John Culleton
2002-03-03 21:27     ` Hans Hagen [this message]

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=5.1.0.14.1.20020303221733.02b81c28@server-1 \
    --to=pragma@wxs.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).