* alt= in HTML
@ 2000-12-27 6:36 Peter Toft
2000-12-27 6:36 ` Eric Bischoff
2000-12-27 6:36 ` Peter Toft
0 siblings, 2 replies; 3+ messages in thread
From: Peter Toft @ 2000-12-27 6:36 UTC (permalink / raw)
To: docbook-tools-discuss
I was doing a Linux presentation to night and we ended
up discussing the Linux books I have made. The person
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 :-)
--
Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto
"You don't win a battle by asking, `Will we win?'
You win it by doing your best to win"
- Richard M Stallman
----> Visit http://petition.eurolinux.org <---
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: alt= in HTML
2000-12-27 6:36 alt= in HTML Peter Toft
@ 2000-12-27 6:36 ` Eric Bischoff
2000-12-27 6:36 ` Peter Toft
1 sibling, 0 replies; 3+ messages in thread
From: Eric Bischoff @ 2000-12-27 6:36 UTC (permalink / raw)
To: Peter Toft; +Cc: docbook-tools-discuss
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
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
__________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: alt= in HTML
2000-12-27 6:36 alt= in HTML Peter Toft
2000-12-27 6:36 ` Eric Bischoff
@ 2000-12-27 6:36 ` Peter Toft
1 sibling, 0 replies; 3+ messages in thread
From: Peter Toft @ 2000-12-27 6:36 UTC (permalink / raw)
To: docbook-tools-discuss
On Thu, 7 Sep 2000, Peter Toft wrote:
Madhu none told me to add the <alt> tag - seems as a
way to go, if I cannot get the change directly.
BR
> I was doing a Linux presentation to night and we ended
> up discussing the Linux books I have made. The person
> 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.
...
--
Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto
"You don't win a battle by asking, `Will we win?'
You win it by doing your best to win"
- Richard M Stallman
----> Visit http://petition.eurolinux.org <---
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-12-27 6:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27 6:36 alt= in HTML Peter Toft
2000-12-27 6:36 ` Eric Bischoff
2000-12-27 6:36 ` Peter Toft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).