From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36575 Path: news.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: Re :luatex:first steps Date: Fri, 14 Sep 2007 21:26:21 +0200 Message-ID: <46EAFC7D.24022.17CC8C@wwl.musensturm.de> 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: sea.gmane.org 1189797794 27468 80.91.229.12 (14 Sep 2007 19:23:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2007 19:23:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 14 21:23:08 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 1IWGkd-0007f4-UL for gctc-ntg-context-518@m.gmane.org; Fri, 14 Sep 2007 21:22:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B652202C2; Fri, 14 Sep 2007 21:22:50 +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 14396-06-5; Fri, 14 Sep 2007 21:22:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A676F202A4; Fri, 14 Sep 2007 21:22:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E96C6202A4 for ; Fri, 14 Sep 2007 21:22:35 +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 14396-06-4 for ; Fri, 14 Sep 2007 21:22:30 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by ronja.ntg.nl (Postfix) with ESMTP id 6D8CB202A1 for ; Fri, 14 Sep 2007 21:22:30 +0200 (CEST) Original-Received: from frnk-590d35e3.pool.einsundeins.de [89.13.53.227] (helo=[192.168.178.20]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1IWGkG3qlG-00046P; Fri, 14 Sep 2007 21:22:29 +0200 Priority: normal In-reply-to: X-mailer: Pegasus Mail for Windows (4.41, DE v4.41 R1) Content-description: Mail message body X-Provags-ID: V01U2FsdGVkX197N6i5cNegKVwQDDqlcXAROhdRBCIcEv+lWYc 9TWbSGXKAKgln1qmfbbBLJVvyf33DeH7IU02fj3bjgyaXBkZUe 8sXrb4/XIchGm2J7FardU38XR5uEdY3 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:36575 Archived-At: Hi Wolfgang, > > 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 what about the nonstoping \rescan? I don't understand this example. The output is identical for the three variants. Does it mean that they are all equivalent? What should \rescan do? What happend with the command \luatex? Does it not longer exist? > > > 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. Why is it not possible to use palatino? The font is installed by default, Pagella is not. There should be a fallback to palatinno in this case. 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 ___________________________________________________________________________________