This is the mail archive of the
docbook-tools-discuss@sources.redhat.com
mailing list for the docbook-tools project.
Re: alt= in HTML
- To: Peter Toft <pto at sslug dot dk>
- Subject: Re: alt= in HTML
- From: Eric Bischoff <ebisch at cybercable dot tm dot fr>
- Date: Thu, 07 Sep 2000 10:48:04 +0200
- CC: docbook-tools-discuss at sourceware dot cygnus dot com
- References: <Pine.LNX.4.21.0009062354070.24502-100000@laptop.linus.dk>
Peter Toft wrote:
>
> wanted to transfer my Docbook->HTML generated book for
> blind people. They have a speach synthesis, but need
> the pictures to have the alt-tag set in the HTML code.
>
> I normally make a Docbook picture by
>
> <FIGURE ID="pto-fig" FLOAT="1">
> <TITLE>Peter Toft</TITLE>
> <GRAPHIC FILEREF="pto" SCALE="80"></GRAPHIC>
> </FIGURE>
>
> but this does not allow me to get an HTML code
>
> <IMG src="pto.png" alt="Peter Toft">
>
> which I need - I would accept, if I have to add the
> alt-text again - or something like that, but I need
> clues whether it is possible to get the alt-tag
> automagically :-)
Have you tried a <mediaobject>? It is specifically done to support
several formats for the same "object". So the user can view/hear/read a
picture, a sound, and a text, depending on how the people can/want to
see it.
BTW, it also solves the old problem "I want a PNG in HTML, and an EPS in
PostScript"
--
Éric Bischoff - mailto:ebisch@cybercable.tm.fr
__________________________________________________
\^o~_.
.~. ______ /( __ )
/V\ Toys story \__ \/ ( V
// \\ \__| (__=v
/( )\ |\___/ )
^^-^^ \_____( )
Tux Konqui \__=v
__________________________________________________