From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37575 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Font selection in LuaTeX Date: Tue, 27 Nov 2007 14:09:40 +0100 Message-ID: <474C1714.5060306@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196169018 627 80.91.229.12 (27 Nov 2007 13:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 13:10:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 27 14:10:24 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Ix0Ce-0007a3-B2 for gctc-ntg-context-518@m.gmane.org; Tue, 27 Nov 2007 14:10:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 113941FD8E; Tue, 27 Nov 2007 14:10:00 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01333-01; Tue, 27 Nov 2007 14:09:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C94171FD4A; Tue, 27 Nov 2007 14:09:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A80A51FD4A for ; Tue, 27 Nov 2007 14:09:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02780-01-23 for ; Tue, 27 Nov 2007 14:09:50 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id E6FEA1FD0A for ; Tue, 27 Nov 2007 14:09:49 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 139 for ; Tue, 27 Nov 2007 14:09:49 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37575 Archived-At: Marcel Korpel wrote: > Dear all, > > As a heavy Plain TeX user I wish to experiment with LuaTeX. I know > this is slightly off-topic to this list, but I see several questions > related to LuaTeX user problems here. > > In message http://www.ntg.nl/pipermail/ntg-context/2007/026365.html > Hans Hagen stated that one could also define fonts using a more > XeTeX-like syntax like: > > \font=\test=name:ACaslonPro-Regular:liga=yes; > > or > > \font=\test=name:ACaslonPro-Regular*default > > As I don't use ConTeXt I wanted to give this approach a try (and I > assume the =-signs after "\font" are Hans's mistakes, I guess). So I > put ACaslonPro-Regular.otf in my > /opt/texlive/texmf-local/fonts/opentype directory, did a rehash so the > font could be found and tried a test file. Unfortunately, LuaTeX > complained it could not find the font metrics. Maybe I need to make an > entry in a map file somewhere? I looked through this list, Google, > etc., but couldn't find where. Also, the syntax > file:ACaslonPro-Regular.otf didn't work. pdfTeX etc. can find font > files there, so that should not be the problem. although i can make much mkiv font related code work ok for plain i haven't done that (yet) so you need to use context mkiv (btw, the xetex syntax is not adviced for mkiv, it's just there to show that it can be done; use predefined features sets) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________