docbook: Linuxdoc 2 html question.


Previous by date: 11 Jan 2001 18:43:39 -0000 Re: Element aliasing?, Gregory Leblanc
Next by date: 11 Jan 2001 18:43:39 -0000 DB to PDF?, Dan York
Previous in thread: 11 Jan 2001 18:43:39 -0000 Linuxdoc 2 html question., Ryan Gallagher
Next in thread:

Subject: Re: Linuxdoc 2 html question.
From: Taketoshi Sano ####@####.####
Date: 11 Jan 2001 18:43:39 -0000
Message-Id: <y5aelyakmpj.fsf@kgh12351.nifty.ne.jp>

Hi.

 (maybe off-topic, since this list is meant for docbook.
  where this question should go ? ####@####.#### is right ?)

In ####@####.####
  on Wed, 10 Jan 2001 19:52:42 -0600,
 "Ryan Gallagher" ####@####.#### wrote:

> here is the activation commandline and result:
> =-=-=-=-=-=-=-
> 
> $ linuxdoc -B html WWW-HOWTO.sgml
> Processing file WWW-HOWTO.sgml
> /usr/bin/onsgmls:/home/os-admin/refs/dtds/docbk31/catalog:22:0:W: DTDDECL
> catalog entries are not supported

> /usr/bin/onsgmls:<OSFD>0:3:8:E: document type does not allow element
> "ARTICLE" here; assuming missing "LINUXDOC" start-tag
> /usr/bin/onsgmls:<OSFD>0:5:6:E: document type does not allow element "TITLE"
> here; assuming missing "TITLEPAG" start-tag
> /usr/bin/onsgmls:<OSFD>0:6:7:E: document type does not allow element
> "AUTHOR" here

> To me it looks like something related to finding the right DTD... did i do
> that part right?

Well, it seems that DTD is understood well, since onsgmls claims that
"LINUXDOC" start-tag should be happen.

What is different than usual, is SGML declaration for linuxdoc dtd.
Linuxdoc DTD does not have its declaration, and uses the default of
SGML parser, which allows omittag in its configuration so far.

Can you find opensp-implied.dcl if you use opensp (onsgmls) ?
It should have lines:

MINIMIZE DATATAG   NO
         OMITTAG   YES
         RANK      YES
         SHORTTAG  YES

If this "OMITTAG YES" is changed to "OMITTAG NO", then it may have
something with this error messages.

Hmm. I found the recent opensp (version 1.5pre4 here) does not work
as old sp. Is there some backward-incompatibility with recent opensp ?

Specifically, SGML source is not read at full, onsgmls just read
the head part of it, and complains that the source is not finished.

sp 1.2.1 successfully does its job as usual on the same system, so
the problem comes from onsgmls (opensp) 1.5pre4.

Regards.
-- 
  Taketoshi Sano: ####@####.####

Previous by date: 11 Jan 2001 18:43:39 -0000 Re: Element aliasing?, Gregory Leblanc
Next by date: 11 Jan 2001 18:43:39 -0000 DB to PDF?, Dan York
Previous in thread: 11 Jan 2001 18:43:39 -0000 Linuxdoc 2 html question., Ryan Gallagher
Next in thread:


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