OK, sorry about all these posts, but after rooting around I see that Lyx is using tex4ht, so it seems what I need help with is how to add the code into the lyx document so it adds the alt text when exporting to html.

Thanks.

Graham

On 1 Mar 2008, at 15:46, Graham Smith wrote:

Given the lack of response I assume there is no easy answer to this, however, with help elsewhere it seems that this can be done with tex4ht which is part of the Mactex distribution.

This is done with one of the following commands

1        \Picture[replaOkcement-for-textual-browser]{file-name attributes}
2 \Picture+[replacement-for-text-browsers]{file-name attributes} content\EndPicture 3 \Picture*[replacement-for-text-browsers]{file-name attributes} content\EndPicture

This leads me to additional questions.

1. what program does lyx use for the HTML conversion (on the Mac), I presume it tells me on the wiki somewhere but I can't find it.

2. I have tried several ways of using command 1 above to try and add the alt text into the graphics latex options, but get compile errors. the commands are obviously meant for tex4ht, but I thought I would give it a try..

3. Assuming tex4ht isn't one of the two HTML export options in Lyx, can I add it as an export option menu item.

Thanks,

Graham


On 28 Feb 2008, at 14:47, Graham Smith wrote:

Before exporting from Lyx to HTML, is there a way of providing alternate text for the figures.

I see in the graphics dialog box there is space for for some Latex code and I am hoping this might provide the mechanism.

Thanks,

Graham






Reply via email to