Bård T. wrote:
Thanks for the quick reply: our client is using Edge or Chrome as browser, I'm
also testing Opera and Vivaldi. Firefox ... never...
Our software does not target Firefox specifically. I just happen to use
(and highly recommend) Firefox on my Linux box.
If the HTML we generate, whatever the XMLmind Software product, does not
display fine on any reasonably recent web browser (let's say, starting
from Internet Explorer 11), then we consider this as being a bug.
I have created the Assembly from scratch, using XMLEditor to generate the
files, so I assume Docbook 5.1 is used (but quite sure I've tested that too).
That's right.
But, there is a difference when converting to WebHelp from Assembly or directly
from the Module, for example a topic or chapter.
True.
With the focus on the Chapter, I can run "Docbook -> Convert -> Webhelp" and the output
contains an image file under the "Resources"-fodler that contains the formula. And as you point
out, there is no image when running the conversion from the Assembly menu (no Resources folder at all).
Correct.
Also, if I run the conversion manually with the XML-Assembly command line, it
works fine, the image files for all formulas are generated.
Which XML-Assembly command line? Ours? That is, XMLmind Assembly
Processor, https://www.xmlmind.com/xmleditor/assembly.shtml
First step: invoke assembly to generate a "flat DocBook v5.1 book" out
of the assembly:
---
$ assembly my_assembly.xml my_assembly_flat_book.xml
---
See https://www.xmlmind.com/xmleditor/_assembly/doc/manual/command_line.html
Second step: convert "flat DocBook v5.1 book" my_assembly_flat_book.xml
to Web Help using XMLmind XML Editor.
Yes, this is a certainly way to workaround the issue you have reported.
I'm not sure adding the MathJax is a solution, images are maybe better? Or
could MathJax scale better probably?
MathJax (=math layout implemented in JavaScript) way better than images
(=math layout implemented by JEuclid, then rasterized to PNG).
MathJax works flawlessly in any reasonably recent web browser.
Anyway, there is an inconsistent behavior here and a bit of a show stopper for
us if we cannot get the formulas/equations out of the Assembly without running
the XML Assembly command line. Using Firefox is not an option, our client
doesn't allow it at all (only Edge and Chrome are allowed).
When will a fix eventually be available?
Yes, there is clearly an inconsistent behavior here, because it works
fine for a DocBook v5.1 book, article, chapter, etc, and not for a
DocBook v5.1 assembly.
As explained in my previous email, we'll fix this issue in the next
release of XMLmind XML Editor either by "enabling MathJax" or by
converting the MathML elements to images.
XMLmind XML Editor v9.2 is expected to be released on December 2019 or
January 2020.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support