|James Buchanan||Mar 21, 2002 4:44 pm|
|Matthew Braun||Mar 21, 2002 5:27 pm|
|James Buchanan||Mar 21, 2002 7:01 pm|
|Markus Hoenicka||Mar 21, 2002 11:05 pm|
|Juan R. Migoya||Mar 21, 2002 11:20 pm|
|James Buchanan||Mar 22, 2002 1:33 am|
|Markus Hoenicka||Mar 22, 2002 8:46 pm|
|James Buchanan||Mar 22, 2002 9:43 pm|
|Markus Hoenicka||Mar 23, 2002 1:06 am|
|Dave Pawson||Mar 23, 2002 2:11 am|
|Tomas Aragon||Mar 23, 2002 8:40 pm|
|Mark Johnson||Mar 24, 2002 9:14 am|
|Christopher J. Graham||Mar 24, 2002 4:38 pm|
|Bob Stayton||Mar 24, 2002 6:17 pm|
|Subject:||Re: DOCBOOK-APPS: Help please: new user questions|
|From:||James Buchanan (eul...@northnet.com.au)|
|Date:||Mar 21, 2002 7:01:02 pm|
This is the command line:
C:\> openjade test.sgml -t tex -o test.tex
and here is the file (in test.sgml):
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> <article> <articleinfo> <!- For publication in the Archives of Sexual bahviour, supervised by Dr R. Bauserman -> <title>Adolescent Boys' Sexual Health and Knowledge</title> <author> <firstname>James</firstname> <surname>Buchanan</surname> </author> </articleinfo> <abstract> <para> Most boys in a national probability sample did not know what Hepatitis C was (57%, N = 841) and an alarming percentage of boys did not know how this relatively common Sexually Transmitted Disease (STD) was contracted (93%, N = 841). Most sexually active adolescent boys (72%, N = 320) did not practice safe sex, and had a poor knowledge of sexual health. This article shows that better sex education can help prevent the spread of Hepatitis C, beginning with young men. </para> </abstract> </article>
Thanks Matthew, I really appreciate your help. Where should I install the DocBook catalog file, and how does OpenJade know how to use it?
----- Original Message ----- From: "Matthew Braun" <mbr...@urbana.css.mot.com> To: "James Buchanan" <eul...@northnet.com.au>; <docb...@lists.oasis-open.org> Sent: Friday, March 22, 2002 12:24 PM Subject: Re: DOCBOOK-APPS: Help please: new user questions
I have installed a Win32 OpenJade from SourceForge and still get errors, but different ones this time!
Could you provide the command line you invoked it with? How about the test file?
openjade:test.sgml:1:57:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//EN" openjade:test.sgml:1:57:E: reference to entity "ARTICLE" for which no system identifier could be generated openjade:test.sgml:1:0: entity was defined here openjade:test.sgml:1:57:E: DTD did not contain element declaration for document type name openjade:test.sgml:3:8:E: element "ARTICLE" undefined
It looks like it can't find the docbook DTDs. Do you have a catalog installed, so that it can map the public identifier: "-//OASIS//DTD DocBook V4.1//EN" to a system identifier, i.e. the path that you've installed the DocBook DTD?
In an earlier posting, you wrote:
Where should I put my DocBook distribution files, such as the DTD and such, in the dsssl directory of openjade?
Wherever you want. I'd be inclined to not put them in the dsssl directory, just because the dsssl style sheets and the DTD are two separate components, and it will be easier to update each of them if they're siblings or cousins, rather than parent/child.
And should I update the catalog file to enter PUBLIC "-//OASIS//DocBook v4.0//EN" "docbook.dtd" or whatever? If so, how?
If you are using the docbook.cat file which shipped with DocBook, you shouldn't have to edit anything. (I a customized catalog file, but use the CATALOG directive to include the catalog that's shipped with DocBook.)