From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82445 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Formulas in ConTeXt are different from those in plain TeX Date: Sat, 11 May 2013 12:09:03 +0200 Message-ID: <518E18BF.5050104@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368267021 13198 80.91.229.3 (11 May 2013 10:10:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 May 2013 10:10:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 11 12:10:22 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ub6ku-0002Hj-K3 for gctc-ntg-context-518@m.gmane.org; Sat, 11 May 2013 12:10:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D3D7101E0; Sat, 11 May 2013 12:10:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id n+2Z8y2Fq40I; Sat, 11 May 2013 12:10:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C99C5101EC; Sat, 11 May 2013 12:10:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE140101EC for ; Sat, 11 May 2013 12:10:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id P8bTbNTbI1fi for ; Sat, 11 May 2013 12:10:14 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 7D1D5101E0 for ; Sat, 11 May 2013 12:10:04 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4BAXegp030655 for ; Sat, 11 May 2013 12:33:40 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 3113-1713362 for multiple; Sat, 11 May 2013 12:10:01 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JyyxEfP - 0b39ed6a9c11 - 20130511 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82445 Archived-At: 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 ___________________________________________________________________________________