Re: Text in SVG images not searchable in DITA-OT 3.x HTML5 output
toggle quoted messageShow quoted text
Your plugin works (of course! ;-) ). Thank you very much.
You can try pasting the SVG content directly inside the DITA topic
inside an svg-container element, this should generate an HTML file
containing the embedded SVG, I think the browser will be able to allow
searching inside it if you do so.
If you are referring to the SVG using the DITA <image> tag it probably
needs to be published embedded inside the HTML instead of referenced
using <img src>.
A while back I created a plugin for this:
<oXygen/> XML Editor
On 6/16/2020 12:43 PM, Yves Barbion wrote:
> Hi group
> I've got SVG images which contain text. If I just open the SVG in one of
> my browsers (Chrome, Firefox, Edge), the text is searchable. If I put
> the images in a DITA topic and generate HTML5 output with the DITA-OT
> 3.x, the text is no longer searchable.
> Any idea why this happens and how it can be fixed?
Join email@example.com to automatically receive all group messages.