What Trish says is true for the XSL stylesheets, but it
looks like Lars is processing SGML, according to the
DOCTYPE declaration in his example. That means he must
be using the DSSSL stylesheets. Anyone know if alt is
supported in the DSSSL stylesheets?
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: [EMAIL PROTECTED]
On Tue, Feb 11, 2003 at 09:03:52AM -0800, Billard, Trish wrote:
> Hi there,
>
> From what I can tell, you can get alt text comes from <phrase>, when <phrase> is
>part of a <textobject> that is then part of a <mediaobject>.
>
> Here's a sample:
>
> <figure>
> <title>The Pythagorean Theorum Illustrated</title>
> <mediaobject><imageobject><imagedata fileref="art/pythag.gif" format="gif"/>
> </imageobject><textobject><phrase>The Pythagorean theorum illustrated with
> rectangles.</phrase></textobject></mediaobject>
> </figure>
>
> Hope this helps.
>
> --Trish
>
> -----Original Message-----
> From: Scott Hudson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 8:47 AM
> To: Lars Bjxrndal
> Cc: docbook-apps
> Subject: Re: DOCBOOK-APPS: 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 Bjxrndal 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
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: [EMAIL PROTECTED]