LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Alan Kennington <ak.linuxsa@topology.org>
  To  : LinuxSA <linuxsa@linuxsa.org.au>
  Date: Fri, 3 Jan 2003 05:14:15 +1030

Re: docbook "hello world" for SuSE linux

On Thu, Jan 02, 2003 at 07:15:15AM +1030, Alan Kennington wrote:
> Can anyone tell me how to get a "hello world" DocBook document
> going on SuSE linux?
> 

Due to the generous assistance of Peter Gossner, I've finally
worked out how to solve the problem.
My hello-world document compiles now.

In case anyone wanted to know the answer, here's what I did in
a C-shell:

===================================================================
setenv SGML_CATALOG_FILES /usr/share/sgml/CATALOG.docbk31:/usr/share/sgml/openjade/catalog:/usr/share/sgml/docbook/dsssl-stylesheets-1.77/catalog

openjade -d /usr/share/sgml/docbook/utils-0.6.6/docbook-utils.dsl#html -t html design2.sgml
=================================================================== 

This compiles the file design2.sgml to the desired HTML files.
It's pretty obvious really... not!

I can't find any documentation of the SGML_CATALOG_FILES env variable
for openjade. I found out how to do this and the rest of the
parameters by examining the "docbook2html" script "jw".

Somehow I can't really imagine that the above commands are the way
beginners are supposed to get started. After all, in C, you do

    cc hello.c

and in TeX, you do

    tex hello.tex

I sort of naively assumed there would be a kind of

    docbook hello.sgml

Obviously not..... Unless someone can tell me different.

Cheerio,
Alan Kennington.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page