From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68873 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: Re: DocBook in ConTeXt - any new ideas? Date: Fri, 3 Jun 2011 17:43:09 +0200 Message-ID: References: <4DE77C02.50002@wxs.nl> <4DE7F098.2040408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307115827 1133 80.91.229.12 (3 Jun 2011 15:43:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2011 15:43:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 03 17:43:43 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSWXB-0003F8-8m for gctc-ntg-context-518@m.gmane.org; Fri, 03 Jun 2011 17:43:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24090CAD79; Fri, 3 Jun 2011 17:43:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qwePXsImwLfZ; Fri, 3 Jun 2011 17:43:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9215FCAD74; Fri, 3 Jun 2011 17:43:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2569CAD74 for ; Fri, 3 Jun 2011 17:43:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fXv09mHxURmX for ; Fri, 3 Jun 2011 17:43:19 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 123F5CAD46 for ; Fri, 3 Jun 2011 17:43:19 +0200 (CEST) Original-Received: from cpsmtpb-ews05.kpnxchange.com (cpsmtpb-ews05.kpnxchange.com [213.75.39.8]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p53FhAiK014998 for ; Fri, 3 Jun 2011 17:43:17 +0200 Original-Received: from cpbrm-ews14.kpnxchange.com ([10.94.84.145]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 3 Jun 2011 17:43:10 +0200 Original-Received: from CPSMTPM-CMT101.kpnxchange.com ([195.121.3.17]) by cpbrm-ews14.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 3 Jun 2011 17:43:10 +0200 Original-Received: from imac-van-robert.lan ([77.168.85.243]) by CPSMTPM-CMT101.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Fri, 3 Jun 2011 17:43:10 +0200 In-Reply-To: <4DE7F098.2040408@wxs.nl> X-Mailer: Apple Mail (2.1082) X-OriginalArrivalTime: 03 Jun 2011 15:43:10.0135 (UTC) FILETIME=[F0C1D470:01CC2204] X-RcptDomain: ntg.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.75.39.8; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EPrHazU - 255f4dfa58df - 20110603 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68873 Archived-At: I tried typesetting docbook with Context, it can be done, I but got stuck on the cals tables and some other things. Cals tables can be processed, albeit as separate documents only - not as part of the docbook file - and then imported as pdf files. This was too cumbersome for me, and does not agree with the tex philosophy. I therefore gave up. For some reason finetuning of, for example, the positioning of graphics, and headers as widows is more difficult than in a context document, at least I got this impression. Robert Op 2 jun 2011, om 22:20 heeft Hans Hagen het volgende geschreven: > On 2-6-2011 7:17, Bruce wrote: >> Hans Hagen wxs.nl> writes: >> >>> >>> On 2-6-2011 12:53, Piotr Kopszak wrote: >>>> Many thanks for your reply! I would certainly go this way having a >>>> couple of months or a year perspective. Besides I'm eager to try >>>> finally the new way mkIV deals with xml. But realistically, preparing >>>> and testing a mapping of even a subset of DocBook is a question of at >>>> least a couple of personmonths if not worse. Sadly, I'm not in a >>>> position to that now. >>> >>> Months? I never had a reason for doing a docbook mapping but a couple of >>> hours should get you a start. Th eonly reason why I'd look into docbook >>> is if I'd need in in a project. (I'd happily spent a few well paid >>> months on it then.) >>> >>> You probably don't need all of docbook, so you could start with some >>> simple tests. The mkii docbook stuff you mentioned definitely is doing a >>> small subset. >> >> I never understand why you would try to typeset XML directly in ConTeXt? >> Why not just convert the DocBook to ConTeXt source using XSLT (or if the >> docs are simpler, use markdown with pandoc and you can easily get ConTeXt >> and HTML from the same source)? > > (1) because xslt mappings can become pretty unreadable > (2) because you still need to make a file (and define environments) > (3) because it then create another depencency and intermediate processing stage > (4) because sometimes it makes sense to let the typesetting engine make decisions > (5) because in mkiv one can apply lua functions to xml content > (6) ... > > anyhow, the whole idea of xml is that it can be processed by whatever machinery (and using xslt and/or xsl-fo for everything kin dof contradicts that) > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________