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: DocBook in ConTeXt - any new ideas?
Date: Sat, 4 Jun 2011 15:25:55 +0200	[thread overview]
Message-ID: <C7AED46A-6A5D-44AE-9D9D-5D5C7C54F379@hccnet.nl> (raw)
In-Reply-To: <D2B5635C-A7C4-40A9-B125-A7609D4AAE68@umich.edu>


Op 4 jun 2011, om 14:24 heeft Aditya Mahajan het volgende geschreven:

> 
> On Jun 4, 2011, at 5:06 AM, Hans Hagen <pragma@wxs.nl> wrote:
> 
>> On 4-6-2011 10:21, R. Ermers wrote:
>> 
>>> Adding the prefix cals: to the tag names (thus making the file invalid, which is contrary to the docbook philosophy), using the cals table module and the directives is not enough, at least the cals tables in my valid xml docbook document were never typeset.
>> 
>> can be any prefix (namespace) ... the code that implements it uses a namespace in order to avoid a mixup
> 
> IIRC, the namespace was hardcoded in the parser (or the call to the parser). Robert's trouble with the cals table could have been resolved if there were a user option to set (or disable) the cals namespace.
> 

Well, I added "cals:" to all tags for ConteXt purposes (<tbody>, <entry> become <cals:tbody>, <cals:entry>, etc.). I examined what Hans' example tables look like.

After the changes, the structure was still that of a cals table, the word cals had been added to each tag, but after this adapation to some particular ConTeXt requirements, the tables in fact could not be called cals tables anymore. The file did no longer comply with the docbook dtd. I didn't mind that much.

Predictably, though, my docbook editing software started complaining. The tables were not rendered in the preview anymore. This was a relatively minor problem.

I don't know whether Aditya's suggestion would have helped.

Robert


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


  reply	other threads:[~2011-06-04 13:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  9:39 Piotr Kopszak
2011-06-02 10:20 ` Thomas Schmitz
2011-06-02 10:53   ` Piotr Kopszak
2011-06-02 12:03     ` Hans Hagen
2011-06-02 17:17       ` Bruce
2011-06-02 20:20         ` Hans Hagen
2011-06-03 15:43           ` R. Ermers
2011-06-03 16:28             ` Hans Hagen
2011-06-04  8:21               ` R. Ermers
2011-06-04  9:06                 ` Hans Hagen
2011-06-04  9:57                   ` R. Ermers
2011-06-04 12:24                   ` Aditya Mahajan
2011-06-04 13:25                     ` R. Ermers [this message]
2011-06-05 10:46                     ` Hans Hagen
2011-06-02 11:58 ` Hans Hagen

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=C7AED46A-6A5D-44AE-9D9D-5D5C7C54F379@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).