From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10096 Path: main.gmane.org!not-for-mail From: Gour Newsgroups: gmane.comp.tex.context Subject: Re: DocBookInConTeXt customization? Date: Tue, 10 Dec 2002 17:53:08 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20021210165308.GA16020@mail.inet.hr> References: <20021208151217.GA15406@mail.inet.hr> <4224182C-0AC2-11D7-B0AD-0050E4258255@fastmail.fm> <20021208195429.GA20944@inet.hr> <20021209200956.GA1164@scaprea> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039539357 14537 80.91.224.249 (10 Dec 2002 16:55:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 16:55:57 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Lnfl-0003lz-00 for ; Tue, 10 Dec 2002 17:55:53 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C6FCE10AEA; Tue, 10 Dec 2002 17:56:03 +0100 (MET) Original-Received: from mail.iskon.hr (inje.iskon.hr [213.191.128.16]) by ref.ntg.nl (Postfix) with SMTP id 143A110AE7 for ; Tue, 10 Dec 2002 17:54:43 +0100 (MET) Original-Received: (qmail 18913 invoked from network); 10 Dec 2002 17:54:40 +0100 Original-Received: from zg03-122.dialin.iskon.hr (HELO gaura) (213.191.135.123) by mail.iskon.hr with SMTP; 10 Dec 2002 17:54:40 +0100 Original-Received: (qmail 17184 invoked by uid 500); 10 Dec 2002 16:53:08 -0000 Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <20021209200956.GA1164@scaprea> User-Agent: Mutt/1.4i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: Gour 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:10096 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10096 Simon Pepping (spepping@scaprea.hobby.nl) wrote: > It is like you say at the top, but the context document is built on > the fly, i.e., it only exists in memory, and it never exists in its > entirety. It may be better to think of the XML file as the input file > for context. This is possible because the < is an active character > that invokes macro processing. Context's XML layer enables the > conversion author to write a mapping from XML tag to context commands: > when that tag is read, the corresponding context commands are invoked. It would be nice to just have an ability to output context's "on-the-fly" document. > I will try to document the customization options for the docbook > module somewhere after Christmas. That would be very hlepful. > > which is similar to XSL toolchain: > > > > xslt fop > > DocBook ------> XSL-FO -----> output > > > > with the exception that ConTeXt format is more user-friendly & capable than > > xsl-fo format, and produces best quality output. > > I am not sure that this is a good parallel. FO's are not customizable; > the XSLT stylesheets may be. And context could serve as the FO > processor, by the same mechanism of a mapping of FO's to context, if > someone would write it. That is what PassiveTeX does for latex. I agree it's not the best parallel, but there is lot of space to customize XSLT stylesheets which produce FO file. The point is that the first diagram should look like: dic ConTeXt DocBook -------> *.tex --------> output The point is clear: allow users which use DocBook, as an authoring tool, to havebenfit of Con(TeX)t typeset engine. I hoped that LyX would go this route to extend its usage for XML (DocBook), but at the moment developers are too occupied by GUI stuff. TeX & ConTeXt are great but they have some learning curve for average users, but by enabling DocBook authors to produce high-quality PDFs with some reasonable defaults, plus the ability to customize the output for power users (like XSLT DocBook customization layer), I'm sure it will drastically increase number of ConTeXt users and provide to new perspective to TeX publishing in general. The similar thing will happen with latest Hans' development and providing utf-8 support. Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493