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

From: Karoliina.T.Salminen at nokia.com Karoliina.T.Salminen at nokia.com
Date: Wed Jan 31 18:29:30 EET 2007
Hi,
 
>  <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. 

Thanks. This one worked.
I also tried Vlad's tags but they didn't work any better. The image was
missing. But with the graphic-tag, the images
embed providing that they are pixmaps (doesn't seem to work with eps). I
don't know why the mediaobject didn't work out.
I can live with the graphic tag right now. This has taken me time from
the last week when I started fighting with this. I will export from
Umbrello as png since the graphic tag didn't seem to work with eps. 
 
I haven't tried Apache Fob yet because there seem to be no packages for
it to Ubuntu [Feisty] and I have been too lazy to obtain the
source/binary/whatever in the traditional way without the convenience of
apt...
 
Best Wishes,
Karoliina
 

	
	Hope it helps.
	
	Regards.
	
	
	2007/1/31, Karoliina.T.Salminen at nokia.com <
Karoliina.T.Salminen at nokia.com <mailto: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/e512bd4e/attachment.htm 
More information about the maemo-developers mailing list