From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67164 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: Re: cals tables - UNSOLVED Date: Sat, 19 Mar 2011 09:10:04 +0100 Message-ID: <4B192494-CA20-43A8-9E88-700F161EC936@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> <506D6753-407C-48E3-8EE2-AB2D7DCE3F6F@hccnet.nl> <8EE590AC-597D-454A-BED3-A69ADF17E388@hccnet.nl> <78B175D1-D98C-4958-9101-663B74D9C860@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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300522224 15444 80.91.229.12 (19 Mar 2011 08:10:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 08:10:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 09:10:18 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 1Q0rEj-00077t-Nn for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 09:10:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC332CAB34; Sat, 19 Mar 2011 09:10:07 +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 bK9P41YR+uMC; Sat, 19 Mar 2011 09:10:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4CEF1CAAF9; Sat, 19 Mar 2011 09:10:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EA1CCAAF9 for ; Sat, 19 Mar 2011 09:10:03 +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 GmY099vv-AtV for ; Sat, 19 Mar 2011 09:10:01 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 1F1A9CAA6F for ; Sat, 19 Mar 2011 09:10:01 +0100 (CET) Original-Received: from cpsmtpb-ews03.kpnxchange.com (cpsmtpb-ews03.kpnxchange.com [213.75.39.6]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2J8A55P017000 for ; Sat, 19 Mar 2011 09:10:05 +0100 Original-Received: from cpbrm-ews33.kpnxchange.com ([10.94.84.164]) by cpsmtpb-ews03.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 19 Mar 2011 09:10:05 +0100 Original-Received: from CPSMTPM-CMT101.kpnxchange.com ([195.121.3.17]) by cpbrm-ews33.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 19 Mar 2011 09:10:05 +0100 Original-Received: from imac-van-robert.lan ([77.168.85.243]) by CPSMTPM-CMT101.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Sat, 19 Mar 2011 09:10:04 +0100 In-Reply-To: <78B175D1-D98C-4958-9101-663B74D9C860@hccnet.nl> X-Mailer: Apple Mail (2.1082) X-OriginalArrivalTime: 19 Mar 2011 08:10:04.0641 (UTC) FILETIME=[0D8BA510:01CBE60D] X-RcptDomain: ntg.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.75.39.6; 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: 0eEkUa5I4 - 38cff03ba455 - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:67164 Archived-At: Dear All, After having succeeded with Aditya's kind help to typeset a table file in a separate pdf, I have been trying to typeset the cals tables in my docbook xml file in two ways: A. directly in the document. The table is in //section/cals:table. The cals module is loaded at the beginning of the document. But in the pdf there is no trace of any table. Do I need to add definition somewhere? Perhaps in this list where the xml items are introduced? \xmlsetsetup{#1}{article|footnote|foreignphrase|section [snippet] para|quote|itemizedlist|listitem}{xml:*} This would be contrary to working with the directives and the cals module. B. as a separate document in a mediaobject Usually docbook files can contain tables, but there is nothing against imported a separate files. I chose to use the graphics wrapper: (I also tried fileref="test2.xml") I know that the object is found, because I use a marker (TABEL 3), which is printed in the pdf. \startxmlsetups xml:mediaobject:imageobject:imagedata:tabel \xmlloaddirectives{directives.xml} TABEL 3 \xmlprocess{xml:cals:process}{\xmlatt{#1}{fileref}}{} \stopxmlsetups The xml file, and I believe here the table file is meant, is not imported though. The log file says that the xml file is invalid, but that is not true. It is Hans' simple test table (alpha, betha, gamma), it is validated by xml software, and moreover, it can be typeset without any problems in a separate pdf. \pages > flushing realpage 24, userpage 24 lxml : 9 directives found in 'directives.xml', 9 valid load > invalid xml file - parsed text The log file also says that the text is parsed. But there is no text from the table in the pdf. %I tried loading the directives in various places, e.g. directly after the module in the top of the document and after the command \startxmlsetups xml:dbsetups. Well, has anyone any advice? Or should I give up on this? Regards, Robert ___________________________________________________________________________________ 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 ___________________________________________________________________________________