ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: context syntax error?
Date: Thu, 20 Jan 2000 16:58:36 +0100	[thread overview]
Message-ID: <3.0.6.32.20000120165836.007bb100@pop.wxs.nl> (raw)
In-Reply-To: <200001201523.QAA30831@PCI008A.nlr.nl>

Hi Michael, 

>A few days ago I installed the context release of 2000.01.11. Today I got 
>around to recompiling my Literate Programming Slides and, low and behold, I 
>stumbled upon this syntax error. After a bit more digging, I find I can 
>reproduce the error with any version newer than 1999.10.24.
>
>Here's the log. Any suggestions?

I ran into this bug this afternoon when running pdftex. (It's no bug when
you use pdfetex, since the etex alternative is safer.)

Add this to cont-new.tex: 

\unprotect 

\def\doifmeaningelse#1#2#3#4%
  {\edef\!!stringa{\meaning#1}%
   \def\!!stringb{#2}\edef\!!stringb{\meaning\!!stringb}%
   \ifx\!!stringa\!!stringb#3\else#4\fi}

\def\dobetweenthelines%
  {\doifmeaningelse{\next}{\obeyedline}{\@@rgtussen}{}}

\protect

(Taco may like the new \doifmeaningelse)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


           reply	other threads:[~2000-01-20 15:58 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200001201523.QAA30831@PCI008A.nlr.nl>]

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=3.0.6.32.20000120165836.007bb100@pop.wxs.nl \
    --to=pragma@wxs.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).