From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36498 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: luatex:first steps Date: Thu, 13 Sep 2007 07:59:46 +0200 Message-ID: <115224fb0709122259j1818536eu2fd966ae652c184e@mail.gmail.com> References: <46E87A93.957.3EC529@wwl.musensturm.de> 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: sea.gmane.org 1189663223 25688 80.91.229.12 (13 Sep 2007 06:00:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 06:00:23 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 08:00:21 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 1IVhkF-0001gx-VE for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2007 08:00:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9DB1F20016; Thu, 13 Sep 2007 08:00:07 +0200 (CEST) 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 18145-01-4; Thu, 13 Sep 2007 08:00:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8EF991FFFB; Thu, 13 Sep 2007 08:00:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 762C31FFFB for ; Thu, 13 Sep 2007 07:59:56 +0200 (CEST) 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 18145-01-3 for ; Thu, 13 Sep 2007 07:59:50 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by ronja.ntg.nl (Postfix) with ESMTP id 15E961FFFA for ; Thu, 13 Sep 2007 07:59:49 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so472201wxd for ; Wed, 12 Sep 2007 22:59:48 -0700 (PDT) Original-Received: by 10.90.102.20 with SMTP id z20mr887921agb.1189663188266; Wed, 12 Sep 2007 22:59:48 -0700 (PDT) Original-Received: by 10.90.35.1 with HTTP; Wed, 12 Sep 2007 22:59:46 -0700 (PDT) In-Reply-To: <46E87A93.957.3EC529@wwl.musensturm.de> 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:36498 Archived-At: 2007/9/12, Wolfgang Werners-Lucchini : > Hallo, > > I have installed the newest windows standalone context package. > > My first try was with this snippet, found as 'test-2' at > luatex.org: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > \lua {tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. "$")} > \luatex {tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. "$")} > \rescan{\lua{tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. > "$")}} > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > but \luatex is unknown. After commenting line 2 > I get a TeX prompt (*) and after some \end's I got the result. > > Should this work in this way? replace \luatex with \cxtlua > And with this > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > % coding: utf-8 > > \mainlanguage[deo] > \enableregime[utf] > > \usetypescript[palatino][texnansi] > \setupbodyfont[palatino,rm,12pt] > > \starttext > Bla {\bf blub} > \stoptext > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > I get the error > > ---------------------------------- > error >> define font: font with name texgyrepagella-regular is not > found. > > \relax > \xxdododefinefont ...tspec {#4}\newfontidentifier > \let > \localrelativefontsiz... > \fontstrategy ...me \fontclass #2#3#4#5\endcsname > \tryingfontfalse > \fi > ...yle \fontalternative \fontsize > \fi \iftryingfont > \fontstr... > \synchronizefont ...strategy \the \fontstrategies > \relax \fi > \iftryingfont \... > \getvalue {\@style@ \fontstyle } > \edef \fontstyle > {\fontstyle }\if... > ... > l.7 \setupbodyfont[palatino,rm,12pt] > ---------------------------------- > > Palatino is installed! > What should I do to use Palatino not Pagella, which obviously is not > installed? > > Wolfgang You need the TeXgyre fonts for MkIV because palatino is mapped to pagella. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________