Dear Hussein,

Sorry for bothering you with this question, indeed I should have asked this
at a Docbook mailing list as this was a general question and not a XmlMind
specific question.

Thank you for your suggestion in sample.xml this looks very promising.
I saw that when saving the image to rtf you even converted it to a pngblip
(as RTF is missing SVG support), nice.

Thank you again for the wonderful suggestion, I will certainly check this
out a bit further.

Best Regards,

Albert

On Mon, Oct 11, 2021 at 6:08 PM Hussein Shafie <huss...@xmlmind.com> wrote:

> Please send all your questions related to DocBook to the relevant
> DocBook mailing lists and not to the XMLmind XML Editor mailing lists.
>
> XMLmind Software is not involved in any way in the specification of
> DocBook. Therefore our answers cannot be authoritative.
>
>
> On 10/11/21 15:59, Albert wrote:
> >
> > In docbook we can incorporate image date like:
> >      <informalfigure>
> >          <mediaobject>
> >              <imageobject>
> >                  <imagedata width="50%" align="center" valign="middle"
> > scalefit="0" fileref="../../d6/d99/qcstring_8cpp__incl.png"></imagedata>
> >              </imageobject>
> >          </mediaobject>
> >      </informalfigure>
> >
> > In other words we have to specify the filename.
> >
> > I looked in the specification and documentation but I could not find a
> > solution to incorporate the image as a data "blob".
> >
> >   * Is this possible?
> >   * or would this require an extension to the docbook specifications (in
> >     the later case I can file an issue for it).
> >
> > The background is that now the docbook file and the separate images have
> > to be distributed and otherwise just the docbook file can be distributed.
> >
>
> XMLmind XML Editor supports "data:" URLs
> (https://en.wikipedia.org/wiki/Data_URI_scheme). See attached sample file.
>
> This may solve your problem but we have no idea whether this is legit
> DocBook. Even if this is legit DocBook, this may cause interchange
> problems.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to