From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Wrong °C symbol with \unit and dejavu font
Date: Thu, 16 May 2013 23:27:49 +0200 [thread overview]
Message-ID: <A850E8F2-416C-4F2C-A7ED-2A2B7EE5E3EA@gmail.com> (raw)
In-Reply-To: <201305162226.11735.romain.diss@yahoo.fr>
Am 16.05.2013 um 22:26 schrieb Romain Diss <romain.diss@yahoo.fr>:
> Hi all,
>
> With this minimal example:
> %%% start
> \setupbodyfont[dejavu]
> \starttext
> Temperature : \unit{100 celsius}.
> \stoptext
> %%% end
>
> I get the °F symbol instead of °C. With lmodern or pagella (I did not try
> other fonts) the right symbol (°C) is printed.
>
> Any idea of what goes wrong?
It’s a typo in phys-dim.mkiv.
\unexpanded\def\checkedtextcelsius
{\iffontchar\font"2103\relax\iffontchar\font"2109\relax
- ℉\else\phys_units_text_celsius\fi\else\phys_units_text_celsius
+ ℃\else\phys_units_text_celsius\fi\else\phys_units_text_celsius
\fi}
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2013-05-16 21:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 20:26 [***SPAM***] " Romain Diss
2013-05-16 21:27 ` Wolfgang Schuster [this message]
2013-05-16 21:56 ` Hans Hagen
2013-05-16 22:39 ` Peter Rolf
2013-05-16 23:00 ` Hans Hagen
2013-05-16 23:07 ` luigi scarso
2013-05-17 7:53 ` Hans Hagen
2013-05-17 9:18 ` Alan BRASLAU
2013-05-17 9:25 ` luigi scarso
2013-05-17 9:47 ` Hans Hagen
2013-05-17 11:20 ` 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=A850E8F2-416C-4F2C-A7ED-2A2B7EE5E3EA@gmail.com \
--to=schuster.wolfgang@gmail.com \
--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).