From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86121 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Ubuntu Light font Date: Wed, 29 Jan 2014 13:31:24 +0100 Message-ID: References: <02B86748-0A8B-46A2-96DD-55C732517DB7@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390998691 14328 80.91.229.3 (29 Jan 2014 12:31:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2014 12:31:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 29 13:31:40 2014 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 1W8UIs-0002Si-Dp for gctc-ntg-context-518@m.gmane.org; Wed, 29 Jan 2014 13:31:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9545F101F0; Wed, 29 Jan 2014 13:31:37 +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 WArUZr6Ef-Qb; Wed, 29 Jan 2014 13:31:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 499C4101E6; Wed, 29 Jan 2014 13:31:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 383B3101E6 for ; Wed, 29 Jan 2014 13:31:31 +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 nNoiuWt-jzuC for ; Wed, 29 Jan 2014 13:31:29 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 7CD6E101E1 for ; Wed, 29 Jan 2014 13:31:29 +0100 (CET) Original-Received: from mail-ee0-x22c.google.com (mail-ee0-x22c.google.com [IPv6:2a00:1450:4013:c00::22c]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0TCVQoZ021695 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 29 Jan 2014 13:31:27 +0100 Original-Received: by mail-ee0-f44.google.com with SMTP id c13so860534eek.31 for ; Wed, 29 Jan 2014 04:31:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=8BysYwS4PGzb7Zk9ghhRT0+F8doLoVsN1q8Dooxe8oA=; b=wx8kMsL31DlNBkpBblkjZx4XBp6LuUy21RQcyv+QD/gIks/LnyvPLLgQ2XSX8OWIVx 46rWd5A3+//3hgawdoOcrtSyT14vjr4WJF4PavFjXemdYyzVSn/59RHz2mDapX5gvMHA 5BpSDAZz5X0LoS8G1UBFx5odjGYz+Pg2N2O+g1cu1yKiATuaiM618mVW4+JHf8Rg6teF U60p/X8ludQN9ximp708gZWT4Lvk3EZuxSaAml4KUzk4WH6obGx80h2ZJ8TYElRzzmhv r3UPOR0cY/BJjqcQmd8AZWhWYHPsFDFDNhP0D7KPwr4b8aciSaMePID7HplCTf2jIuaM 7zYA== X-Received: by 10.15.56.132 with SMTP id y4mr2841081eew.61.1390998687377; Wed, 29 Jan 2014 04:31:27 -0800 (PST) Original-Received: from keima.localdomain (x2f24954.dyn.telefonica.de. [2.242.73.84]) by mx.google.com with ESMTPSA id a8sm8081965eeo.3.2014.01.29.04.31.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 04:31:25 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22c; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LjMvq6w - 0c071f27ac34 - 20140129 (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:86121 Archived-At: Am 28.01.2014 um 02:34 schrieb Flavien Lambert : > Still another question...I managed to have the ubuntu light for both regu= lar and italic as well as greek letters in the text but I am still unable t= o obtain greek letters in math text. Could you indicate to me the right way? > Thanks, > F. > = > \definefontfamily [mainface] [sans] [Ubuntu] [regularfont=3Dubuntulight,,= italicfont=3Dubuntulightitalic,boldfont=3Dubuntu] > \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:lowercase= italic,tf=3Dstyle:light] > \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Drange:greek,tf= =3Dstyle:light] > \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:digitsnor= mal,tf=3Dstyle:light] > \definefontfamily [mainface] [math] [TeX Gyre Pagella Math] You tried =93range:greek=94 but this is wrong because the preset can only b= e used for normal greek text, in math mode you have to choose one of the fo= llowing presets: - math:lowercasegreeknormal - math:lowercasegreekitalic - math:uppercasegreeknormal - math:uppercasegreekitalic - math:lowercasegreekbold - math:lowercasegreekbolditalic - math:uppercasegreekbold - math:uppercasegreekbolditalic To use the lightitalic style of the ubuntu font you have to use the name of= file methods because there is no lightitalic pattern for the style method = (but I try add it). \definefontfamily [mainface] [sans] [Ubuntu] [tf=3Dstyle:light] \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:lowercaseit= alic,tf=3Dstyle:light] \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:digitsnorma= l,tf=3Dstyle:light] \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:lowercasegr= eekitalic,tf=3Dname:ubuntulightitalic] \definefontfamily [mainface] [math] [TeX Gyre Pagella Math] \setupbodyfont[mainface,11pt] \starttext 123 \math{123 \alpha\beta\gamma} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________