docbook documentation
Stephan Hermann
sh at sourcecode.de
Sat Sep 15 22:42:16 BST 2001
Am Sonntag, 16. September 2001 01:03 schrieb Nils Ulltveit-Moe:
: Hello Stephan
:
: I have not used the mediaobject tag, but defining an entity like
: below, works for me. Using a file reference should work too, even
: though it may be a bit less flexible than using an entity.
Well...I'm reading now the documentation about writing documentation ;) at
i18n.kde.org...and my code is right.
The resulting output in index.cache.bz2 (or in the resulting .html files) is
the following:
<p>
<div class="screenshot"><div class="mediaobject"><div
class="caption"><p>MainWindow</p></div></div></div>
</p>
You see, the <img src...> is missing.
Is it a bug ?
On my RH7.1 system is now installed:
docbook-dtd31-sgml-1.0-10
docbook-style-dsssl-1.64-3
docbook-dtd412-xml-1.0-1
docbook-dtd30-sgml-1.0-10
docbook-dtd40-sgml-1.0-11
docbook-utils-0.6.9-1
docbook-dtd41-xml-1.0-7
docbook-dtd41-sgml-1.0-10
docbook-utils-pdf-0.6.9-1
psgml-1.2.1-13
sgml-common-0.5-7
sgml-tools-1.0.9-12
(I recompiled everything (rawhide))
If nothing works, I'm using you solution.
Thx for your help,
\sh
:
: <!ENTITY fig-1b-hukom SYSTEM "1b-hukom.gif" NDATA GIF>
:
: <figure>
: <title>Protected memory</title>
: <graphic entityref="fig-1b-hukom"></graphic>
: </figure>
:
: Mvh.
: Nils
:
: Stephan Hermann writes:
: > Hi,
: >
: > well, I don't know if it is a bug, problem or feature, but I try to
: > write a documentation, with some screenshots.
: > But, I don't know why, this peace of sgml code isn't interpreted
: > ---------------------------
: > <screenshot>
: > <screeninfo>This is the mainwindow of &kwhois;</screeninfo>
: > <mediaobject>
: > <imageobject>
: > <imagedata fileref="mainwindow.png" format="PNG"/>
: > </imageobject>
: > <textobject>
: > <phrase>Mainwindow</phrase>
: > </textobject>
: > </mediaobject>
: > </screenshot>
: > ----------------------------
: > In the resulting html or index.cache.bz2 file there is no <img src>.
:
: -
: to unsubscribe from this list send an email to
: kdevelop-request at kdevelop.org with the following body: unsubscribe
: »your-email-address«
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list