ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Docbook and Context
@ 2004-11-15 14:14 John Culleton
  2004-11-15 17:21 ` Siep Kroonenberg
  2004-11-15 17:43 ` Henning Hraban Ramm
  0 siblings, 2 replies; 6+ messages in thread
From: John Culleton @ 2004-11-15 14:14 UTC (permalink / raw)


There appear to be two programs dealing with conversion of XML Docbook 
documents to Context, "Docbook in Context" and XSLT.  the former has not 
been updated recently and the latter has documentation dating to 2001. I 
have a potential customer who is XML conversant and wants me to set up his 
document. He will provide it in Docbook format apparently. He has not 
written it yet.  

My question: Are either of the existing tools stable, reliable and complete 
enough for me to take on this task?  Which is recommended for a one-time 
project? What do I need from my customer in addition to the base file of 
the document? 

I have no interest in becoming an XML guru---I just want to bid on this job 
if that makes sense or give the customer a no-bid if I am about to step in 
a swamp. 

-- 
John Culleton

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Docbook and Context
  2004-11-15 14:14 Docbook and Context John Culleton
@ 2004-11-15 17:21 ` Siep Kroonenberg
  2004-11-15 17:43 ` Henning Hraban Ramm
  1 sibling, 0 replies; 6+ messages in thread
From: Siep Kroonenberg @ 2004-11-15 17:21 UTC (permalink / raw)


On Mon, Nov 15, 2004 at 09:14:49AM -0500, John Culleton wrote:
> There appear to be two programs dealing with conversion of XML Docbook 
> documents to Context, "Docbook in Context" and XSLT.  the former has not 
> been updated recently and the latter has documentation dating to 2001. I 
> have a potential customer who is XML conversant and wants me to set up his 
> document. He will provide it in Docbook format apparently. He has not 
> written it yet.  
> 
> My question: Are either of the existing tools stable, reliable and complete 
> enough for me to take on this task?  Which is recommended for a one-time 
> project? What do I need from my customer in addition to the base file of 
> the document? 
> 
> I have no interest in becoming an XML guru---I just want to bid on this job 
> if that makes sense or give the customer a no-bid if I am about to step in 
> a swamp. 
> 
> -- 
> John Culleton

If you are willing to consider LaTeX, have a look at db2latex
(http://db2latex.sourceforge.net/), which uses xslt stylesheets
for conversion. This project appears to be very much alive. See
also http://www.dpawson.co.uk/docbook/tools.html

I don't have personal experience with this.

-- 
Siep Kroonenberg

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Docbook and Context
  2004-11-15 14:14 Docbook and Context John Culleton
  2004-11-15 17:21 ` Siep Kroonenberg
@ 2004-11-15 17:43 ` Henning Hraban Ramm
  1 sibling, 0 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2004-11-15 17:43 UTC (permalink / raw)


Am 15.11.2004 um 15:14 schrieb John Culleton:

> There appear to be two programs dealing with conversion of XML Docbook
> documents to Context, "Docbook in Context" and XSLT.  the former has 
> not
> been updated recently and the latter has documentation dating to 2001. 
> I
> have a potential customer who is XML conversant and wants me to set up 
> his
> document. He will provide it in Docbook format apparently. He has not
> written it yet.
>
> My question: Are either of the existing tools stable, reliable and 
> complete
> enough for me to take on this task?  Which is recommended for a 
> one-time
> project? What do I need from my customer in addition to the base file 
> of
> the document?

I don't know if it helps, but Hans just today pointed to his new 
ThisWay magazine about XML, XSLT etc:

> http://www.pragma-ade.com/show-mag-9.htm
> In this issue I will drop an idea that has been buzzing in my
> mind for a long time: how to comfortably deal with typesetting
> documents coded in \XML, while using the manipulative power of
> \XSLT\ on the one hand and the typesetting capabilities of
> \CONTEXT\ at the other hand, without seeing \TEX\ code.



Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Docbook and Context
  2002-07-03 16:13 scarsoluigi
  2002-07-03 19:42 ` Berend de Boer
@ 2002-07-05 18:47 ` Simon Pepping
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Pepping @ 2002-07-05 18:47 UTC (permalink / raw)


On Wed, Jul 03, 2002 at 06:13:24PM +0200, scarsoluigi@libero.it wrote:
> I start to work on translating a xml document docbook-conformant
> and i really appreaciate any suggestion and information about it.
> (sorry for my horrible english)

I have spent the last few months writing a mapping for DocBook to
ConTeXt (and learning how to use context in the mean time). I just
sent it off to Hans for his input. I hope he has some time to spare so
that it can be published soon.

Regards, Simon

-- 
Simon Pepping
email: spepping@scaprea.hobby.nl


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Docbook and Context
  2002-07-03 16:13 scarsoluigi
@ 2002-07-03 19:42 ` Berend de Boer
  2002-07-05 18:47 ` Simon Pepping
  1 sibling, 0 replies; 6+ messages in thread
From: Berend de Boer @ 2002-07-03 19:42 UTC (permalink / raw)


"=?utf-8?Q?scarsoluigi@libero.it?=" <scarsoluigi@libero.it> writes:

> I start to work on translating a xml document docbook-conformant
> and i really appreaciate any suggestion and information about it.
> (sorry for my horrible english)

Here a really simple example:

% DocBook constructs

% <bookinfo>
\def\BookInfoStart{\startstandardmakeup\let\TitleContent\BookTitle}
\let\BookInfoStop\stopstandardmakeup
\def\BookTitle#1%
  {\startalignment[middle,nothyphenated]{\bfb #1}\stopalignment
   \blank[4cm]}

% <chapter>
\def\ChapterStart{\let\TitleContent\chapter}
\let\ChapterStop\relax

% <sect1>
\def\SectOneStart{\let\TitleContent\section}
\let\SectOneStop\relax

% <para>
\let\ParaStart\par
\let\ParaStop\par

% XML mappings

\defineXMLpickup
  [bookinfo]
  {\BookInfoStart}
  {\BookInfoStop}

\defineXMLpickup
  [chapter]
  {\ChapterStart}
  {\ChapterStop}

\defineXMLpickup
  [sect1]
  {\SectOneStart}
  {\SectOneStop}

\defineXMLargument
  [title]
  {\TitleContent}

\defineXMLpickup
  [para]
  {\ParaStart}
  {\ParaStop}

-- 
Live long and prosper,

Berend de Boer


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Docbook and Context
@ 2002-07-03 16:13 scarsoluigi
  2002-07-03 19:42 ` Berend de Boer
  2002-07-05 18:47 ` Simon Pepping
  0 siblings, 2 replies; 6+ messages in thread
From: scarsoluigi @ 2002-07-03 16:13 UTC (permalink / raw)


I start to work on translating a xml document docbook-conformant
and i really appreaciate any suggestion and information about it.
(sorry for my horrible english)

luigi


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-15 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-15 14:14 Docbook and Context John Culleton
2004-11-15 17:21 ` Siep Kroonenberg
2004-11-15 17:43 ` Henning Hraban Ramm
  -- strict thread matches above, loose matches on Subject: below --
2002-07-03 16:13 scarsoluigi
2002-07-03 19:42 ` Berend de Boer
2002-07-05 18:47 ` Simon Pepping

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).