ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Karsten Tinnefeld <tinne@noether.cs.uni-dortmund.de>
Subject: Re: \pounds problem
Date: Fri, 02 Jun 2000 15:55:14 +0200	[thread overview]
Message-ID: <200006021355.PAA15326@peano.cs.uni-dortmund.de> (raw)
In-Reply-To: Your message of "Fri, 02 Jun 2000 16:00:50 +0300." <000901bfcc92$a8982ce0$e60761c3@chris>

> \def\pounds{\char191}

> ! Bad character code (19120).

> Obviously it is appending the 20 in £20 to the character code. Is there a
> TeX trick for forcing it out of \char mode?

It is in number parsing mode. You can add a space after a number. This 
space is "part of" the number representation and absorbed when parsing 
"in TeX's mouth". See TeXbook, pages 43f.

\def \pounds {\char 191 }

Karsten
-- 
Karsten Tinnefeld                       tinnefeld@ls2.cs.uni-dortmund.de
Fachbereich Informatik, Lehrstuhl 2                   T +49 231 755-4737
Universität Dortmund, D-44221 Dortmund, Deutschland   F +49 231 755-2047


  parent reply	other threads:[~2000-06-02 13:55 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
2000-06-02 13:55         ` Karsten Tinnefeld [this message]
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=200006021355.PAA15326@peano.cs.uni-dortmund.de \
    --to=tinne@noether.cs.uni-dortmund.de \
    /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).