I'm not sure why, but I've always used this system:

 <figure>
     <title>The slide management window</title>
     <graphic fileref="../images/webswf-slide.gif"></graphic>
 </figure>

It worked on both HTML and PDF generation, but I used a different toolchain:
xsltproc for HTML and fop for PDF generation.

BTW the last time I did it was several months ago and I don't remember all
the details, I only remember spending *a lot* of time figuring out how to do
this task.

Hope it helps.

Regards.

2007/1/31, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

Hello,

I am in process of writing the specification of UI framework (meaning
Hildon Desktop & Control panel) and we have chosen docbook xml format. I
am quite new to docbook and don't know really all the tricks with it, so
maybe somebody of you would know better:
Here is my question: I have tried to embed images on the document (for
example screenshot, diagrams etc. with different formats), but for some
reason it haven't worked for me, the image caption gets on its place
etc. but there is no picture in the pdf, so would you have some idea
what migth I been doing wrong?

I have tried to embed a screenshot of hildon desktop like this:

     <figure><title>Hildon Desktop: Task Navigator, Status bar,
Home</title>
       <screenshot>
       <mediaobject>
         <imageobject>
           <imagedata fileref="hildondesktop.jpg" format="JPEG"/>
         </imageobject>
         <textobject>
           <phrase>Screenshot of Hildon Desktop</phrase>
         </textobject>
       </mediaobject>
     </screenshot>
     </figure>

Then I tried to embed another image like this:
        <figure><title>Example MSC</title>
          <mediaobject>
            <imageobject><imagedata fileref="examplemsc.eps"
format="EPS"/></imageobject>
            <textobject><phrase>Example message
sequence</phrase></textobject>
          </mediaobject>
        </figure>

Neither of these images are visible in the generated pdf.
Obviously there might be something wrong in the command line used to
generate the pdf, currently it has been like this:
docbook2pdf hildon-desktop-spec.xml -o pdf

I am getting some latex warnings though, but not sure what they mean, as
I am not a latex guru.
Any ideas? Thanks.

Best Regards,
Karoliina


_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers




--
Alessandro Pasotti
w3:   www.itopen.it
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to