ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Yue Wang <yuleopen@gmail.com>
To: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Hans Hagen <pragma@wxs.nl>
Subject: Re: Percent in mkii mathmode is rendering wrongly using lucida.
Date: Mon, 31 Dec 2012 22:49:27 -0600	[thread overview]
Message-ID: <CA+C1juYROt5qUHTtSrfYwnY=TMhiSRQwcXKTz9Q8t0ou6HqF=A@mail.gmail.com> (raw)
In-Reply-To: <CALBOmsYm_ALvbbAGVT=-uU5Je3_OXZCoswOWu44XTLSBZciX1A@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1859 bytes --]

When will the team push the fixed code to the mainstream? I think users
need both \delta and percent.


On Thu, Dec 27, 2012 at 7:18 PM, Mojca Miklavec <
mojca.miklavec.lists@gmail.com> wrote:

> On Fri, Dec 28, 2012 at 1:21 AM, Yue Wang wrote:
> > Hi Hans,
> >
> > can you fix the problem? thanks a lot.
> >
> > test document:
> > %mkii
> > \usetypescript[lucida][texnansi]
> > \setupbodyfont[lucida,12pt]
> > \starttext
> > 5\%  $5\%$
> > \stoptext
>
> Citing myself:
>
> On Sat, Feb 20, 2010 at 6:22 AM, Mojca Miklavec wrote:
> > On Tue, Dec 1, 2009 at 10:16, Hans Hagen wrote:
> >> Yue Wang wrote:
> >>
> >>> I am writing my journal article using Lucida. The following code didn't
> >>> work:
> >>>
> >>> \usetypescriptfile[type-buy]
> >>> \usetypescript[lucida][texnansi]
> >>> \setupbodyfont[lucida,12pt]
> >>> \starttext $\Delta$\stoptext
> >
> > If I change
> >         \definefontsynonym [MathRoman]     [LucidaBright]
> > into
> >     \definefontsynonym [MathRoman]     [LucidaNewMath-Roman] %
> LucidaBright
> >
> > it starts working, but probably break other things (would need a bit
> > more extensive tests).
> >
> > Mojca
>
> and it seems that *exactly that* change breaks it.
>
> To start with, it's not only percentage sign. There are more. You
> could start with constructions like
>     \definemathsymbol [percent]  [nothing] [tf] [37]
> in math-lbr.mkii. That works, but I'm not yet sure how to redefine the
> character itself since the following doesn't work:
>     \definemathcharacter [37]  [nothing] [tf] [37]
>
> One needs to test
>
> \usetypescript[lucida][ec]
> \usetypescript[modern][ec]
> \showfont[hlcrm]
> \showfont[rm-lmr12]
>
> and "redefine"/reassign all characters that are different than in LM.
> An alternative is to change the font back to LucidaBright and redefine
> all characters that are different there.
>
> Mojca
>

[-- Attachment #1.2: Type: text/html, Size: 2657 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2013-01-01  4:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28  0:21 Yue Wang
2012-12-28  1:18 ` Mojca Miklavec
2013-01-01  4:49   ` Yue Wang [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='CA+C1juYROt5qUHTtSrfYwnY=TMhiSRQwcXKTz9Q8t0ou6HqF=A@mail.gmail.com' \
    --to=yuleopen@gmail.com \
    --cc=mojca.miklavec.lists@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).