docbook problem

Started by Bruce Momjianalmost 25 years ago10 messagesdocs
Jump to latest
#1Bruce Momjian
bruce@momjian.us

I get the following output from:

gmake programmer.html

I am missing something? Configure says I don't have DocBook V3.1. Any
idea how I configure that with OpenJade?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/errtext/plainDownload
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#1)
Re: docbook problem

Bruce Momjian writes:

I get the following output from:

gmake programmer.html

I am missing something? Configure says I don't have DocBook V3.1. Any
idea how I configure that with OpenJade?

Set the environment variable SGML_CATALOG_FILES to point to the catalog
file for for DocBook V3.1, e.g.

export SGML_CATALOG_FILES=/somewhere/docbook31/docbook.cat

See also:

http://www.docbook.org/tdg/html/appa.html

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#3Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#2)
Re: docbook problem

Bruce Momjian writes:

I get the following output from:

gmake programmer.html

I am missing something? Configure says I don't have DocBook V3.1. Any
idea how I configure that with OpenJade?

Set the environment variable SGML_CATALOG_FILES to point to the catalog
file for for DocBook V3.1, e.g.

export SGML_CATALOG_FILES=/somewhere/docbook31/docbook.cat

See also:

http://www.docbook.org/tdg/html/appa.html

OK, I am farther now. The problem now is that the output is streaming
to my screen as flat text, rather than creating html. Any ideas?

Make output attached.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/errtext/plainDownload
#4Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#3)
Re: docbook problem

Bruce Momjian writes:

OK, I am farther now. The problem now is that the output is streaming
to my screen as flat text, rather than creating html. Any ideas?

This is a weird behaviour of jade if it can't read the style sheet. You
need to add the DSSSL catalog to your SGML_CATALOG_FILES as well:

export SGML_CATALOG_FILES=otherstuff:/some/where/dsssl.cat

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#5Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#4)
Re: docbook problem

Bruce Momjian writes:

OK, I am farther now. The problem now is that the output is streaming
to my screen as flat text, rather than creating html. Any ideas?

This is a weird behaviour of jade if it can't read the style sheet. You
need to add the DSSSL catalog to your SGML_CATALOG_FILES as well:

export SGML_CATALOG_FILES=otherstuff:/some/where/dsssl.cat

Still not working. I don't have a dsssl.cat file. I downloaded
OpenJade, the ISO images (renamed as iso-*.gml), and downloaded the
docbook 3.1 and Norman Walsh style sheets 1.64.

I dumped the ISO and docbook 3.1 in the same directory, and put the
Norman Walsh in a subdirectory called docbook. Is that correct?

Here is a recusive ls of my sgml directory.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/lstext/plainDownload
#6Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#5)
Re: docbook problem

Bruce Momjian writes:

OK, I am farther now. The problem now is that the output is streaming
to my screen as flat text, rather than creating html. Any ideas?

This is a weird behaviour of jade if it can't read the style sheet. You
need to add the DSSSL catalog to your SGML_CATALOG_FILES as well:

export SGML_CATALOG_FILES=otherstuff:/some/where/dsssl.cat

Still not working. I don't have a dsssl.cat file. I downloaded
OpenJade, the ISO images (renamed as iso-*.gml), and downloaded the
docbook 3.1 and Norman Walsh style sheets 1.64.

I dumped the ISO and docbook 3.1 in the same directory, and put the
Norman Walsh in a subdirectory called docbook. Is that correct?

Got it working.

I did a Usenet search and someone mentioned having the Jade catalog file
in your SGML_CATALOG_FILES. I didn't have it in there. I only had
docbook and the Walsh style sheets. In fact openjade 1.3 has in its
Makefile:

$(TARGETS): FORCE
@$(MAKE) -f Makefile do=$@ $(dodirs)
@if test $@ = 'install'; then \
$(LIBTOOL) --finish $(libdir); \
mkdir -p $(datadir); \
cp -f dsssl/builtins.dsl $(datadir); \
fi;

This copies only the builtins.dsl file to /usr/local. I made a
/usr/local/sgml/jade directory, put _all_ the /dsssl file in it, added
it to my SGML_CATALOG_FILES, and it worked.

So obvious, I don't know why I didn't think of it earlier. NOT! It is
software like this that give open source a bad name. :-)

Is there some trick I missed that would make the dsssl files visible
more automatically?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#7Thomas Lockhart
lockhart@fourpalms.org
In reply to: Bruce Momjian (#6)
Re: docbook problem

Is there some trick I missed that would make the dsssl files visible
more automatically?

You can make your own catalog file which points at the other catalog
files. You still need to set SGML_CATALOG_FILES (to that one
ubercatalog), or you need to rebuild openjade to know where the correct
default location is.

The Mark Gallesi/Cygnus rpms got this right a couple of years ago, but
the last one or two distros of Mandrake were a bit screwed up.
Mandrake-8.0 is somewhat better, but not perfect. Not sure how Red Hat
does on their rpms...

- Thomas

#8Noname
eschmid+sic@s.netic.de
In reply to: Thomas Lockhart (#7)
Re: docbook problem

On Fri, May 25, 2001 at 06:02:47AM +0000, Thomas Lockhart wrote:

Is there some trick I missed that would make the dsssl files visible
more automatically?

You can make your own catalog file which points at the other catalog
files. You still need to set SGML_CATALOG_FILES (to that one
ubercatalog), or you need to rebuild openjade to know where the correct
default location is.

The Mark Gallesi/Cygnus rpms got this right a couple of years ago, but
the last one or two distros of Mandrake were a bit screwed up.
Mandrake-8.0 is somewhat better, but not perfect. Not sure how Red Hat
does on their rpms...

Use a Debian distribution. We used last year Mandrake and there was no way
to build the PHP manual. I have been on there booth and they have told me
that Mandrake is making the manuals with DocBook. But they can't tell me,
where the needed files are hidden in rpms.

BTW: we have this year a booth at the LinuxDays also. It would be great if
some people from the PostgreSQL community can visit our booth.

-Egon

--
LinuxTag, Stuttgart, Germany: July 5-8 2001: http://www.linuxtag.de/
All known books about PHP and related books: http://php.net/books.php
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/

#9Joseph Paris
paris@mcs.anl.gov
In reply to: Bruce Momjian (#6)
Deadlock

Hey,

I was wondering how pgsql handles multile requests to lock a table? Say
there are 5 concurent threads attempting a lock on a DB... does pgsql
assign an arbritrary order to these requests or does it just ignore?

Thanks,
Joe Paris

#10Peter Eisentraut
peter_e@gmx.net
In reply to: Joseph Paris (#9)
Re: Deadlock

Joseph Paris writes:

I was wondering how pgsql handles multile requests to lock a table? Say
there are 5 concurent threads attempting a lock on a DB... does pgsql
assign an arbritrary order to these requests or does it just ignore?

Presuming that the locks actually conflict, the other 4 will block waiting
for the first transaction to release the lock. See LOCK reference page.

Btw., this is not the mailing list for usage questions.

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter