pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: docbook problem
Date: Thu, 24 May 2001 21:40:17 -0400 (EDT)
Message-ID: <200105250140.f4P1eHC27947@candle.pha.pa.us> (raw)
In-Reply-To: <200105242214.f4OMEdL12977@candle.pha.pa.us>

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



view thread (8+ messages)  latest in thread

Message-ID: <200105250140.f4P1eHC27947@candle.pha.pa.us>
Permalink:  ../200105250140.f4P1eHC27947@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200105250140.f4P1eHC27947@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: pgman@candle.pha.pa.us, peter_e@gmx.net
  Subject: Re: docbook problem
  In-Reply-To: <200105250140.f4P1eHC27947@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox