From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13451 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: Typing in new command problems Date: Tue, 23 Sep 2003 18:37:03 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030923183430.020f7ec8@server-1> References: <95a64885.488595a6@poczta.teleton.pl> <95a64885.488595a6@poczta.teleton.pl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1064335420 10875 80.91.224.253 (23 Sep 2003 16:43:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2003 16:43:40 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 23 18:43:39 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1qGI-000309-00 for ; Tue, 23 Sep 2003 18:43:38 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 633F110BB4; Tue, 23 Sep 2003 18:43:36 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id C004F10BB4 for ; Tue, 23 Sep 2003 18:37:38 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8NGbTL30411 for ; Tue, 23 Sep 2003 18:37:29 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 71560184FB; Tue, 23 Sep 2003 18:37:31 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 6DAFA184F8 for ; Tue, 23 Sep 2003 16:37:30 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: Original-References: <95a64885.488595a6@poczta.teleton.pl> <95a64885.488595a6@poczta.teleton.pl> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13451 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13451 At 16:33 23/09/2003 +0200, you wrote: >Don't mess with verbatim stuff in commands. Don't ask why, just don't >do it ;-) use buffers instead has to do with tex collapsing spaces into one, lineendings being spaces, active characters etc >And: TeX != C. Don't write C-like TeX-braces: > >{ > \this > { > \that > { > >This will give you a hard time looking for unwanted spaces. \unprotect \def\beginmacro{\catcode`\^^M=\@@ignore} \def\endmacro {\catcode`\^^M=\@@endofline} \protect \beginmacro \def\patrickneedsatexchallengeeachday#1 {Does he? (#1) Why's That?} \endmacro ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------