From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66883 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: Re: cals tables Date: Sat, 12 Mar 2011 12:46:39 +0100 Message-ID: <506D6753-407C-48E3-8EE2-AB2D7DCE3F6F@hccnet.nl> References: <4C7BC223-69A3-4DE0-A03C-D8CDEB6F35EC@hccnet.nl> <4D74C459.1070604@wxs.nl> <5C3DA588-D509-4A2B-8510-DA6C26A6EFF1@hccnet.nl> <4D7780E8.4000301@wxs.nl> <9E26EDD5-2B1E-4BA2-B39F-04FC510F9DFB@hccnet.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="===============0236262083==" X-Trace: dough.gmane.org 1299930425 27304 80.91.229.12 (12 Mar 2011 11:47:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2011 11:47:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 12 12:47:00 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 1PyNHf-0008JE-AG for gctc-ntg-context-518@m.gmane.org; Sat, 12 Mar 2011 12:46:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A76F0CAAEA; Sat, 12 Mar 2011 12:46:58 +0100 (CET) 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 pRuFZYXOdWax; Sat, 12 Mar 2011 12:46:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD298CAADF; Sat, 12 Mar 2011 12:46:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90EA9CAADF for ; Sat, 12 Mar 2011 12:46:54 +0100 (CET) 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 O19Lv-WOX3sb for ; Sat, 12 Mar 2011 12:46:42 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 9606ECAADD for ; Sat, 12 Mar 2011 12:46:42 +0100 (CET) Original-Received: from cpsmtpb-ews05.kpnxchange.com (cpsmtpb-ews05.kpnxchange.com [213.75.39.8]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2CBkfuB014041 for ; Sat, 12 Mar 2011 12:46:41 +0100 Original-Received: from cpbrm-ews14.kpnxchange.com ([10.94.84.145]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 12 Mar 2011 12:46:40 +0100 Original-Received: from CPSMTPM-CMT106.kpnxchange.com ([195.121.3.22]) by cpbrm-ews14.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 12 Mar 2011 12:46:40 +0100 Original-Received: from imac-van-robert.lan ([77.168.85.243]) by CPSMTPM-CMT106.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Sat, 12 Mar 2011 12:46:39 +0100 In-Reply-To: <9E26EDD5-2B1E-4BA2-B39F-04FC510F9DFB@hccnet.nl> X-Mailer: Apple Mail (2.1082) X-OriginalArrivalTime: 12 Mar 2011 11:46:39.0677 (UTC) FILETIME=[264C86D0:01CBE0AB] 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: 0dEibKF7X - dce3e5cd00dd - 20110312 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:66883 Archived-At: --===============0236262083== Content-Type: multipart/alternative; boundary=Apple-Mail-587--499347906 --Apple-Mail-587--499347906 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear all, First the good news: I have succeeded in typesetting a table! I first changed all tag names from Dear contexers, >=20 > I get the impression that cals tables need to be processed separately = from the main docbook file. > Instead of and , etc. the tags are changed into = , , etc. >=20 > I first tried to process the file x-cals-test.tex pointed to by Hans. >=20 > This file loads two other files > \starttext > \xmlloaddirectives{x-cals-test.cdx} > \xmlprocess{main}{x-cals-test.xml}{} > \stoptext >=20 > However, the file x-cals-test.xml is not valid. >=20 > Therefore I took one of the simple cals tables from within that file, = making sure it contains one of the cdx attributes (cdx=3D"vertical") and = saved it in x-cals-test2.xml. My xml software says that the file is = valid, and it opens normally. >=20 > The file are processed now, but the table is not typeset. > Instead there is an error message printed in the pdf file: invalid xml = file - parsed text. >=20 > The log file says: lxml : no directives found in = 'x-cals-test.cdx' (more log information further) >=20 > It seems that the directives are not processed. >=20 > >=20 >=20 > Regards, >=20 > Robert >=20 >=20 >=20 >=20 > systems : begin file cals-test.tex at line 50 > lxml : no directives found in 'x-cals-test.cdx' > systems : end file cals-test.tex at line 53 > ) > mkiv lua stats : used config file - = /prog2/context/tex/texmf/web2c/texmfcnf.lua > mkiv lua stats : used cache path - = /prog2/context/tex/texmf-cache/luatex-cache/context/b37116f3b39a5afbaa2491= 11be7bfbba > mkiv lua stats : input load time - 0.008 seconds > mkiv lua stats : stored bytecode data - 261 modules, 56 tables, = 317 chunks > mkiv lua stats : loaded tex modules - 1 requested, 1 found = (*-cals), 0 missing > mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 411 > mkiv lua stats : node memory usage - 18 glue_spec > mkiv lua stats : node list callback tasks - 6 unique task lists, 1 = instances (re)created, 397 calls > mkiv lua stats : used backend - pdf (backend for directly = generating pdf output) > mkiv lua stats : result saved in file - cals-test.pdf > mkiv lua stats : fonts load time - 0.197 seconds=20 > mkiv lua stats : luatex banner - this is luatex, version = beta-0.65.0-2010121316 > mkiv lua stats : control sequences - 29719 of 165536 > mkiv lua stats : current memory usage - 41 MB (ctx: 42 MB) >=20 >=20 >=20 >=20 > Op 9 mrt 2011, om 14:30 heeft Hans Hagen het volgende geschreven: >=20 >> On 8-3-2011 9:00, R. Ermers wrote: >>> Dear ConTeXers, >>>=20 >>> I still have not been able to find out how to proceed with my = docbook xml document, which contains a number of cals tables. >>> The cals module is loaded by means of \usemodule[cals]. >>>=20 >>> How to proceed from here? >>>=20 >>> Any clue is appreciated! >>=20 >> x-cals-test.* >>=20 >> in the test suite >>=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 >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > 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-587--499347906 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii http://www.ntg.nl/maps/37/06.pdf= ), but well, I am not a programmer, I need a more straightforward = example in order to understand the logics.

Or = is it too early for these wishes? Perhaps should we accept that, in = spite of everything, for the time being docbook files that contain cals = tables simply cannot be typeset with = ConTeXt?

Regards,

Robert=

P.S. I use a minimal installation on Mac = OS X 10.6.


Op 11 mrt = 2011, om 09:35 heeft R. Ermers het volgende geschreven:

Dear = contexers,

I get the impression that cals = tables need to be processed separately from the main docbook = file.
Instead of <table> and <tbody>, etc. the = tags are changed into <cals:table>, <cals:tbody>, = etc.

I first tried to process the file = x-cals-test.tex pointed to by Hans.

This file = loads two other files
\starttext
\xmlloaddirectives{x-cals-test.cdx}
= \xmlprocess{main}{x-cals-test.xml}{}
\stoptext

However, = the file x-cals-test.xml is not = valid.

Therefore I took one of the simple cals = tables from within that file, making sure it contains one of the cdx = attributes (cdx=3D"vertical") and saved it in x-cals-test2.xml. My xml = software says that the file is valid, and it opens = normally.

The file are processed now, but the = table is not typeset.
Instead there is an error message = printed in the pdf file: invalid = xml file - parsed text.

The log file = says: lxml            : no directives = found in 'x-cals-test.cdx' (more log information = further)

It seems that the directives are not = processed.

<x-cals-test2.xml= >
On 8-3-2011 9:00, R. Ermers wrote:
Dear ConTeXers,

I still have = not been able to find out how to proceed with my docbook xml document, = which contains a number of cals tables.
The cals module is loaded by means of = \usemodule[cals].

How to proceed = from here?

Any clue is = appreciated!

x-cals-test.*

in the test = suite

-------------------------------------------------------------= ----
=             &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
_______= __________________________________________________________________________= __

_________________________________= __________________________________________________
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-587--499347906-- --===============0236262083== 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 ___________________________________________________________________________________ --===============0236262083==--