[maemo-developers] [maemo-developers] Advise on embedding images on docbook document?

From: Alessandro Pasotti apasotti at gmail.com
Date: Wed Jan 31 16:54:34 EET 2007
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, Karoliina.T.Salminen at nokia.com <Karoliina.T.Salminen at nokia.com>:
>
> 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 at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>



-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070131/2090fbac/attachment.htm 
More information about the maemo-developers mailing list