* Formulas in ConTeXt are different from those in plain TeX
@ 2013-05-10 23:57 Tim Li
2013-05-11 10:09 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Tim Li @ 2013-05-10 23:57 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1884 bytes --]
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 0JTHTZJ+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? Tim
[-- Attachment #1.2: Type: text/html, Size: 5843 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Formulas in ConTeXt are different from those in plain TeX
2013-05-10 23:57 Formulas in ConTeXt are different from those in plain TeX Tim Li
@ 2013-05-11 10:09 ` Hans Hagen
[not found] ` <BLU152-W5325FFC0BC2534802D35D8A9A60@phx.gbl>
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-05-11 10:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-11 11:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-10 23:57 Formulas in ConTeXt are different from those in plain TeX Tim Li
2013-05-11 10:09 ` Hans Hagen
[not found] ` <BLU152-W5325FFC0BC2534802D35D8A9A60@phx.gbl>
2013-05-11 11:13 ` Hans Hagen
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).