From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14433 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: My Way: Unicode Symbols Date: Tue, 6 Jan 2004 12:22:10 +0000 Sender: ntg-context-admin@ntg.nl Message-ID: <20040106122210.16498@smtp.btinternet.com> References: <6.0.1.1.2.20040105205934.01dc7890@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1073391891 2452 80.91.224.253 (6 Jan 2004 12:24:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 12:24:51 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jan 06 13:24:43 2004 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 1AdqGJ-0005tj-00 for ; Tue, 06 Jan 2004 13:24:43 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C2E8F10B2C; Tue, 6 Jan 2004 13:24:12 +0100 (MET) Original-Received: from zinc.btinternet.com (zinc.btinternet.com [194.73.73.148]) by ref.ntg.nl (Postfix) with ESMTP id D95EB10B26 for ; Tue, 6 Jan 2004 13:23:03 +0100 (MET) Original-Received: from [213.122.156.83] (helo=[213.122.156.83]) by zinc.btinternet.com with esmtp (Exim 3.22 #25) id 1AdqF7-0003Jh-00 for ntg-context@ntg.nl; Tue, 06 Jan 2004 12:23:30 +0000 Original-To: In-Reply-To: <6.0.1.1.2.20040105205934.01dc7890@server-1> X-Mailer: CTM PowerMail 4.2.1 us Carbon 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:14433 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14433 Hans Hagen said this at Mon, 5 Jan 2004 21:12:16 +0100: >and of course a \showXMLfile{name.xml} > >The advantage of this method is that too wide lines are handled better i.e. >they are properly indented Thanks, Hans. I tried that a little following your suggestion. It has some trouble with '$' in the input file, surrounding each one with \bgroup \egroup. It turns this input: ...into this output... XSLT is also kind of special in that changes in whitespace really affect the output, so people who copy & paste the script (or otherwise try to learn from the typeset version) might not have very good results. (Less of a problem because I distribute the script, this time.) The $ mishandling probably is a bug (using Beta from 18 Dec). The other suggestions are great. I'll see what I can do to refine it. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-