This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't create alt-tag from textobject


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]