From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37574 Path: news.gmane.org!not-for-mail From: "Marcel Korpel" Newsgroups: gmane.comp.tex.context Subject: Font selection in LuaTeX Date: Tue, 27 Nov 2007 13:23:27 +0100 Message-ID: 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 1196166232 23659 80.91.229.12 (27 Nov 2007 12:23:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 12:23:52 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 27 13:23:59 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 1IwzTp-0008TT-Hc for gctc-ntg-context-518@m.gmane.org; Tue, 27 Nov 2007 13:23:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 462DA1FD8E; Tue, 27 Nov 2007 13:23:40 +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 23115-04-23; Tue, 27 Nov 2007 13:23:33 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 653201FD4A; Tue, 27 Nov 2007 13:23:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A89A21FD4A for ; Tue, 27 Nov 2007 13:23:31 +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 23115-04-22 for ; Tue, 27 Nov 2007 13:23:28 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by ronja.ntg.nl (Postfix) with ESMTP id 0A29A1FD0A for ; Tue, 27 Nov 2007 13:23:27 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id b2so836985nfb for ; Tue, 27 Nov 2007 04:23:27 -0800 (PST) Original-Received: by 10.86.51.2 with SMTP id y2mr3777932fgy.1196166207559; Tue, 27 Nov 2007 04:23:27 -0800 (PST) Original-Received: by 10.86.65.14 with HTTP; Tue, 27 Nov 2007 04:23:27 -0800 (PST) Content-Disposition: inline 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:37574 Archived-At: 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. By the way, I tried this using LuaTeX beta-0.11.2 on a Linux system and TeXLive 2007. I know I can use XeTeX, but XeTeX doesn't support character protrusion and several pdfTeX-specific commands, which I really like to use. I hope someone can clarify this to me. Thank you in advance! Kind regards, Marcel Korpel ___________________________________________________________________________________ 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 ___________________________________________________________________________________