From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18443 Path: main.gmane.org!not-for-mail From: Paul Tremblay Newsgroups: gmane.comp.tex.context Subject: Re: XML and context Date: Wed, 23 Feb 2005 12:25:58 -0500 Message-ID: <20050223172558.GE2142@localhost.localdomain> References: <20050223023141.GA5794@localhost.localdomain> <421C3FE4.5020601@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109179529 29272 80.91.229.2 (23 Feb 2005 17:25:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2005 17:25:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 23 18:25:28 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1D40GE-0004WU-6O for gctc-ntg-context-518@m.gmane.org; Wed, 23 Feb 2005 18:25:18 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D087127B5; Wed, 23 Feb 2005 18:29:04 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05377-02; Wed, 23 Feb 2005 18:29:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B652127D1; Wed, 23 Feb 2005 18:25:35 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8757127CD for ; Wed, 23 Feb 2005 18:25:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04962-05-2 for ; Wed, 23 Feb 2005 18:25:33 +0100 (CET) Original-Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by ronja.ntg.nl (Postfix) with ESMTP id F2C3F127B3 for ; Wed, 23 Feb 2005 18:25:32 +0100 (CET) Original-Received: from [192.107.41.8] (helo=iglou2.iglou.com) by rdsmtp.iglou.com with esmtp (8.12.5/8.12.5) id 1D40GR-0002G3-PO for ntg-context@ntg.nl; Wed, 23 Feb 2005 12:25:31 -0500 Original-Received: from [64.253.97.143] (helo=localhost.localdomain) by iglou2.iglou.com with esmtp (8.12.5/8.12.5) id 1D40GR-0003BP-JG for ntg-context@ntg.nl; Wed, 23 Feb 2005 12:25:31 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 501) id 0152C1B79A; Wed, 23 Feb 2005 12:25:58 -0500 (EST) Original-To: mailing list for ConTeXt users Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <421C3FE4.5020601@wxs.nl> User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: main.gmane.org gmane.comp.tex.context:18443 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18443 On Wed, Feb 23, 2005 at 09:33:40AM +0100, Hans Hagen wrote: > > The mapping variant discussed in the magazine can be seen as a future xml > based layer around the context tex core; a kind xml based typesetting > engine so that one can do without tex programming and stick to xml tools > (which some prefer) > > Hans > But my unerstanding is that the mapping technique does not take care of white space. So if I have:

Some paragrah in XmL with space

This could get converted as: Some paragrah in XmL with space \par Which would produce 3 paragrahs. There is actually a nice small tool TeXML (at sourceforge) that takes care of this problem. It allows you to use an XML to issue TeX commands, and then converts those commands into TeX (or LaTeX or ConText). It takes care of white space. I am one of those people who likes to stick to XML tools, who likes to convert a tree to a tree. I was wondering the best way to do this. It seems that using TeXML is the best way. I just wanted to make sure there was not a more direct way in ConTeXt. Thanks Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************