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: Sat, 02 Mar 2002 14:01:47 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020302140029.02c21580@server-1> (raw)
In-Reply-To: <0203011820590C.03740@publish>

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


  reply	other threads:[~2002-03-02 13:01 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 [this message]
2002-03-03 18:44   ` John Culleton
2002-03-03 21:27     ` 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=5.1.0.14.1.20020302140029.02c21580@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).