ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@coe.uga.edu>
Cc: "Hans Hagen" <pragma@wxs.nl>,
	"ConTeXT Mailing List" <ntg-context@ntg.nl>
Subject: Re: \pounds problem
Date: 02 Jun 2000 09:39:45 -0400	[thread overview]
Message-ID: <m3r9agryla.fsf@coe.uga.edu> (raw)
In-Reply-To: "Christopher G D Tipper"'s message of "Fri, 2 Jun 2000 16:00:50 +0300"

"Christopher G D Tipper" <ctipper@hol.gr> writes:

...
> \def\pounds{\char191}
...
> ! Bad character code (19120).  l.163 ...Raphael has called it the
> \pounds 20
>                                           problem. Given \pounds 20,
> he ?  ! Emergency stop.
> 
> Obviously it is appending the 20 in £20 to the character code. Is
> there a TeX trick for forcing it out of \char mode?

Yes, in plain tex you would change this ...

    \def\pounds{\char191}

... to this ...

    \def\pounds{\char191\relax }

The space is probably not necessary there.  There's probably a more
elegant context-y way to handle characters that would integrate more
with context's high-level features.

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


  reply	other threads:[~2000-06-02 13:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-31 18:12 Christopher G D Tipper
2000-05-31 19:10 ` Ed L Cashin
2000-05-31 20:50   ` Christopher G D Tipper
2000-06-01 12:54     ` Ed L Cashin
2000-06-01 22:45     ` Hans Hagen
2000-06-02 13:00       ` Christopher G D Tipper
2000-06-02 13:39         ` Ed L Cashin [this message]
2000-06-02 13:55         ` Karsten Tinnefeld
2000-06-02 13:19 Christopher G D Tipper
2000-06-02 20:25 Christopher G D Tipper

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=m3r9agryla.fsf@coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    --cc=ntg-context@ntg.nl \
    --cc=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).