Re: Text in SVG images not searchable in DITA-OT 3.x HTML5 output

Yves Barbion

Hi Radu

Your plugin works (of course! ;-) ). Thank you very much.

Kind regards


On Tue, 16 Jun 2020 at 11:52, Radu Coravu <radu_coravu@...> wrote:
Hi Yves,

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:


Radu Coravu
<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?
> Thanks
> Yves

Join to automatically receive all group messages.