<x-cals-test2.xml>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}{}\stoptextHowever, 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="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.___________________________________________________________________________________Regards,Robertsystems : begin file cals-test.tex at line 50lxml : 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.luamkiv lua stats : used cache path - /prog2/context/tex/texmf-cache/luatex-cache/context/b37116f3b39a5afbaa249111be7bfbbamkiv lua stats : input load time - 0.008 secondsmkiv lua stats : stored bytecode data - 261 modules, 56 tables, 317 chunksmkiv lua stats : loaded tex modules - 1 requested, 1 found (*-cals), 0 missingmkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 411mkiv lua stats : node memory usage - 18 glue_specmkiv lua stats : node list callback tasks - 6 unique task lists, 1 instances (re)created, 397 callsmkiv lua stats : used backend - pdf (backend for directly generating pdf output)mkiv lua stats : result saved in file - cals-test.pdfmkiv lua stats : fonts load time - 0.197 secondsmkiv lua stats : luatex banner - this is luatex, version beta-0.65.0-2010121316mkiv lua stats : control sequences - 29719 of 165536mkiv lua stats : current memory usage - 41 MB (ctx: 42 MB)Op 9 mrt 2011, om 14:30 heeft Hans Hagen het volgende geschreven: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
-----------------------------------------------------------------
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
___________________________________________________________________________________