From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69409 Path: news.gmane.org!not-for-mail From: John Haltiwanger Newsgroups: gmane.comp.tex.context Subject: Re: Changing Body Font Date: Wed, 22 Jun 2011 16:33:09 -0700 Message-ID: References: <1308784224.3578.25.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2024310661==" X-Trace: dough.gmane.org 1308785615 13532 80.91.229.12 (22 Jun 2011 23:33:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2011 23:33:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 23 01:33:30 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 1QZWvK-0001Y5-BF for gctc-ntg-context-518@m.gmane.org; Thu, 23 Jun 2011 01:33:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3073BCAE1F; Thu, 23 Jun 2011 01:33:29 +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 Fd1hVjhc1LbN; Thu, 23 Jun 2011 01:33:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A943CAE1A; Thu, 23 Jun 2011 01:33:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29C56CAE1A for ; Thu, 23 Jun 2011 01:33:24 +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 Kll8-qxU5vKd for ; Thu, 23 Jun 2011 01:33:11 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id C8736CAE14 for ; Thu, 23 Jun 2011 01:33:11 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5MNXAcf016171 for ; Thu, 23 Jun 2011 01:33:11 +0200 Original-Received: by fxm18 with SMTP id 18so1389098fxm.14 for ; Wed, 22 Jun 2011 16:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=AOpVIST+yx7K039/Y3XfNAZM4dqOT7yqZ7hWhqk3KSc=; b=x5t9ai0O2jAMR4kbLzSlkvRExjB0flwHRD9oE7zu+8XDaTOH2KqRUtW+rA0+v65UNo xUhP1PyduKSCEyzfF9v4OKW1YDjqJPO3MHhYWdsl+qGGLf3SE4wceaCC4/qc0OgX7UrM nCRdSSel7wi0ivvBMMx7gTT5GofVWyxThL/Vo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YLnSFXymipANbYvCaH/yWmPtVcxGGJ4Rqiwynnka4msy/HlQ807kZw5U1dlGRxqGtz n8M6awxFZwz5QHj+99tNzIe4s3rLS9o80kSqAetTQ5QfP4HfLomQmj7bU6o2IYHKLw2W 4+mZ1dRzzSP1no9zGv2BR5VnRXHdXkobYPCto= Original-Received: by 10.223.91.85 with SMTP id l21mr1640691fam.80.1308785590049; Wed, 22 Jun 2011 16:33:10 -0700 (PDT) Original-Received: by 10.223.122.1 with HTTP; Wed, 22 Jun 2011 16:33:09 -0700 (PDT) In-Reply-To: <1308784224.3578.25.camel@kip-laptop> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 08EXbxal0 - a2ce8cca78e0 - 20110623 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:69409 Archived-At: --===============2024310661== Content-Type: multipart/alternative; boundary=0015174767522e9c3204a65564cc --0015174767522e9c3204a65564cc Content-Type: text/plain; charset=ISO-8859-1 Please take a look at the simplefonts module. \usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt] (please correct me anyone, if I'm wrong). On Wed, Jun 22, 2011 at 4:10 PM, Kip Warner wrote: > Hey list, > > I am trying to change the body font of my document in the environment > file to use the Ubuntu font provided at, > > /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf > > , by the ttf-ubuntu-font-family package. I have tried the following, but > it did not appear to change anything, > > \setupbodyfont[ubuntu,11pt][file:ubuntu-r][features=default] > > I also tried, > > \setupbodyfont[ubuntu,11pt] > > Any help would be appreciated. > > -- > Kip Warner -- Software Engineer > OpenPGP encrypted/signed mail preferred > http://www.thevertigo.com > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --0015174767522e9c3204a65564cc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Please take a look at the simplefonts module.

\usemodule[simplefonts= ]
\setmainfont[Ubuntu]
\switchtobodyfont[11pt]

(please correct= me anyone, if I'm wrong).

On Wed, Ju= n 22, 2011 at 4:10 PM, Kip Warner <kip@thevertigo.com> wrote:
Hey list,

I am trying to change the body font of my document in the environment
file to use the Ubuntu font provided at,

/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf

, by the ttf-ubuntu-font-family package. I have tried the following, but it did not appear to change anything,

\setupbodyfont[ubuntu,11pt][file:ubuntu-r][features=3Ddefault]

I also tried,

\setupbodyfont[ubuntu,11pt]

Any help would be appreciated.

--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.theverti= go.com

________________________________________________________________= ___________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--0015174767522e9c3204a65564cc-- --===============2024310661== 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 ___________________________________________________________________________________ --===============2024310661==--