From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73216 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts: math in headers Date: Thu, 15 Dec 2011 21:15:30 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/mixed; boundary="===============0153856702==" X-Trace: dough.gmane.org 1323980159 21321 80.91.229.12 (15 Dec 2011 20:15:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2011 20:15:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 15 21:15:55 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 1RbHic-0001Oy-4c for gctc-ntg-context-518@m.gmane.org; Thu, 15 Dec 2011 21:15:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F50FCB178; Thu, 15 Dec 2011 21:15:53 +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 x-wYMP0z3dsE; Thu, 15 Dec 2011 21:15:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4215FCB173; Thu, 15 Dec 2011 21:15:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90A91CB173 for ; Thu, 15 Dec 2011 21:15:48 +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 OqNJyh+qQbCE for ; Thu, 15 Dec 2011 21:15:37 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 6A1AFCB170 for ; Thu, 15 Dec 2011 21:15:37 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBFKFaQA032678 for ; Thu, 15 Dec 2011 21:15:36 +0100 Original-Received: by eekc41 with SMTP id c41so2934875eek.14 for ; Thu, 15 Dec 2011 12:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=CCVUuinESIlkMDQhjAIEz45Nls/eLXtAD9XzPEWI5Po=; b=tBTXd63TztEkoL/ngzyeC4+Wb3u+Yc1hw6e5rvx9p+Q/KyHfx7TSOnMDkLTqvefPQI qYtzSqJ/q5NoZ/gsWJEYQurIbydvhovd4GZA7TCC25RqIkFcFxOw68eUbZb7KTsv3V19 2aj83e+g0qfWijoz47K8feBA2Au43msu7+Ug8= Original-Received: by 10.213.25.146 with SMTP id z18mr2008055ebb.65.1323980136129; Thu, 15 Dec 2011 12:15:36 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB33E.dip.t-dialin.net. [87.175.179.62]) by mx.google.com with ESMTPS id 76sm28228146eeh.0.2011.12.15.12.15.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Dec 2011 12:15:35 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 0rG9wfAuM - 513245a53cbc - 20111215 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73216 Archived-At: --===============0153856702== Content-Type: multipart/alternative; boundary="Apple-Mail=_86AFF21F-7BFC-49C8-B622-C48F58A8FA01" --Apple-Mail=_86AFF21F-7BFC-49C8-B622-C48F58A8FA01 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 15.12.2011 um 14:36 schrieb Philipp A.: > Bump: >=20 > 2011/12/9 Philipp A. > hi, i have the following setup: >=20 > \usemodule[simplefonts] > \setmainfont[Cambria] > \setsansfont[Ubuntu] > \setmonofont[Envy Code R][regularfont=3Denvycoder] > \setmathfont[Cambria] >=20 > \setuphead[section][style=3D{\ss\bfb}] >=20 > \starttext > \section{Wat? $y=3Dx^2$} > \stoptext >=20 > why is the math in the header typeset in computer modern instead of = ubuntu and how do i fix it? >=20 > PS: preferrably it should be bold, too. there is a wiki page, =93Bold = Math in Section Titles=94 but it doesn=92t explain how to do it with = simplefonts. There is no way for me to fix this because it=92s a context bug. You = can see the effect with the following example, when you load LM before = Pagella the heading use LM Math but when you load Pagella before LM = Palatino math is used for the heading. \setupbodyfont[modern] \setupbodyfont[pagella] \setuphead[section][style=3D{\ss\bfb}] \starttext \section{Wat? $y=3Dx^2$} $y=3Dx^2$ \stoptext Wolfgang= --Apple-Mail=_86AFF21F-7BFC-49C8-B622-C48F58A8FA01 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Bump:

2011/12/9 Philipp = A. <flying-sheep@web.de>
=
hi, i have the following setup:

\usemodule[simplefonts]
\setmainfont[Cambria= ]
\setsansfont[Ubuntu]
\setmonofont[Envy Code = R][regularfont=3Denvycoder]
\setmathfont[Cambria]
=
\setuphead[section][style=3D{\ss\bfb}]

\starttext
\section{W= at? $y=3Dx^2$}
\stoptext

why is the math in the header = typeset in computer modern instead of ubuntu and how do i fix = it?

PS: preferrably it should be bold, too. there is a wiki page, = =93Bold Math in Section Titles=94 but it doesn=92t = explain how to do it with simplefonts.

There is no way for me to = fix this because it=92s a context bug.  You can see the effect with = the following example, when you load LM before Pagella the heading use = LM Math but when you load Pagella before LM Palatino math is used for = the = heading.

\setupbodyfont[modern]
\s= etupbodyfont[pagella]

\setuphead[section][style=3D= {\ss\bfb}]

\starttext
\section{Wat? = $y=3Dx^2$} = $y=3Dx^2$
\stoptext

Wolfgang= --Apple-Mail=_86AFF21F-7BFC-49C8-B622-C48F58A8FA01-- --===============0153856702== 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 ___________________________________________________________________________________ --===============0153856702==--