public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Indirection
@ 2005-05-10 20:48 Alan Westhagen
  2005-05-11 10:35 ` Indirection Éric Bischoff
  2005-05-13  9:31 ` Indirection Ismael Olea
  0 siblings, 2 replies; 3+ messages in thread
From: Alan Westhagen @ 2005-05-10 20:48 UTC (permalink / raw)
  To: docbook-tools-discuss

I have a lot of documents written in docbook xml which, up until
recently, worked fine with docbook-tools.

A typical header looks like this:

<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "=//OASIS//DTD DocBook XML V4.2//EN" 
              "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[
]>

I can no longer process the documents with docbook-tools.  I believe
the element that has changed is the dtd located at oasis-open.org.

Since I have no power to correct what is installed at
oasis-open.org, I would like to use local files, but with indirection,
so that I do not have to change all the documents each time I
upgrade my system.

I tried to use a symbolic link as the system identifier.  Emacs was
happy with that, but docbook-tools broke.

I tried putting OVERRIDE YES in the catalog file, but the tools
still insist on being able to open the file referenced by the
system identifier.

Does anyone have a simple way of setting up indirection, catalog
based or otherwise, for docbook tools?  My setup is standard
RedHat Enterprise Linux.

Best regards,
Alan

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

* Re: Indirection
  2005-05-10 20:48 Indirection Alan Westhagen
@ 2005-05-11 10:35 ` Éric Bischoff
  2005-05-13  9:31 ` Indirection Ismael Olea
  1 sibling, 0 replies; 3+ messages in thread
From: Éric Bischoff @ 2005-05-11 10:35 UTC (permalink / raw)
  To: docbook-tools-discuss; +Cc: Alan Westhagen

Le Mardi 10 Mai 2005 22:48, Alan Westhagen a écrit :
> I have a lot of documents written in docbook xml which, up until
> recently, worked fine with docbook-tools.
>
> A typical header looks like this:
>
> <?xml version="1.0"?>
> <!DOCTYPE article PUBLIC "=//OASIS//DTD DocBook XML V4.2//EN"
>               "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
> [
> ]>
>
> I can no longer process the documents with docbook-tools.  I believe
> the element that has changed is the dtd located at oasis-open.org.
>
> Since I have no power to correct what is installed at
> oasis-open.org, I would like to use local files, but with indirection,
> so that I do not have to change all the documents each time I
> upgrade my system.

I think that if you declare the local address of
	"=//OASIS//DTD DocBook XML V4.2//EN"
in your catalogs, it should work.

> I tried putting OVERRIDE YES in the catalog file, but the tools
> still insist on being able to open the file referenced by the
> system identifier.

Ah. Then you would have to run a script to remove
               "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
from all your documents. I don't know.

> Does anyone have a simple way of setting up indirection, catalog
> based or otherwise, for docbook tools?  My setup is standard
> RedHat Enterprise Linux.

Sorry, looks like I don't know.

-- 
Never try and teach a pig to sing,
you waste your time and annoy the pig
        - Mark Twain

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

* Re: Indirection
  2005-05-10 20:48 Indirection Alan Westhagen
  2005-05-11 10:35 ` Indirection Éric Bischoff
@ 2005-05-13  9:31 ` Ismael Olea
  1 sibling, 0 replies; 3+ messages in thread
From: Ismael Olea @ 2005-05-13  9:31 UTC (permalink / raw)
  To: Alan Westhagen; +Cc: docbook-tools-discuss

El mar, 10-05-2005 a las 13:48 -0700, Alan Westhagen escribió:

This seems to be an XML/SGML incompatibility I've never had time to
study. 

For me the alternative was using the XML tool-chain. I'm in love with
xmlto :-D

> I have a lot of documents written in docbook xml which, up until
> recently, worked fine with docbook-tools.
> 
> A typical header looks like this:
> 
> <?xml version="1.0"?>
> <!DOCTYPE article PUBLIC "=//OASIS//DTD DocBook XML V4.2//EN" 
>               "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
> [
> ]>
> 
> I can no longer process the documents with docbook-tools.  I believe
> the element that has changed is the dtd located at oasis-open.org.
> 
> Since I have no power to correct what is installed at
> oasis-open.org, I would like to use local files, but with indirection,
> so that I do not have to change all the documents each time I
> upgrade my system.
> 
> I tried to use a symbolic link as the system identifier.  Emacs was
> happy with that, but docbook-tools broke.
> 
> I tried putting OVERRIDE YES in the catalog file, but the tools
> still insist on being able to open the file referenced by the
> system identifier.
> 
> Does anyone have a simple way of setting up indirection, catalog
> based or otherwise, for docbook tools?  My setup is standard
> RedHat Enterprise Linux.
> 
> Best regards,
> Alan

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

end of thread, other threads:[~2005-05-13  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-10 20:48 Indirection Alan Westhagen
2005-05-11 10:35 ` Indirection Éric Bischoff
2005-05-13  9:31 ` Indirection Ismael Olea

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 read-only IMAP folder(s) and NNTP newsgroup(s).