Dear All, I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset. \usemodule x-cals.mkiv \xmlloaddirectives x-cals-test.cdx By way of experiment I also used the directives, but no avail either. Should I write an xmlsetup for each element, e.g. \xmlsetsetup{#1}{//thead}{xml:thead} \xmlsetsetup{#1}{//entry}{xml:entry} Can anyone help me out? Thanks in advance. Robert
On 7-3-2011 12:26, R. Ermers wrote:
Dear All,
I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset.
\usemodule x-cals.mkiv
funny syntax \usemodule[cals] ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Thanks, Hans. But yes, I tried that too (and again) before I tried x-cals ([x][cals], x-cals, x-cals.mkiv, etc.). But \usemodule[cals] does not work - the table is not typeset that is. luatex: beta-065.0-2010121316. Robert Op 7 mrt 2011, om 12:41 heeft Hans Hagen het volgende geschreven:
On 7-3-2011 12:26, R. Ermers wrote:
Dear All,
I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset.
\usemodule x-cals.mkiv
funny syntax
\usemodule[cals]
----------------------------------------------------------------- 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 ___________________________________________________________________________________
Dear all, I see in the log file that the cals module is loaded. system : module cals loaded (/prog2/context/tex/texmf-local/tex/context/base/x-cals.mkiv loading : ConTeXt XML Macros / Cals Tables <+ /prog2/context/tex/texmf-local/tex/context/base/x-cals.lua>) But the table is not typeset, which I had expected. I do not know what I need to do now. Do I need to map all elements to those of a Context table? (\bTABLE ...)? (such as in: http://www.mail-archive.com/ntg-context@ntg.nl/msg50536.html) Any advice is welcome. Regards, Robert Op 7 mrt 2011, om 13:41 heeft R. Ermers het volgende geschreven:
Thanks, Hans. But yes, I tried that too (and again) before I tried x-cals ([x][cals], x-cals, x-cals.mkiv, etc.). But \usemodule[cals] does not work - the table is not typeset that is.
luatex: beta-065.0-2010121316.
Robert
Op 7 mrt 2011, om 12:41 heeft Hans Hagen het volgende geschreven:
On 7-3-2011 12:26, R. Ermers wrote:
Dear All,
I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset.
\usemodule x-cals.mkiv
funny syntax
\usemodule[cals]
----------------------------------------------------------------- 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 ___________________________________________________________________________________
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! Regards, Robert
On 7-3-2011 12:26, R. Ermers wrote:
Dear All,
I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset.
\usemodule x-cals.mkiv
funny syntax
\usemodule[cals]
----------------------------------------------------------------- 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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
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="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, Robert 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/b37116f3b39a5afbaa249111be7bfbba 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 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) 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 ___________________________________________________________________________________
Dear all, First the good news: I have succeeded in typesetting a table! I first changed all tag names from