From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48657 Path: news.gmane.org!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: math problems in last beta (cont-en and cont-xp) Date: Mon, 23 Mar 2009 10:51:18 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1826410524==" X-Trace: ger.gmane.org 1237801940 32479 80.91.229.12 (23 Mar 2009 09:52:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2009 09:52:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 23 10:53:37 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Llgqc-0001TR-As for gctc-ntg-context-518@m.gmane.org; Mon, 23 Mar 2009 10:53:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F29B1FE07; Mon, 23 Mar 2009 10:52:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19105-06; Mon, 23 Mar 2009 10:51:29 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CC311FDFD; Mon, 23 Mar 2009 10:51:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 707B21FDFD for ; Mon, 23 Mar 2009 10:51:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07350-09 for ; Mon, 23 Mar 2009 10:51:19 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id CD6841FDF4 for ; Mon, 23 Mar 2009 10:51:19 +0100 (CET) Original-Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2N9pI0N013070 for ; Mon, 23 Mar 2009 10:51:19 +0100 Original-Received: by bwz26 with SMTP id 26so1759964bwz.2 for ; Mon, 23 Mar 2009 02:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Ob3LI/Foe/hHI7K47CWtTxvICRTQ/f16PlhDhU2UrGw=; b=fnhpQAEMbvlqcb2ANm2nA4K1yvqPm8Hbq1jdEcZqwzcBWYpEdlfoN5Rt7KPK1GcI9t wEuLAKRGwbbyunuymWj8k//cwb2bmK+vz1TOtx+WVdEw9Ly2VV4P60gO+DCYwi+pOL/N 0RkjJPqYxPDzggh/e8sPyxtoBR4wdJzj4sBz0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=W3CoFmd9u6oayU0J3GXE/Oi5/Eso0VJOkyFsbEwjkJ+mgrrMEud5WcZ8FhLLvHq3h1 Ikv/WOIayLjmfobNIvrnhxU6xiY9hXvJECIAIuYYsd6QW94EwaEr8p4IKxu6l8b3L5dD liHsAachr6NliasOxaXsFQPUW1BLxZV0IIQLI= Original-Received: by 10.204.55.140 with SMTP id u12mr2448226bkg.127.1237801878666; Mon, 23 Mar 2009 02:51:18 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.178; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 197443813 - e6ef337c440b X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48657 Archived-At: --===============1826410524== Content-Type: multipart/alternative; boundary=001636c924d947bfd90465c63585 --001636c924d947bfd90465c63585 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hans, hi Taco, hi all, testing math with the latest ConTeXt beta i found some problems. My test file is: \usetypescriptfile[type-buy] \def\currentfontname {\ctxlua{tex.print(font.getfont(font.current()).fullname)}} \starttext \startbuffer[mathbuffer] \currentfontname $a^2 + b^2 =3D c^2$ $E =3D mc^2 \bigotimes \sum$ $=CE=B1^2 + =CE=B2^2 =3D =CE=B3^2$ \blank[big] \stopbuffer \getbuffer[mathbuffer] \usetypescript[lucida][texnansi] \setupbodyfont[lucida] \getbuffer[mathbuffer] \usetypescript[cambria] \switchtotypeface[cambria] \getbuffer[mathbuffer] \usetypescript[palatino] \switchtotypeface[palatino] \getbuffer[mathbuffer] \stoptext Latin Modern and Palatino/px work very fine. Lucida lacks greek and some operators. I found no embedded LucidaNewMath fonts in the resulting pdf. Cambria has a very ugly spacing. btw. in the wiki is described a ConTeXt command \showmathcharacters. This seems not to work anymore. The related file math-run.tex is not input at the time of format generation. Greetings Lutz P.S. will the key [texnansi] (or [ec]) remain necessary to switch to LucidaBright? --001636c924d947bfd90465c63585 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hans, hi Taco, hi all,

testing math with the latest ConTeXt beta = i found some problems.
My test file is:

\usetypescriptfile[type-b= uy]
\def\currentfontname
{\ctxlua{tex.print(font.getfont(font.current= ()).fullname)}}
\starttext
\startbuffer[mathbuffer]
\currentfontname

$a^2 + b^= 2 =3D c^2$

$E =3D mc^2 \bigotimes \sum$

$=CE=B1^2 + =CE=B2^2 = =3D =CE=B3^2$
\blank[big]
\stopbuffer
\getbuffer[mathbuffer]
\u= setypescript[lucida][texnansi]
\setupbodyfont[lucida]
\getbuffer[mathbuffer]
\usetypescript[cambria]=
\switchtotypeface[cambria]
\getbuffer[mathbuffer]
\usetypescript[= palatino]
\switchtotypeface[palatino]
\getbuffer[mathbuffer]
\stop= text

Latin Modern and Palatino/px work very fine.

Lucida lacks greek = and some operators. I found no embedded LucidaNewMath fonts
in the resul= ting pdf.

Cambria has a very ugly spacing.

btw. in the wiki i= s described a ConTeXt command \showmathcharacters.
This seems not to work anymore. The related file math-run.tex is not
inp= ut at the time of format generation.

Greetings Lutz

P.S. will= the key [texnansi] (or [ec]) remain necessary to switch to LucidaBright?= =20 --001636c924d947bfd90465c63585-- --===============1826410524== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1826410524==--