From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84891 Path: news.gmane.org!not-for-mail From: Sven Huynink Newsgroups: gmane.comp.tex.context Subject: How to use system fonts Date: Fri, 18 Oct 2013 17:55:01 +0200 Message-ID: <526159D5.2010001@huynink.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0273981130==" X-Trace: ger.gmane.org 1382111705 3029 80.91.229.3 (18 Oct 2013 15:55:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 15:55:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 18 17:55:10 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 1VXCOL-0007tw-V5 for gctc-ntg-context-518@m.gmane.org; Fri, 18 Oct 2013 17:55:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB146101DE; Fri, 18 Oct 2013 17:52:21 +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 iSAlNBbq58Ds; Fri, 18 Oct 2013 17:52:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AE4F7101E3; Fri, 18 Oct 2013 17:52:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BAF87101E3 for ; Fri, 18 Oct 2013 17:52:16 +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 He71tl2Psdpg for ; Fri, 18 Oct 2013 17:52:15 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id BC75D101DE for ; Fri, 18 Oct 2013 17:52:15 +0200 (CEST) Original-Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9IFt2Ch003119 for ; Fri, 18 Oct 2013 17:55:02 +0200 Original-Received: from [192.168.178.41] (a80-101-228-75.adsl.xs4all.nl [80.101.228.75]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9IFt2Ht042083 for ; Fri, 18 Oct 2013 17:55:02 +0200 (CEST) (envelope-from sven@huynink.nl) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 X-Virus-Scanned: by XS4ALL Virus Scanner X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=194.109.24.26; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VKCDT2Pz - cdab7f33c199 - 20131018 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:84891 Archived-At: --===============0273981130== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
I seem no to be able to use system fonts, not with /simplefonts neither with typescripts. When I define

\starttypescript [serif] [arnoproregular]

\definefontsynonym [Serif] [name:arnoproregular]

\definefontsynonym [SerifItalic] [name:arnoproitalic]

\definefontsynonym [SerifBoldItalic] [name:arnoproitaliccaption]

\definefontsynonym [SerifCaps] [name:arnoproregular]

\stoptypescript


(or any other system font in my Windows font directory e:/windows/ fonts as defined in osfontdir), I get

fonts           > typescripts > unknown library 'loc'
{E:/texprogs/texlive/2013/texmf-dist/fonts/map/dvips/lm/lm-math.map}{E:/texprogs/texlive/2013/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{E:/texprogs/texlive/2013/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fonts           > 'fallback modern rm 11pt' is loaded

First, I don't understand "unknown library 'loc' " > I haven't defined that. Or does it mean 'local'? When I do the same with, say, garamond, I also get the line "unknown library 'garamond' " > why does it think garamond is in a library?
When I do

mtxrun --script fonts --list --info --pattern=arnoproregular*

mtxfonts gives me all kinds of information, so the font *is* known to ConTeXt. Or is that a rash conclusion?

Second, there is not even a mention of the typescript or the font in the log. Why is that? Is it purely a syntax error in my setup as copied above?

Thirdly - of course - my question is: how can  I  make ConTeXt use my system fonts?

I use TexLive (most recent version), Texworks and Windows 7. Before I had a standalone ConTeXt set-up, which gave the same problems.

Regards,

Sven Huynink
--===============0273981130== 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 ___________________________________________________________________________________ --===============0273981130==--