From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84892 Path: news.gmane.org!not-for-mail From: Sven Huynink Newsgroups: gmane.comp.tex.context Subject: Re: How to use system fonts Date: Fri, 18 Oct 2013 17:59:43 +0200 Message-ID: <52615AEF.7060905@huynink.nl> References: <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="===============0828286777==" X-Trace: ger.gmane.org 1382111988 6239 80.91.229.3 (18 Oct 2013 15:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 15:59:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 18 17:59:53 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 1VXCSt-0002Oj-Rv for gctc-ntg-context-518@m.gmane.org; Fri, 18 Oct 2013 17:59:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5139101EC; Fri, 18 Oct 2013 17:57:03 +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 hXVX6HxrJ1KZ; Fri, 18 Oct 2013 17:57:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D0B82101E3; Fri, 18 Oct 2013 17:57:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 600EF101E3 for ; Fri, 18 Oct 2013 17:56:59 +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 UhUTivvgKa9A for ; Fri, 18 Oct 2013 17:56:58 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 46D13101DE for ; Fri, 18 Oct 2013 17:56:58 +0200 (CEST) Original-Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9IFxi9L032704 for ; Fri, 18 Oct 2013 17:59:45 +0200 Original-Received: from [192.168.178.41] (a80-101-228-75.adsl.xs4all.nl [80.101.228.75]) (authenticated bits=0) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id r9IFxiGM035698 for ; Fri, 18 Oct 2013 17:59:44 +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 In-Reply-To: <526159D5.2010001@huynink.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=194.109.24.31; 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: 08KCDXIzv - e93f6b8a2b37 - 20131018 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:84892 Archived-At: --===============0828286777== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Addendum: I use ConTeXt via Luatex.

On 18-10-2013 17:55, Sven Huynink wrote:
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

--===============0828286777== 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 ___________________________________________________________________________________ --===============0828286777==--