ksgmltools (additional question)

mh moloch at nikocity.de
Fri Jul 14 15:44:53 BST 2000


Andreas at bluewin.ch, Don, 13 Jul 2000 :
> If you look at the SGML DTD you'll notice that the img tag isn't part of
> the syntax. Only ksgml2html recognizes it. This is way to do it with HTML
> and PS versions.
> 
> <#if output="html"><img src="Overview.png"></#if> 
> 
> <#unless output="html">
> <figure loc="here"> <eps file="Overview.eps" height="8cm" angle="0">
> <caption>Kernel Subsystem Overview </figure>
> </figure>
> </#unless> 
> 
> The sgmltools will report an error, but the result is fine. sgml2html will
> not work, but ksgml2html and all the other sgml2*. Note: The eps tag is
> part of SGML.

Hi again,
thanks for your reply.
Actually my problem is, that ksgml2html produces nothing but five lines
in KDevelops output view :-(
The documentation isn't generated, no matter whether I try to insert an image
or not.

Using existing index.nif.
sgml2html: can't find -N or -N.sgml
Copying icons...
 Done.
*** Erfolg *** (=success)

When I look at the ksgml2html script, I see the following line:

sgml2html --style=nice -N $base -l $2

I tried to replace this with sgml2html --style=nice $1 $base -l $2
Afterwards it worked. But the result is the same as with sgml2html.
(and it's still not possible to add an image)
It seems, that the -N option is interpreted as the name of the *.sgml file.
I must be doing something plain stupid, but I just have no idea what it is.
Can somebody please help?

Thanks a lot 
Michael

BTW I tried this with ksgml2html version 0.6 (from kdesdk) and with another one 
installed from tarball kdesgmltools-0.5-20000303.tar.gz
Sgmltools version is 1.5




More information about the KDevelop mailing list