From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84832 Path: news.gmane.org!not-for-mail From: Prashanth Newsgroups: gmane.comp.tex.context Subject: Re: Simplefonts Date: Tue, 15 Oct 2013 14:18:43 +0200 Message-ID: <525D32A3.7000209@gmail.com> References: <3288E803-9426-41F1-AA62-144E5A21A085@gmail.com> <525C1E12.6050608@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072795960==" X-Trace: ger.gmane.org 1381839531 2342 80.91.229.3 (15 Oct 2013 12:18:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2013 12:18:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 15 14:18:56 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VW3aR-0000zH-Me for gctc-ntg-context-518@m.gmane.org; Tue, 15 Oct 2013 14:18:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 415BE101F7; Tue, 15 Oct 2013 14:16:12 +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 tEsMQtQBePEf; Tue, 15 Oct 2013 14:16:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D2C55101EB; Tue, 15 Oct 2013 14:16:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2805D101EB for ; Tue, 15 Oct 2013 14:16:09 +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 rsTzN+7zpl2A for ; Tue, 15 Oct 2013 14:16:04 +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 5C7BB10193 for ; Tue, 15 Oct 2013 14:16:04 +0200 (CEST) Original-Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9FCNAfq006420 for ; Tue, 15 Oct 2013 14:23:10 +0200 Original-Received: by mail-bk0-f53.google.com with SMTP id d7so3079527bkh.40 for ; Tue, 15 Oct 2013 05:18:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=OeJ72yrndCfhf24A7al7JrwumshkiffaDVu+hwUTr9s=; b=aRvTZF2qdqFi+UrHheMrjiOVsqyy0QWfqzYhJPiqJz+8fMkUZEUKK0k+tofUhSjg07 Ve81/28ZDNH67CdK6NuGRWc0MeGLMce33hZYz7dEtKFwNyXl/581BOX47I9LhBoDH5KQ 7J9mMMaLoesMeYhQwK12nbr4CA1Umeud6ldDCAn6s00KqvblL0mFqX2Vr4aUUaF7/z6i 1VfiZDaw4DK+UEnL73PUNiUxUAcvEM2dgHI0rH+bjiVNQsOkeE0z3HZjiYGYdKqiJ6kF hPYNDB/QJWu+D7RbODl2o+BvCXjw5Lu99ZiIXsWxnXDDXCzldEpZzwJnbpWXQ62YPaVN S4+w== X-Received: by 10.205.22.71 with SMTP id qv7mr35014301bkb.20.1381839525548; Tue, 15 Oct 2013 05:18:45 -0700 (PDT) Original-Received: from [192.168.2.100] (dslb-188-107-122-255.pools.arcor-ip.net. [188.107.122.255]) by mx.google.com with ESMTPSA id on10sm43424327bkb.13.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Oct 2013 05:18:44 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Thunderbird/25.0a2 In-Reply-To: X-Enigmail-Version: 1.5.2 X-Bayes-Prob: 0.0023 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KBonaCE - 10567ad39687 - 20131015 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:84832 Archived-At: This is a multi-part message in MIME format. --===============0072795960== Content-Type: multipart/alternative; boundary="------------000504080905090802070809" This is a multi-part message in MIME format. --------------000504080905090802070809 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 14/10/13 19:38, Wolfgang Schuster wrote: > I=E2=80=99m not bringing it back but you can achieve the same by defini= ng a > new typeface/family and refer to a certain alternative of this > typeface with the \classfont command. > \definefontfamily[keywords][ss][DejaVu Sans Mono] > \definefont[kword][\classfont{keywords}{Sans} at 13pt] > \definehighlight[keyword][style=3Dkword] \starttext Text font > \keyword{keyword font} \stoptext >> Bug: I prefer Euler font for math. This does not seem to work with the= latest fonts interface. > > The name of the font is =E2=80=9CNeo Euler=E2=80=9D: > > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \definefontfamily[mainface][mm][Neo Euler] > > \setupbodyfont[mainface] > > \starttext > Text font $math font$ > \stoptext > > You can also use the predefined typescript which has the name =E2=80=9C= eulernova=E2=80=9D: > > \definefontfamily[mainface][rm][TeX Gyre Pagella] > \definefontfamily[mainface][mm][eulernova] > > \setupbodyfont[mainface] > > \starttext > Text font $math font$ > \stoptext > > Wolfgang Thanks, Wolfgang. Both solutions work well for me. --------------000504080905090802070809 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 14/10/13 19:38, Wolfgang Schuster wrote:
I=E2=80=99m not bringing it back but you can achieve the same by de= fining a new typeface/family and refer to a certain alternative of this typeface with the \classfont command. \definefontfamily[keywords][ss][DejaVu Sans Mono] \definefont[kword][\classfont{keywords}{Sans} at 13pt] \definehighlight[keyword][style=3Dkword] \starttext Text font \keyword{keyword font} \stoptext
Bug: I prefer Euler font for math. This does not s=
eem to work with the latest fonts interface.

The name of the font is =E2=80=9CNeo Euler=E2=80=9D:

\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][Neo Euler]

\setupbodyfont[mainface]

\starttext
Text font $math font$
\stoptext

You can also use the predefined typescript which has the name =E2=80=9Ceu=
lernova=E2=80=9D:

\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][mm][eulernova]

\setupbodyfont[mainface]

\starttext
Text font $math font$
\stoptext

Wolfgang

Thanks, Wolfgang. Both solutions work well for me.
--------------000504080905090802070809-- --===============0072795960== 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 ___________________________________________________________________________________ --===============0072795960==--