From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91697 Path: news.gmane.org!not-for-mail From: Thad Heltemes Newsgroups: gmane.comp.tex.context Subject: Re: selecting font by (file) name Date: Fri, 12 Jun 2015 13:13:10 -0500 Message-ID: References: <557B1E66.5070102@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0787481689==" X-Trace: ger.gmane.org 1434132837 25382 80.91.229.3 (12 Jun 2015 18:13:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2015 18:13:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 12 20:13:46 2015 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 1Z3TSb-0003di-4Q for gctc-ntg-context-518@m.gmane.org; Fri, 12 Jun 2015 20:13:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E4CC10231 for ; Fri, 12 Jun 2015 20:13:44 +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 Tg5yaGIoHFCV for ; Fri, 12 Jun 2015 20:13:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7A44F10239 for ; Fri, 12 Jun 2015 20:13:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4816310202 for ; Fri, 12 Jun 2015 20:13:13 +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 ig701dorn55D for ; Fri, 12 Jun 2015 20:13:12 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 21324101FC for ; Fri, 12 Jun 2015 20:13:12 +0200 (CEST) Original-Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t5CIDAus004102 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 12 Jun 2015 20:13:11 +0200 Original-Received: by lbbqq2 with SMTP id qq2so23906596lbb.3 for ; Fri, 12 Jun 2015 11:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GDSDBzEqXFzA2qSdx/Xow5Cwvc3ND3tXhJVMyQFhJPc=; b=zBYWxwgGCGcaXaZP9NYpZk5OfX2ASamL2o3++NNtPGEaM5qfv9urmT9t5ZPvxJ3FOc IG+y5MVde58AuAb+/W4Q1TRKys1/5SRihtrEWynnyfQS25Ja6Q+45gE8XrG/9/AcXIQ4 AVqaa/RZsWktG1yxrlBQFwuK3jB3xnXeqATXvR9mz3TrYOLjW4pCS8EI+csPwAuivUl5 bRuL3La6JWB0mWeMue6kRVmkc36c8LtWgJXvzIC9JhEtjnwBmBtMZ2TwemJPaPjocaf8 hD0UbVCC4e1qB3v8+pKqj/ZnnwlU7m7zrOejgxY5qoyDGN70ZJNOTofOYs4sFRT9oTiO F6Mw== X-Received: by 10.152.164.193 with SMTP id ys1mr16336205lab.65.1434132790298; Fri, 12 Jun 2015 11:13:10 -0700 (PDT) Original-Received: by 10.25.140.19 with HTTP; Fri, 12 Jun 2015 11:13:10 -0700 (PDT) In-Reply-To: <557B1E66.5070102@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::229; country=FI; region=South Karelia; city=Lappeenranta; latitude=61.0667; longitude=28.1833; http://maps.google.com/maps?q=61.0667,28.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TODudaBP - aa1277f2fd15 - 20150612 (trained as not-spam) Received-SPF: pass (filter2-til.mf.surf.net: domain of theltemes@gmail.com designates 2a00:1450:4010:c04::229 as permitted sender) receiver=filter2-til.mf.surf.net; client-ip=2a00:1450:4010:c04::229; envelope-from=; helo=mail-lb0-x229.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:91697 Archived-At: --===============0787481689== Content-Type: multipart/alternative; boundary=001a1133c25886cdd60518560f5c --001a1133c25886cdd60518560f5c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pablo, I had a similar problem with the IM Fell fonts, here's what I had in my file to get ConTeXt to see them: \definefontfamily[mainface][serif][IMFellEnglishProRoman][tf=3Dfile:IMFEENR= M29C.otf, it=3Dfile:IMFEENIT29C.otf] so I think you just need to add a "tf=3D" in front of the file declaration. On Fri, Jun 12, 2015 at 1:01 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \definefontfamily > [mainface] > [rm] > [TeX Gyre Pagella] > > \definefontfamily > [mainface] > [tt] > %~ [file:lmmonoproplt10-regular.otf] > [name:lmmonoproplt10regular] > > \setupbodyfont > [mainface] > > \starttext > \type{monospace font} > \stoptext > > Either by file or name, I=E2=80=99m not able to select the font. > > I get the following list from mtxrunjit: > > $ mtxrunjit --script font --list --file --pattern=3Dlmmonoproplt10regular > > latinmodernmonoproplight light normal normal normal > lmmonoproplt10regular lmmonoproplt10-regular.otf > > What am I doing wrong here? > > Many thanks for your help, > > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --=20 Thad Heltemes, Ph.D. http://theltemes.net --001a1133c25886cdd60518560f5c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Pablo,

I had a similar probl= em with the IM Fell fonts, here's what I had in my file to get ConTeXt = to see them:

\definefontfamily[mainface][serif][IM= FellEnglishProRoman][tf=3Dfile:IMFEENRM29C.otf, it=3Dfile:IMFEENIT29C.otf]<= /div>

so I think you just need to add a "tf=3D"= ; in front of the file declaration.
<= br>
On Fri, Jun 12, 2015 at 1:01 PM, Pablo Rodrig= uez <oinos@gmx.es> wrote:
Dear = list,

I have the following sample:

=C2=A0 =C2=A0 \definefontfamily
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [mainface]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [rm]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [TeX Gyre Pagella]

=C2=A0 =C2=A0 \definefontfamily
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [mainface]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [tt]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 %~ [file:lmmonoproplt10-regular.otf]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [name:lmmonoproplt10regular]

=C2=A0 =C2=A0 \setupbodyfont
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [mainface]

=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \type{monospace font}
=C2=A0 =C2=A0 \stoptext

Either by file or name, I=E2=80=99m not able to select the font.

I get the following list from mtxrunjit:

$ mtxrunjit --script font --list --file --pattern=3Dlmmonoproplt10regular
latinmodernmonoproplight=C2=A0 =C2=A0light=C2=A0 =C2=A0normal=C2=A0 =C2=A0n= ormal=C2=A0 =C2=A0normal
lmmonoproplt10regular=C2=A0 =C2=A0lmmonoproplt10-regular.otf

What am I doing wrong here?

Many thanks for your help,


Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
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"= rel=3D"noreferrer">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________



--
<= div class=3D"gmail_signature">Thad Heltemes, Ph.D.

http://theltemes.net
--001a1133c25886cdd60518560f5c-- --===============0787481689== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0787481689==--