ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Formulas in ConTeXt are different from those in plain TeX
Date: Sat, 11 May 2013 12:09:03 +0200	[thread overview]
Message-ID: <518E18BF.5050104@wxs.nl> (raw)
In-Reply-To: <BLU152-W17CFAB883388165E669823A9A50@phx.gbl>

On 5/11/2013 1:57 AM, Tim Li wrote:
> Hi,
>
> I have asked this question on tex.stackexchange.com
>
> http://tex.stackexchange.com/questions/113592/formulas-in-context-are-different-from-those-in-plain-tex/113609?noredirect=1#comment250549_113609
>
>
>
> as the title said, formulas typeset by ConTeXt are different from those
> by plain TeX.
> The minimal examples are here:
>
> % plain luatex in ConTeXt standalone
>
> $$\int_a^bf(x)dx=F(b)-F(a)$$
> \bye
>
> % context
>
> \starttext
> \startformula
> \int\nolimits_a^bf(x)dx=F(b)-F(a)
> \stopformula
> \stoptext
>
> Marco said to me that that's because the fonts used by LuaTeX and
> ConTeXt are different. This can be seen from the pdf produced by them
>
> pdffonts context.pdf
> name                                 type              emb sub uni object ID
> ------------------------------------ ----------------- --- --- --- ---------
> OLAZTU+LMRoman12-Regular             CID Type 0C       yes yes yes     18  0
> RXHAAY+LatinModernMath-Regular       CID Type 0C       yes yes yes     19  0
> JTHTZJ+LatinModernMath-Regular       CID Type 0C       yes yes yes     20  0
>
> pdffonts plain.pdf
> name                                 type              emb sub uni object ID
> ------------------------------------ ----------------- --- --- --- ---------
> APMHZE+LMMathExtension10-Regular     Type 1            yes yes no       4  0
> AWBTPY+LMMathItalic7-Regular         Type 1            yes yes no       5  0
> ITITNI+LMMathItalic10-Regular        Type 1            yes yes no       6  0
> DMNVHT+LMRoman10-Regular             Type 1            yes yes no       7  0
> MGKPYK+LMMathSymbols10-Regular       Type 1            yes yes no       8  0
>
> even if using the `modern-designsize-virtual` typescript(advice from
> Marco), I still get the different outputs.
>
> Now, I get confused about this qustion. If ConTeXt uses LuaTeX as its
> engine, how can I tune ConTeXt so that it can produce the same formulas
> with those in plain TeX?

you could define your own 'plain like' math setup using type one fonts 
and families and all symbol names redefined or use the virtual lm instead


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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-05-11 10:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 23:57 Tim Li
2013-05-11 10:09 ` Hans Hagen [this message]
     [not found]   ` <BLU152-W5325FFC0BC2534802D35D8A9A60@phx.gbl>
2013-05-11 11:13     ` 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=518E18BF.5050104@wxs.nl \
    --to=pragma@wxs.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).