From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34883 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: docbook in context Date: Mon, 04 Jun 2007 16:14:30 +0200 Message-ID: <46641E46.9070503@hccnet.nl> References: <465FCDD9.6030904@seznam.cz> <4661D9F3.8070402@wxs.nl> <4663F9B7.5010403@seznam.cz> Reply-To: r.ermers@hccnet.nl, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180966504 27285 80.91.229.12 (4 Jun 2007 14:15:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2007 14:15:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 04 16:15:01 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HvDKm-0001Mw-AI for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jun 2007 16:15:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E31F1FD71; Mon, 4 Jun 2007 16:14:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32302-02; Mon, 4 Jun 2007 16:14:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 984AA1FD5E; Mon, 4 Jun 2007 16:14:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 896221FD5E for ; Mon, 4 Jun 2007 16:14:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31977-07 for ; Mon, 4 Jun 2007 16:14:40 +0200 (CEST) Original-Received: from hpsmtp-eml19.kpnxchange.com (hpsmtp-eml19.kpnxchange.com [213.75.38.84]) by ronja.ntg.nl (Postfix) with ESMTP id 461201FB01 for ; Mon, 4 Jun 2007 16:14:40 +0200 (CEST) Original-Received: from hpsmtp-eml03.kpnxchange.com ([213.75.38.103]) by hpsmtp-eml19.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Jun 2007 16:14:40 +0200 Original-Received: from [127.0.0.1] ([81.206.233.107]) by hpsmtp-eml03.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Jun 2007 16:14:39 +0200 User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <4663F9B7.5010403@seznam.cz> X-OriginalArrivalTime: 04 Jun 2007 14:14:40.0028 (UTC) FILETIME=[B094CDC0:01C7A6B2] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34883 Archived-At: Dear All, After having had a great deal of problems when submitting my context files to my publisher, I decided to write future projects in docbook (V4.4), rather than switching to Word or Open Office. From the docbook files I then can generate an rtf or wml file which is much more of use for the publisher, alas. For me this has the extra advantage of viewing the text in an xml editor, such as Xmlmind. My new docbook document processes well in Context and no errors are reported, thanks again Simon and others for this valuable application. However two major problems have come up. The first is a problem with Cals tables and figures: 1. After the section containing a table, all section headings in the following chapters, sections, subsections, even bridgeheads, until the end of the document are omitted, without due error message. 2. Figure titles create an extra section or subsection title. I solved this by using instead and inserting a . For tables using caption is not an option. A second problem is the language label. In the top level of the tree, I add the language label, e.g. . In general, and for fo processors this is, I believe the right place. Context gives the following error message: \dodosetupsometextprefix ...malist [#3]\docommand \else \def \docommand ##1{... l.53 \XMLDBheadtext[nl]{figuren}{Figuren} This disappears when the label (lang="nl") is removed. Perhaps I am not right in putting the language label in this way, if so, please advise. I am grateful for any help, 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________