ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: texteuro
Date: Thu, 1 Dec 2005 14:08:12 +0100	[thread overview]
Message-ID: <FFA5E49D-567A-4B07-B39E-F8B7EB872FF5@science.uva.nl> (raw)
In-Reply-To: <438C3D32.4060108@wxs.nl>



On Nov 29, 2005, at 12:36, Hans Hagen wrote:

>> I could not redefine the \texteuro. In \showcharacters it stays  
>> empty.
>> Doing \definecharacter texteuro to_some_value in a typescript  
>> does  not work (giving: Runaway argument?)
>>
>
> has to do with \definecharacter being space delimited and  
> typescripts being space ignorant
>
> you define characters in an encoding vector, so
> \startencoding[whatever]
>   \definecharacter ....
> \stopencoding
> which you can do anyplace

I now put "\startencoding[texnansi]\definecharacter texteuro {\symbol 
[europe][EUR]}\stopencoding" in the Tex document sourcetext for a  
font having texnansi encoding but no euro symbol; that works.

However, it seems a bit awkward to have to remember to do this for  
each document -- and remember to delete/change it when another font  
is chosen for the document.
As you explained, in contrast to for example "\def\euro{\symbol 
[europe][EUR]}" this definition does not work inside a typescript.
Is the only generic solution perhaps to be found in special encoding  
files coupled to specific fonts? I.e. having a separate texnansi  
coding for fonts with and without euro symbol?

yours sincerely,
dr. H. van der Meer

      reply	other threads:[~2005-12-01 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28 16:22 texteuro Hans van der Meer
2005-11-29 11:36 ` texteuro Hans Hagen
2005-12-01 13:08   ` Hans van der Meer [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=FFA5E49D-567A-4B07-B39E-F8B7EB872FF5@science.uva.nl \
    --to=hansm@science.uva.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).