docbook: Problem: Setup Docbook Tools and Running First Test


Previous by date: 29 Mar 2001 20:52:43 -0000 Re: revision history in DocBook 's, Greg Ferguson
Next by date: 29 Mar 2001 20:52:43 -0000 Re: Problem: Setup Docbook Tools and Running First Test, Jim Weller
Previous in thread: 29 Mar 2001 20:52:43 -0000 Problem: Setup Docbook Tools and Running First Test, James Weller
Next in thread: 29 Mar 2001 20:52:43 -0000 Re: Problem: Setup Docbook Tools and Running First Test, Jim Weller

Subject: Re: Problem: Setup Docbook Tools and Running First Test
From: "Jim Weller" ####@####.####
Date: 29 Mar 2001 20:52:43 -0000
Message-Id: <003401c0b892$44233d30$4b86e589@sliver>

----- Original Message -----
From: ####@####.####
To: "James Weller" ####@####.####
Sent: Thursday, March 29, 2001 8:20 AM
Subject: Re: Problem: Setup Docbook Tools and Running First Test

Hmm. I haven't read the DocBook mini-HOWTO, but I did very recently install
the DocBook 4.1 XML support and got it working.

Maybe we should try this by narrowing it down to one variable at a time,
rather than adding every available version of DocBook to your
SGML_CATALOG_FILES variable all at once.

If you know the version of DocBook you're working with, can you display the
contents of the directory that contains its DTD and any subdirectories with
'ls -l'?

Can you display the contents of test.sgml for us, so we know which version
of DocBook you're working with?

(Apologies for the lengthy post...)

My directory structure looks like:

[dan@denials dan]$ ls -l /usr/lib/xml/docbook-4.1
total 348
-rw-r--r--    1 root     root         2409 Mar 24 09:57 40chg.txt
-rw-r--r--    1 root     root          603 Mar 24 09:57 41chg.txt
-rw-r--r--    1 root     root         3936 Mar 24 09:57 ChangeLog
-rw-r--r--    1 root     root         8352 Mar 24 09:57 calstblx.dtd
-rw-r--r--    1 root     root         6268 Mar 24 09:53 dbcentx.mod
-rw-r--r--    1 root     root         1605 Mar 24 09:53 dbgenent.mod
-rw-r--r--    1 root     root        59188 Mar 24 09:53 dbhierx.mod
-rw-r--r--    1 root     root         4316 Mar 24 09:53 dbnotnx.mod
-rw-r--r--    1 root     root       203338 Mar 24 09:53 dbpoolx.mod
-rw-r--r--    1 root     root         3693 Mar 24 14:46 docbook.cat
-rw-r--r--    1 root     root         4658 Mar 24 09:58 docbookx.dtd
drwxrwxr-x    2 root     root         4096 Mar 24 09:49 ent
-rw-r--r--    1 root     root          448 Mar 24 09:58 readme.txt
-rw-r--r--    1 root     root        12587 Mar 24 09:53 soextblx.dtd
[dan@denials dan]$ ls -l /usr/lib/xml/docbook-4.1/ent
total 96
-rw-rw-r-- 1 root root 3866 Mar 24 09:49 iso-amsa.ent
-rw-rw-r-- 1 root root 2548 Mar 24 09:49 iso-amsb.ent
-rw-rw-r-- 1 root root 718 Mar 24 09:49 iso-amsc.ent
-rw-rw-r-- 1 root root 3227 Mar 24 09:49 iso-amsn.ent
-rw-rw-r-- 1 root root 1313 Mar 24 09:49 iso-amso.ent
-rw-rw-r-- 1 root root 3709 Mar 24 09:49 iso-amsr.ent
-rw-rw-r-- 1 root root 3220 Mar 24 09:49 iso-box.ent
-rw-rw-r-- 1 root root 4311 Mar 24 09:49 iso-cyr1.ent
-rw-rw-r-- 1 root root 1910 Mar 24 09:49 iso-cyr2.ent
-rw-rw-r-- 1 root root 834 Mar 24 09:49 iso-dia.ent
-rw-rw-r-- 1 root root 3002 Mar 24 09:49 iso-grk1.ent
-rw-rw-r-- 1 root root 1735 Mar 24 09:49 iso-grk2.ent
-rw-rw-r-- 1 root root 2563 Mar 24 09:49 iso-grk3.ent
-rw-rw-r-- 1 root root 2649 Mar 24 09:49 iso-grk4.ent
-rw-rw-r-- 1 root root 4554 Mar 24 09:49 iso-lat1.ent
-rw-rw-r-- 1 root root 8759 Mar 24 09:49 iso-lat2.ent
-rw-rw-r-- 1 root root 4085 Mar 24 09:49 iso-num.ent
-rw-rw-r-- 1 root root 4590 Mar 24 09:49 iso-pub.ent
-rw-rw-r-- 1 root root 3002 Mar 24 09:49 iso-tech.ent

Wonderful, eh? No messy renaming scripts, I just had to put the 'ent'
directory in a subdirectory of the docbook-4.1 directory. And I didn't need
to link 'docbook.cat' to 'catalog', since I'm building up
SGML_CATALOG_FILES myself.

I wrote a little script that takes care of the dirty details of
SGML_CATALOG_FILES and jade; only two entries were needed in
SGML_CATALOG_FILES:
[dan@denials dan]$ cat `which dbxml`
#!/bin/bash
export
SGML_CATALOG_FILES=/usr/lib/xml/docbook-4.1/docbook.cat:/usr/doc/jade-1.2.1/
dsssl/catalog
jade -t sgml -i html -d
/usr/lib/sgml/stylesheets/nwalsh-modular/html/ldp.dsl
/usr/doc/jade-1.2.1/pubtext/xml.dcl $@

Note that I copied the 'ldp.dsl' stylesheet into the same directory as the
nwalsh-modular stylesheets. My installation of Jade is from the Red Hat 6.2
RPM; non-Red Hat users could probably just 'locate xml.dcl' and use the
corresponding path.

Dan
----------------------------------------------------------------------------
----

Dan Scott -- DB2 ID (App. Dev. Team)
Email: ####@####.####


James Weller ####@####.#### on 03/29/2001 04:03:31 AM

Please respond to James Weller ####@####.####

To:   ####@####.####
cc:
Subject:  Problem: Setup Docbook Tools and Running First Test


Hi,
I've set up doctools and am using doctools for the first time. I'll
spare the list the noise of a descritpion because I have a detailed
description and history of what I've done thus far and the error
messages I'm recieving at the following URL

http://www.jimweller.net/article.php?sid=26&mode=&order=0

I hope one of the more experience doctools users can shed some light on
this for me. Thx in advance.

Jim Weller



_________________________
http://list.linuxdoc.org/







Previous by date: 29 Mar 2001 20:52:43 -0000 Re: revision history in DocBook 's, Greg Ferguson
Next by date: 29 Mar 2001 20:52:43 -0000 Re: Problem: Setup Docbook Tools and Running First Test, Jim Weller
Previous in thread: 29 Mar 2001 20:52:43 -0000 Problem: Setup Docbook Tools and Running First Test, James Weller
Next in thread: 29 Mar 2001 20:52:43 -0000 Re: Problem: Setup Docbook Tools and Running First Test, Jim Weller


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.