From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65298 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: catcode problems (mkiv) Date: Sun, 16 Jan 2011 22:17:54 +0100 Message-ID: <4D336082.7030407@gmx.net> References: <4D307F56.4070702@gmx.net> <4D32A136.9000302@elvenkind.com> 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: dough.gmane.org 1295212703 22991 80.91.229.12 (16 Jan 2011 21:18:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 21:18:23 +0000 (UTC) Cc: mailing list for ConTeXt users To: Taco Hoekwater Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 16 22:18:16 2011 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.69) (envelope-from ) id 1PeZzL-0002Jp-M3 for gctc-ntg-context-518@m.gmane.org; Sun, 16 Jan 2011 22:18:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3208BCA957; Sun, 16 Jan 2011 22:18:13 +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 RAMWenYY77ZD; Sun, 16 Jan 2011 22:18:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5960CA952; Sun, 16 Jan 2011 22:18:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9CD5BCA952 for ; Sun, 16 Jan 2011 22:18:08 +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 EbvbOuU1OT76 for ; Sun, 16 Jan 2011 22:17:57 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 89B83CA947 for ; Sun, 16 Jan 2011 22:17:57 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p0GLHuNO000473 for ; Sun, 16 Jan 2011 22:17:56 +0100 Original-Received: (qmail invoked by alias); 16 Jan 2011 21:17:56 -0000 Original-Received: from ip-178-200-60-214.unitymediagroup.de (EHLO [192.168.178.3]) [178.200.60.214] by mail.gmx.net (mp008) with SMTP; 16 Jan 2011 22:17:56 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+sGwYGM1WsF5P3xwzoGZqAsh0e/i3VlHJqQYh83q OPzLi8wFrovJPn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.7 In-Reply-To: <4D32A136.9000302@elvenkind.com> X-Enigmail-Version: 1.1.1 X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDUlhU7z - c8c0de5c3a13 - 20110116 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:65298 Archived-At: Thank you Taco and Hans! \startluacode works fine :-) Am 16.01.2011 08:41, schrieb Taco Hoekwater: > On 01/14/2011 05:52 PM, Peter Rolf wrote: >> >> What is the best way to >> >> 1. deal with the "%" character in ctxlua? > > Use \startluacode .... \stopluacode instead of ctxlua. > >> 2. print significant spaces? >> >> My current 'solution' for 2. is writing to a tex buffer instead and then >> using >> >> \bgroup\obeyspaces\getbuffer[textext]\egroup > > Significant spaces are always nasty. You could convert them to "~" > (of course then it does not break across lines) or "\ ". > > Best wishes, > Taco > ___________________________________________________________________________________ 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 ___________________________________________________________________________________