Ok, thank you, I understand.Stefano

    On Monday, May 6, 2019, 5:13:22 PM GMT+2, Hussein Shafie 
<huss...@xmlmind.com> wrote:  
 
 On 05/06/2019 03:48 PM, stefano casadei wrote:
> I have another problem though.

Very few, if any, of our users use PDF images. Most of our users use SVG 
images. So your support request is about an advanced, rarely used, 
feature of XMLmind XML Editor.

Please note this level of support is reserved to our customers. So 
please identify yourself as a customer if you want us to answer to your 
future support requests. See "Support policy", 
https://www.xmlmind.com/xmleditor/support_policy.html




> I am loading some pdf images as follows:
>
>        <imagedata
> fileref="../sources/pics-annotated-pdf/mfSE1-20190416_122411.pdf" />
>                    scalefit="1" width="15cm"/>
>
> Only an PDF placeholder icon appears in the XMLMind GUI, and nothing it
> generated when exporting
> to html or PDF.
> Is there a way to fix this?
>

==================================
* XMLmind GUI and HTML conversion:

Yes, provided that you have GhostScript (https://www.ghostscript.com/) 
installed on your computer.

1) Use "Options|Install Addons" to install the add-on called "A sample 
customize.xxe". See 
https://www.xmlmind.com/xmleditor/addons_doc.html#sample_customize_xxe

2) Use a text editor to edit 
<XXE_user_preferences_dir>/addon/sample_customize_xxe/customize.xxe

a) Replace
---
  <!--
  <include location="imagetoolkits.incl" />
  -->
---
by
---
  <include location="imagetoolkits.incl" />
---

3) Adapt the content of 
<XXE_user_preferences_dir>/addon/sample_customize_xxe/imagetoolkits.incl 
to your needs. This file is easy to understand and should require only 
very simple changes (basically, tell the plug-in where GhostScript is 
installed and how to invoke it).

Reference: 
https://www.xmlmind.com/xmleditor/_distrib/doc/configure/imageToolkit.html

See attached screenshot. The picture of the head of the tiger comes from 
EPS and PDF files and conversion to HTML works great.



=================
* PDF conversion:

Works with RenderX XEP which supports PDF images, but not with Apache 
FOP (which is strange???)

If you have installed the add-on called "A sample customize.xxe" and 
configured it as explained above to make it work for the XMLmind GUI and 
the HTML conversion, then there is workaround for Apache FOP, but it 
requires a modification of a DocBook configuration file by hand.










  
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to