I would say you've uncovered a 'bug' since the name of the image
should only appear if the image cannot for some reason.
Here's hoping you can find a solution anon,
I would say you've uncovered a 'bug' since the name of the image
should only appear if the image cannot for some reason.
Here's hoping you can find a solution anon,
Did you try to deliver these manuals as pdf ?
How do the users copy to html? Using the LO menu "Save as"? or selectng, then "Edition>Copy" .....?
Je la 24/07/2017 16:48, anne-ology skribis :
Did you try to deliver these manuals as pdf ? /
/
/Have been delivering in pdf and html for a couple of years, and using Lyx for//
//authoring/editing. Open Doc. has been used for translations mainly because//
//it was preferred by the translators. Decided recently to use LO for authoring//
//and delivery so that users can make copies in their preferred format. For both//
//pdf and html have using LO's export function: //
//File>Export as PDF
or//
//File>Export>All formats>html//
//
//The unwanted alternative text only appears on the html exports./
Gordon.
Hi.
Is the HTML format satisfactory in all other aspects for your needs.
I had to correct the HTML in tables exported by writer so am now wary about using it for HTML export.
steve
Hi Steve,
Yes it is satisfactory, it is only the display of the image file names that is
a relatively small nuisance. I can get rid of them by editing properties for each
image, so asked to see if there was a setting that would remove them for the
whole file. Have also had to look at table properties to ensure that framing lines
appeared in the html. HTML also has an advantage in that some software language
translation programmes, e.g. Googletranslate, will preserve the formatting, even
if some of the phrasing and syntax needs correcting.
Gordon.
Hi Gordon.
The CSS styling in my tables was incorrect and text alignment in merged cells was non-existent.
Is there a pattern to the formatting of the unwanted text, could you use sed to remove it.
Steve
Gordon -
I just opened a .odt document with captioned images in LO 5.0, did
File > Export and selected XHTML. (I don't see a separate HTML option.) When I view the resulting file in my Web browser, a lot of things aren't right but the images appear with their captions and no filenames. Am I not doing the same thing as you're doing?- Robert
Robert,
You are correct with the XHTML selection - the smaller print on that line indicates
the selection is correct for html and xhtml. If you secondary click on the image
and select Properties>Options, the popup shows (in my case) the name of the image
and immediately below, a line for Alternative name which is displaying the file name
of the image. it is this filename that appears in the html exports. The fix is to go
to each image Properties and delete whatever is showing in the Alternative name
line.
Gordon.
Gordon -
Yes, I see that indeed my Alternative names are blank, which apparently is the default when a new image is inserted. How did you create your .odt files? Manually? Or by some sort of conversion from another format that defined the Alternative names?
- Robert
Gordon -
I just opened a .odt document with captioned images in LO 5.0, did
File > Export and selected XHTML. (I don't see a separate HTML option.) When I view the resulting file in my Web browser, a lot of things aren't right but the images appear with their captions and no filenames. Am I not doing the same thing as you're doing?
- Robert
Eureka!! Many Thanks Robert, that is the clue. The Alternative names appeared
because a draft .odt file was created by a copy and paste from an html file which
itself was a conversion from Lyx. The problem is hopefully a "once only" but for the
archives and benefit of anyone who may meet this in the future, here is a summary.
1. Any text appearing in Libre Office Image
Alternative Name does
not appear on screen in a displayed .odt , but will be shown as a screen shot, and in a
printed copy, as an image caption in an html export from that .odt file.
2. Images inserted into a Libre Office .odt file will not usually create an Alternative name,
but if the .odt file has been created by copy and paste from an html source, the file
reference for any images in the html (not sure about tables) may be saved as an
Alternative name to then appear in an html export.
This situation is unlikely to occur in normal Libre Office usage.
Thanks again Robert,
Gordon.