From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68904 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: Re: DocBook in ConTeXt - any new ideas? Date: Sat, 4 Jun 2011 10:21:08 +0200 Message-ID: <90557B77-F070-48E0-90B7-6E180ED8A09A@hccnet.nl> References: <4DE77C02.50002@wxs.nl> <4DE7F098.2040408@wxs.nl> <4DE90BB7.4080401@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: multipart/mixed; boundary="===============0491262245==" X-Trace: dough.gmane.org 1307175694 28958 80.91.229.12 (4 Jun 2011 08:21:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 08:21:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 04 10:21:29 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 1QSm6j-0002XT-Lr for gctc-ntg-context-518@m.gmane.org; Sat, 04 Jun 2011 10:21:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F342BCAD7F; Sat, 4 Jun 2011 10:21:20 +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 KIdjEgC9FPiy; Sat, 4 Jun 2011 10:21:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C6C3CAD4C; Sat, 4 Jun 2011 10:21:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B91DCAD4C for ; Sat, 4 Jun 2011 10:21:16 +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 ckxY0SK97Kla for ; Sat, 4 Jun 2011 10:21:13 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 93152CAD46 for ; Sat, 4 Jun 2011 10:21:13 +0200 (CEST) Original-Received: from cpsmtpb-ews01.kpnxchange.com (cpsmtpb-ews01.kpnxchange.com [213.75.39.4]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p548L9mt019093 for ; Sat, 4 Jun 2011 10:21:11 +0200 Original-Received: from cpbrm-ews18.kpnxchange.com ([10.94.84.149]) by cpsmtpb-ews01.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 4 Jun 2011 10:21:09 +0200 Original-Received: from CPSMTPM-CMT103.kpnxchange.com ([195.121.3.19]) by cpbrm-ews18.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 4 Jun 2011 10:21:09 +0200 Original-Received: from imac-van-robert.lan ([77.168.85.243]) by CPSMTPM-CMT103.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Sat, 4 Jun 2011 10:21:08 +0200 In-Reply-To: <4DE90BB7.4080401@wxs.nl> X-Mailer: Apple Mail (2.1082) X-OriginalArrivalTime: 04 Jun 2011 08:21:08.0425 (UTC) FILETIME=[5AFFCB90:01CC2290] X-RcptDomain: ntg.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.75.39.4; 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: 03EPIl9U1 - 8d355bba2e3e - 20110604 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:68904 Archived-At: --===============0491262245== Content-Type: multipart/alternative; boundary=Apple-Mail-5-303470136 --Apple-Mail-5-303470136 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Op 3 jun 2011, om 18:28 heeft Hans Hagen het volgende geschreven: > On 3-6-2011 5:43, R. Ermers wrote: >=20 >> 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. >=20 > we process docs with cals tables here Yes, you surely do. Adding the prefix cals: to the tag names (thus making the file invalid, = which is contrary to the docbook philosophy), using the cals table = module and the directives is not enough, at least the cals tables in my = valid xml docbook document were never typeset.=20 With help from Aditya I managed to typeset a document which contains = merely a cals table. I then thought this was going to be the first step = to processing my xml file which contains a number of tables. But alas = ... The tables in my document were skipped like any other unknown xml tag. I = must have done something wrong. But what? There were no replies to my = postings. In the end I felt silly for daring to posing a problem other = people apparently had no problems with whatsoever. So, if you should embark on this track, be aware that typesetting xml is = more complicated than a ConTeXt document, that the knowledge about it is = not widespread yet, that you rely on the happy few who do know, and it = may take a lot of time to find out things yourself. Robert >> 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. >=20 > the same renderer is used so it should be the same >=20 > Hans >=20 >=20 > ----------------------------------------------------------------- > 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! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail-5-303470136 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On 3-6-2011 5:43, R. Ermers wrote:

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.

we process docs with cals tables = here

Yes, you surely = do.

Adding the prefix cals: to the tag names = (thus making the file invalid, which is contrary to the docbook = philosophy), using the cals table module and the directives is not = enough, at least the cals tables in my valid xml docbook document were = never typeset. 

With help from Aditya I = managed to typeset a document which contains merely a cals table. I then = thought this was going to be the first step to processing my xml file = which contains a number of tables. But alas = ...

The tables in my document = were skipped like any other unknown xml tag. I must have done = something wrong. But what? There were no replies to my = postings. In the end I felt silly for daring to posing a problem = other people apparently had no problems with = whatsoever.

So, if you should embark on this = track, be aware that typesetting xml is more complicated than a ConTeXt = document, that the knowledge about it is not widespread yet, = that you rely on the happy few who do know, and it may take a lot of = time to find out things = yourself.

Robert

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.

the same renderer is used so it should = be the same

Hans


---------------------------------------= --------------------------
=             &n= bsp;           &nbs= p;            =     Hans Hagen | PRAGMA ADE
=             &n= bsp;Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
=    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=             &n= bsp;           &nbs= p;            =        | 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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail-5-303470136-- --===============0491262245== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0491262245==--