ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "R. Ermers" <r.ermers@hccnet.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: cals tables
Date: Fri, 11 Mar 2011 09:35:33 +0100	[thread overview]
Message-ID: <9E26EDD5-2B1E-4BA2-B39F-04FC510F9DFB@hccnet.nl> (raw)
In-Reply-To: <4D7780E8.4000301@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 3723 bytes --]

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
> ___________________________________________________________________________________


[-- Attachment #1.2.1: Type: text/html, Size: 2051 bytes --]

[-- Attachment #1.2.2: x-cals-test2.xml --]
[-- Type: application/xml, Size: 859 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 4802 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-03-11  8:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 11:26 R. Ermers
2011-03-07 11:41 ` Hans Hagen
2011-03-07 12:41   ` R. Ermers
2011-03-07 21:10     ` R. Ermers
2011-03-08 20:00   ` R. Ermers
2011-03-09 13:30     ` Hans Hagen
2011-03-11  8:35       ` R. Ermers [this message]
2011-03-12 11:46         ` R. Ermers
2011-03-17 10:33           ` cals tables - UNSOLVED R. Ermers
2011-03-18  4:08             ` Aditya Mahajan
2011-03-18  7:47               ` R. Ermers
2011-03-19  8:10                 ` R. Ermers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E26EDD5-2B1E-4BA2-B39F-04FC510F9DFB@hccnet.nl \
    --to=r.ermers@hccnet.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).