From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73229 Path: news.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts: math in headers Date: Fri, 16 Dec 2011 11:41:49 +0100 Message-ID: References: <310B3F20-77E6-42A4-8515-A8F7DEA29371@googlemail.com> <4EEB197B.9000300@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0253633441==" X-Trace: dough.gmane.org 1324032145 11398 80.91.229.12 (16 Dec 2011 10:42:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 10:42:25 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 16 11:42:19 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbVF3-0007cJ-2P for gctc-ntg-context-518@m.gmane.org; Fri, 16 Dec 2011 11:42:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6505FCB17F; Fri, 16 Dec 2011 11:42:16 +0100 (CET) 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 ob7r8QgBzb3b; Fri, 16 Dec 2011 11:42:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39F3ECB176; Fri, 16 Dec 2011 11:42:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B23D6CB176 for ; Fri, 16 Dec 2011 11:42:11 +0100 (CET) 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 jMUB9zyIx+FZ for ; Fri, 16 Dec 2011 11:41:52 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 39908CB174 for ; Fri, 16 Dec 2011 11:41:52 +0100 (CET) Original-Received: from mail-pw0-f41.google.com (mail-pw0-f41.google.com [209.85.160.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBGAfofK020900 for ; Fri, 16 Dec 2011 11:41:51 +0100 Original-Received: by pbdd2 with SMTP id d2so915888pbd.14 for ; Fri, 16 Dec 2011 02:41:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=zXedjsDezRlT9yz3ib9FHJdBb4s0j302msbiR6vcKl0=; b=Ib9GejUEh84jVx2ZpEtX9unChNkjwAsykMtTIR/eljAfPwKPHNv9hNJ1+gU3/0q/HG jsF1fzvEZqE9ZccT+OVEodPokIjEayIXufL8Uvza0HsVVSAaaR7T+OSWalTj1Op4/Aqy ZYvXKy9VaTYEmQB2DFslnmHmDN1DqdwNwVL9Y= Original-Received: by 10.68.74.227 with SMTP id x3mr15207989pbv.114.1324032109699; Fri, 16 Dec 2011 02:41:49 -0800 (PST) Original-Received: by 10.142.165.5 with HTTP; Fri, 16 Dec 2011 02:41:49 -0800 (PST) In-Reply-To: <4EEB197B.9000300@wxs.nl> X-Google-Sender-Auth: iZK3d9HxI28uJm6kfCw6JChWXM0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.41; 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: 0eG9KFOiV - 7acb1df5fb36 - 20111216 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73229 Archived-At: --===============0253633441== Content-Type: multipart/alternative; boundary=f46d040f9c2a91e32204b4333f1d --f46d040f9c2a91e32204b4333f1d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thanks for the effort. i can=E2=80=99t say i understand anything about font= s if i judge from what the results of above suggestions look like: \usemodule[simplefonts] \definesimplefonttypeface[mainface][Cambria] \definesimplefonttypeface[mainface][Ubuntu] [style=3Dsans] \definesimplefonttypeface[mainface][cambria][style=3Dmath] \setupbodyfont[mainface] Well: header math is in unbold cambria, body text in courier or something like this, and the math font features are not used (tiny parentheses around matrices, fraction denominators and numerators are shrunk instead of using small glyphs) \setfalse\completeboldmathstrategy \usemodule[simplefonts] \setmainfont[Cambria] \setmathfont[Cambria] \setsansfont[Ubuntu] too slim parentheses, but this is to be expected :D \definetypeface[mainface][rm][specserif][Cambria] \definetypeface[mainface][ss][specsans] [Ubuntu] \definetypeface[mainface][mm][math] [cambria] \setupbodyfont[mainface] exactly the same as above. slim parentheses in header math, rest working. cambria in the last line only works when lowercase, but is case-insensitive in the rm and ss lines. does this solution disable the completeboldmathstrategy automatically? thanks for the fixes, philipp --f46d040f9c2a91e32204b4333f1d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thanks for the effort. i can=E2=80=99t say i understand anything about font= s if i judge from what the results of above suggestions look like:

<= div>
=C2=A0=C2=A0=C2=A0 \usemodule[simplefonts]
=C2=A0=C2=A0= =C2=A0
=C2=A0=C2=A0=C2=A0 \definesimplefonttypeface[mainface][Ca= mbria]
=C2=A0=C2=A0=C2=A0 \definesimplefonttypeface[mainface][Ubuntu] [style= =3Dsans]
=C2=A0=C2=A0=C2=A0 \definesimplefonttypeface[mainface][c= ambria][style=3Dmath]
=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0= =C2=A0 \setupbodyfont[mainface]

Well: header math is in unbold cambr= ia, body text in courier or something like this, and the math font features= are not used (tiny parentheses around matrices, fraction denominators and = numerators are shrunk instead of using small glyphs)

=C2=A0=C2=A0=C2=A0 \setfalse\completeboldmathstrategy
=C2=A0=C2=A0=C2=A0=
=C2=A0 =C2=A0 \usemodule[simplefonts]
=C2=A0 =C2=A0 \setmainfont[Ca= mbria]
=C2=A0 =C2=A0 \setmathfont[Cambria]
=C2=A0 =C2=A0 \setsansfont= [Ubuntu]

too slim parentheses, but this is to be expected :D

=C2=A0=C2=A0=C2=A0 \definetypeface[mainface][rm][specserif][Cambri= a]
=C2=A0=C2=A0=C2=A0 \definetypeface[mainface][ss][specsans] [Ub= untu]
=C2=A0=C2=A0=C2=A0 \definetypeface[mainface][mm][math] =C2= =A0 =C2=A0 [cambria]
=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 \setupbodyfont[mainfa= ce]

exactly the same as above. slim parentheses in header math, re= st working. cambria in the last line only works when lowercase, but is case= -insensitive in the rm and ss lines. does this solution disable the complet= eboldmathstrategy automatically?

thanks for the fixes,
philipp
--f46d040f9c2a91e32204b4333f1d-- --===============0253633441== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0253633441==--