ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XML one more time.
@ 2009-07-14 19:23 John Culleton
  2009-07-14 20:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: John Culleton @ 2009-07-14 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I have the xml sources for the Gimp manual. I can't seem to get them 
to translate to a pdf. The top xml file just contains a series of 
calls to subordinate files. When I run this through Context I get 
just the text of the first file in no particular format and none of 
the subfiles.
I have tried
texexec --environment=gimp gimp.xml
and
texexec --environment=xml gimp.xml

The Gimp advice is to use dblatex, but that seems to think it is on 
a Windows system and generates errors containing code like c:\foo

Now I can hand convert each and every xml statement in each and 
every subfile to a TeX equivalent but there should be a shorter 
way. There are more than 600 subfiles.  Or I can write a program to 
do that to either the xml source or the html derivative.  But I 
hope Context will enable me to do it with less labor. 


BTW the html generation works flawlessly following the approved Gimp
script. 


-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: XML one more time.
  2009-07-14 19:23 XML one more time John Culleton
@ 2009-07-14 20:37 ` Wolfgang Schuster
  2009-07-14 21:36   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2009-07-14 20:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.07.2009 um 21:23 schrieb John Culleton:

> I have the xml sources for the Gimp manual. I can't seem to get them
> to translate to a pdf. The top xml file just contains a series of
> calls to subordinate files. When I run this through Context I get
> just the text of the first file in no particular format and none of
> the subfiles.
> I have tried
> texexec --environment=gimp gimp.xml
> and
> texexec --environment=xml gimp.xml
>
> The Gimp advice is to use dblatex, but that seems to think it is on
> a Windows system and generates errors containing code like c:\foo
>
> Now I can hand convert each and every xml statement in each and
> every subfile to a TeX equivalent but there should be a shorter
> way. There are more than 600 subfiles.  Or I can write a program to
> do that to either the xml source or the html derivative.  But I
> hope Context will enable me to do it with less labor.

You have to define what should happen with each file in the docbook  
source,
there is a old module for ConTeXt to do this but I don't know if it  
works
with a recent installation.

Wolfgang

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


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

* Re: XML one more time.
  2009-07-14 20:37 ` Wolfgang Schuster
@ 2009-07-14 21:36   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2009-07-14 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:

> You have to define what should happen with each file in the docbook source,
> there is a old module for ConTeXt to do this but I don't know if it works
> with a recent installation.

no (as it overloads core macros)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-07-14 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-14 19:23 XML one more time John Culleton
2009-07-14 20:37 ` Wolfgang Schuster
2009-07-14 21:36   ` Hans Hagen

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