This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Imageobject -> html and fo
- From: JP M <jpm_tmp2 at yahoo dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sun, 10 Apr 2005 14:46:31 -0700 (PDT)
- Subject: [docbook-apps] Imageobject -> html and fo
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=6Xn72BvX00saF4AjDd5omlD07j5/p1MosjXe3cSHjpsq9n4suGSr9v2c+tVD14vIBgTE9mywDrBR3C0hTxribnmhAj+9AKbY2Pl8L/cVfn0I7ZxYx5IKzvZDaXXGpevVvFVDTasjpw7FDHkUOjKIvAV/NWbZQ/HwglfKjicOCjM= ;
Hello list,
I am new to the list, I apologize in advance if I have
missed a faq or some other available info.
Here is my problem. I have the following Docbook
document:
----
...
<mediaobject>
<imageobject>
<imagedata fileref="img-small.jpg" format="JPG"/>
</imageobject>
<imageobject>
<imagedata fileref="img-large.jpg" format="JPG"/>
</imageobject>
<imageobject>
<imagedata fileref="img-large.eps" format="EPS"/>
</imageobject>
<textobject><phrase>Click me</phrase></textobject>
<caption><para>A nice illustration</para></caption>
</mediaobject>
<para>...
----
I am trying to generate a pdf and an html file. I
would like the pdf to include the eps image. I would
like the html to display the smaller one, enclosed in
an anchor to pop-up the larger one when clicked.
I think I can't add an ulink/olink around the
mediaobject, I want to keep the caption so won't use
inlineobject, and finally I would rather avoid a
clickable image in the PDF.
I came to the conclusion I should modify some
templates (name=select.mediaobject.index in math.xsl,
match=mediaobject in graphics.xsl) to achieve the html
trick, but obviously I am out of my league. I am using
docbook-xsl 1.68.1.
Any hint ?
TIA
--JP
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/