From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37850 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: "Semi-verbatim" - preserve whitespace - don't escape characters Date: Sat, 8 Dec 2007 23:59:35 +0100 Message-ID: <20071208235935.972d0bfa.schuster.wolfgang@googlemail.com> References: <115224fb0712080124h24b2a37h64ed38a14e7b5245@mail.gmail.com> <20071208155155.70af344f.schuster.wolfgang@googlemail.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: ger.gmane.org 1197187152 28903 80.91.229.12 (9 Dec 2007 07:59:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2007 07:59:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 09 08:59:12 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 1J1H4C-0008EI-4g for gctc-ntg-context-518@m.gmane.org; Sun, 09 Dec 2007 08:59:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8EAB61FC14; Sun, 9 Dec 2007 08:56:24 +0100 (CET) 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 11405-01; Sun, 9 Dec 2007 08:55:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2C5981FC03; Sun, 9 Dec 2007 08:55:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F16FB1FC03 for ; Sun, 9 Dec 2007 08:55:20 +0100 (CET) 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 09127-04 for ; Sun, 9 Dec 2007 08:54:32 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by ronja.ntg.nl (Postfix) with ESMTP id 147781FB5E for ; Sun, 9 Dec 2007 00:00:07 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id b2so540161nfb for ; Sat, 08 Dec 2007 15:00:07 -0800 (PST) Original-Received: by 10.86.96.18 with SMTP id t18mr3785237fgb.1197154807658; Sat, 08 Dec 2007 15:00:07 -0800 (PST) Original-Received: from rover ( [84.149.68.179]) by mx.google.com with ESMTPS id e20sm1545324fga.2007.12.08.15.00.05 (version=SSLv3 cipher=OTHER); Sat, 08 Dec 2007 15:00:06 -0800 (PST) In-Reply-To: X-Mailer: Sylpheed 2.4.7 (GTK+ 2.10.14; i686-pc-mingw32) 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:37850 Archived-At: On Sat, 8 Dec 2007 17:30:38 -0500 (EST) Aditya Mahajan wrote: > On Sat, 8 Dec 2007, Wolfgang Schuster wrote: > > > On Sat, 8 Dec 2007 09:44:52 -0500 (EST) > > Aditya Mahajan wrote: > > >>> \startlines > >>> verbatin text > >>> \stoplines > >> > >> Note that everything between start-stop lines is normal tex code. > > > > you mean start/stoplines need style and color keys. > > That would not be bad :) but it is not what I meant. I meant that it is > the author's (or in the case the convertor's) responsibility to make sure > that everything inside is valid tex code. So something like I know but setup keys are the best way to change the layout of environemnts and keep the document clean. Using a converter is no answer why you should't you this mechanism and write the styyle change in the document and not in preamble. > \startlines > \undefinedmacro blah blah > \stoplines > > will not work. > > Aditya As Dexter? already mentioned, he writes the escaped commands in the document \undefinedmacro will end up as \tex{undefinedmacro} or \type{\undefinedmacro} in the output file. 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 ___________________________________________________________________________________