From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54687 Path: news.gmane.org!not-for-mail From: Charles Doherty Newsgroups: gmane.comp.tex.context Subject: EnglishRule and Lua / Simplefonts module Date: Tue, 24 Nov 2009 12:57:12 +0000 Message-ID: <0DD98DB5-4DAF-4ED1-9C12-418BE6B5C27A@upcmail.ie> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary=Apple-Mail-11--560125564 X-Trace: ger.gmane.org 1259067461 572 80.91.229.12 (24 Nov 2009 12:57:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 12:57:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 24 13:57:34 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCuxW-00009C-0t for gctc-ntg-context-518@m.gmane.org; Tue, 24 Nov 2009 13:57:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 295CFC9AAF; Tue, 24 Nov 2009 13:54:42 +0100 (CET) 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 RswodWBM-J1M; Tue, 24 Nov 2009 13:54:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0066AC9A7C; Tue, 24 Nov 2009 13:54:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F91CC9A7C for ; Tue, 24 Nov 2009 13:54:35 +0100 (CET) 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 RBiPAklp6x2I for ; Tue, 24 Nov 2009 13:54:33 +0100 (CET) Original-Received: from viefep11-int.chello.at (viefep11-int.chello.at [62.179.121.31]) by balder.ntg.nl (Postfix) with ESMTP id 434AAC9A41 for ; Tue, 24 Nov 2009 13:54:32 +0100 (CET) Original-Received: from edge05.upc.biz ([192.168.13.212]) by viefep11-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091124125715.ZCBU7934.viefep11-int.chello.at@edge05.upc.biz> for ; Tue, 24 Nov 2009 13:57:15 +0100 Original-Received: from [192.168.1.6] ([79.97.97.23]) by edge05.upc.biz with edge id 90xC1d04V0WG0XB050xEsX; Tue, 24 Nov 2009 13:57:15 +0100 X-SourceIP: 79.97.97.23 X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54687 Archived-At: --Apple-Mail-11--560125564 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear Hans and Wolfgang, I have started experimenting with the Lua engine through TeXShop. I use = \EnglishRule in a Newsletter to separate major items. When I use it in = the attached file it works as always when I use the ConteXt engine = (TL2009) and in my minimals installation it works fine using = MinimalsConTeXt engine and MinimalsXeConTeXt engine. When I switch to = using the simplefonts module in MinimalsLua engine the \EnglishRule does = not behave properly. Also the text switches to italic. I have attached a = small file and if you comment out the lines and switch between the = engines you can see what I mean.=20 Thanks for any help, Best wishes, Charlie --Apple-Mail-11--560125564 Content-Disposition: attachment; filename=EnglishRuleTest.tex Content-Type: application/octet-stream; name="EnglishRuleTest.tex" Content-Transfer-Encoding: 7bit % Simplefont definitions %\usemodule[simplefonts][size=10pt] %\setmainfont[DejaVu Serif] %\setsansfont[DejaVu Sans] %\setmonofont[DejaVu Sans Mono] % XeTeX font definitions \definetypeface[DejaVu][rm][Xserif][DejaVu Serif] \definetypeface[MyDejaVu][rm][Xserif][DejaVu Serif] \setupbodyfont[MyDejaVu, 10pt] % style definitions \setupcolors[state=start] \useMPlibrary [txt] \setupMPvariables [EnglishRule] [color=darkgray, width=\textwidth] \starttext \EnglishRule \blank \input knuth \EnglishRule \input knuth \EnglishRule \blank \input knuth \EnglishRule \stoptext --Apple-Mail-11--560125564 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 ___________________________________________________________________________________ --Apple-Mail-11--560125564--