bugtex4ht - Bugs: bug #481, Problem with Braces / Brackets in...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #481: Problem with Braces / Brackets in Maths equations using mk4ht latex->mathml

Submitted by:  Tom <tom>
Submitted on:  Tue 04 Aug 2020 07:39:59 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 20 Aug 2020 10:46:06 AM EEST, comment #2:

OP confirmed that this fixes the issue on TeX.sx.

Michal Hoftich <michal_h21>
Project Member
Wed 19 Aug 2020 07:03:24 PM EEST, comment #1:

Hi Tom,

thanks for the report. I thought I fixed fences not so long ago, when I removed most of instances of the deprecated <mfenced> element in the MathML configuration. <mo fence="true"> should be used instead. What I missed is that the whole expression must be in enclosed <mrow>, otherwise the fenced parentheses are not rendered correctly.

It should be fixed in the sources now.

Btw, it is best to use

make4ht math_text.tex "mathml,mathjax"

make4ht post-processes the generated HTML and fixes some issues especially in MathML. mathjax option will load MathJax, which fixes lot of rendering issues. For example it can display our wrong MathML code correctly even without the fix.

Michal Hoftich <michal_h21>
Project Member
Tue 04 Aug 2020 07:39:59 PM EEST, original submission:

I used the command

mk4ht mzlatex math_test.tex "html,mathplayer"

I am using version 1.1

on the latex file attached and the results were nearly correct, but one issue is there are no braces/brakcets around the vectors/matrices - see the attached files (including source latex/ and compiled PDF)

So the bug is the lack of multiline braces/brackets
This may be similar to bug #340

screen shots / further details see question on stackexchange

https://tex.stackexchange.com/questions/557221/latex-html-with-mathematical-equations-for-accessibility-to-generate-mathml?noredirect=1#comment1405298_557221

---------

Tom <tom>

 

Attached Files
file #358:  math_test.tex added by tom (2kB - application/octet-stream)
file #359:  math_test.pdf added by tom (62kB - application/pdf)
file #360:  math_test.xht added by tom (17kB - application/xhtml+xml)
file #361:  math_test.css added by tom (7kB - text/css)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by tom (Submitted the item)
  • -unavailable- added by tom (issue with mk4ht )
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    6 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Aug 2020 10:46:06 AM EESTmichal_h21Open/ClosedOpen=>Closed
    Tue 04 Aug 2020 07:39:59 PM EESTtomAttached File-=>Added math_test.tex, #358
      Attached File-=>Added math_test.pdf, #359
      Attached File-=>Added math_test.xht, #360
      Attached File-=>Added math_test.css, #361
      Carbon-Copy-=>Added michal_h21
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray