This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Can't create alt-tag from textobject
- From: Scott Hudson <Scott dot Hudson at Sun dot COM>
- To: Lars Bjørndal <lars dot bjorndal at grieg dot uib dot no>
- Cc: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 11 Feb 2003 09:46:55 -0700
- Subject: Re: DOCBOOK-APPS: Can't create alt-tag from textobject
- References: <m3fzqvqgkc.fsf@fox.broadpark.no>
- Reply-to: Scott dot Hudson at Sun dot COM
Lars,
I've been able to get alt text using <figure>, but I don't know if that's exactly what you are looking for...
<figure>
<title>Logo</title>
<mediaobject>
<imageobject>
<imagedata fileref="Pictures/fig2_platform_arch.png" format="PNG"
scale="75" width=" " />
</imageobject>
</mediaobject>
</figure>
Perhaps something similar could be done with:
<imageobject>
<objectinfo><title>Logo</title></objectinfo>
<imagedata fileref="./logo.png" align="center" />
</imageobject>
Don't know if this is a customization or should be an RFE, but the 2nd sample doesn't generate alt text for me either.
HTH,
--Scott
Lars Bjørndal wrote:
>
> Look at this, please:
>
> <!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
> <Article lang="no">
>
> <articleinfo>
> <mediaobject>
> <imageobject>
> <imagedata Fileref="./logo.png" align="center">
> </imageobject>
> <textobject>
> <phrase>Logo</phrase>
> </textobject>
> </mediaobject>
> ...
>
> While producing html, I can't get the alt-tag. I have also tried to
> place this sequence at another location in the document, but it gives the
> same result. What can I do to get the alt-tag?
>
> Lars