Questions tagged [mathml]

MathML is a way to describe mathematical expressions with XML.

Filter by
Sorted by
Tagged with
46 votes
5 answers
13k views

Recommended workflow? LaTeX -> ePub with math viewable on iPad

This started as a comment in an older thread, but I thought I repost it here as a question to the forum... I'm looking for a workflow that will take me efficiently and reliably from existing LaTeX ...
user avatar
44 votes
5 answers
18k views

Relationship between MathML and TeX

What is the relationship, if any, between Tex and MathML? I am interested in representing mathematical information generally, but is TeX going to be a legacy format going forward? Is there any ...
user avatar
31 votes
7 answers
10k views

Comparing MathJax and MathML

My organisation needs to update its website, which, in particular, will host a number of blogs and wikis on mathematics-related themes. We need to use some way of rendering of LaTeX on our web pages. ...
user avatar
18 votes
5 answers
15k views

LaTeX to MathML conversion: tools, limitations, and approaches?

As far as I understand there are two ways to display LaTeX on the web: The MathJax JavaScript library, which allows you to embed LaTeX directly within HTML tags, but such LaTeX is converted by ...
user avatar
17 votes
2 answers
15k views

I want to convert MathML to LaTeX

I'm trying to convert my equations I make in Microsoft Office Word 2013 to LaTeX because I would like to post my equations I make in word at math.stackexchange.com. I'm able to convert it to MathML. ...
user avatar
  • 891
13 votes
2 answers
8k views

What are the Open source WYSIWYG Independent Web Equation Editors available on LaTeX/MathML

I am looking for a solution of an Equation Editor to be added to my site. The equation editor should be open source, WYSIWYG (users should be able to type out Equations as if in MS Equation Editor or ...
user avatar
10 votes
2 answers
2k views

conversion issues using htlatex and MathJax/mathML method

I am using the method shown in this answer below to convert my LaTeX file to HTML so that the resulting LaTeX file is processed by MathJax via MATHML: Convert Latex to MathJax-HTML "... mathml ...
user avatar
  • 18.4k
9 votes
5 answers
7k views

Math Input Panel in Windows 7 and LaTeX writing

I just found out about the Math Input Panel in Windows 7,and now there is commercial software using it for LaTex writing. For example Inlage. If you have a look of their first demo video, you know ...
user avatar
8 votes
8 answers
6k views

Want a TeX to XML or MathML converter

Is there a TeX engine that converts a TeX document to MathML or XML directly the way PDFTeX converts text input to PDF? I am familiar with some converters that transform a subset of TeX into ...
user avatar
8 votes
1 answer
252 views

Are there efforts to develop a standard for (La)TeX-like math syntax?

One of the reasons many people in technical disciplines start using LaTeX in the first place is for the ease of typesetting mathematical formulas with it. In some circles, LaTeX-like syntax has become ...
user avatar
6 votes
2 answers
3k views

Rendering MathML in LaTeX?

I have MathML that I need to render in my LaTeX document. Is there a recommended way of doing so? So far, from googling, I've found MathParser - a Java converter. But I was hoping there might be a ...
user avatar
  • 175
6 votes
3 answers
934 views

Latex -> html with mathematical equations for accessibility to generate MathML

Edit, original question below - I would like to simplify the question to the following: What is the best way to take a LaTeX input file, which includes matrices and vectors in formulae and make it ...
user avatar
  • 648
6 votes
1 answer
373 views

Bad mathchar (79119) using htlatex+mathml with \uparrow with align from amsmath package

texlive 2012 debian package: \documentclass[]{article}% \usepackage{amsmath} \begin{document} \begin{align} & \uparrow\sum F \end{align} \end{document} compile with htlatex report....
user avatar
  • 18.4k
6 votes
0 answers
452 views

Is there a Software to convert TeX to LaTeX? [closed]

Is there a software to convert TeX to LaTeX? I have a file that needs to be converted into MathML in order to convert it to HTML and some of this files are in a TeX format.
user avatar
5 votes
1 answer
653 views

htlatex and differences between html and xhtml

To date, I have generated html files using htlatex rather than xhtml. This has been for one simple reason. I can right click on the html file and open it in MS word to then save and distribute to ...
user avatar
  • 3,955
5 votes
1 answer
888 views

What LaTeX math markup can pandoc translate into MathML?

I'm working with a gitit wiki because we can use LaTeX markup for mathematical formulas. However, I am learning that I can't use such sequences as $\mathbb R$ or $\mathcal A$ or even $\mathbf X$, as ...
user avatar
5 votes
1 answer
740 views

using mathml in htlatex makes it lose the table p-width specification in generated html

It took me a while to find the cause of this. when giving p{} for table column width, and also using mathml option, then htlatex losses the width specs in the generated HTML table. It is very simple ...
user avatar
  • 18.4k
4 votes
1 answer
117 views

Scaling delimiters in MathJax

I use TeX4ht with MathJax to convert tex to HTML/MathML. One issue I have is that delimiters scale depending on the height of the line, even if the tall content is not between the delimiters. For ...
user avatar
  • 601
4 votes
2 answers
1k views

how can I get bold symbols using \boldsymbol and tex4ht with MathML output?

Here is a sample from a LaTeX document I want to convert to HTML. \documentclass[11pt]{book} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{amscd} \...
user avatar
4 votes
1 answer
1k views

Latex to ODF/DOC using mk4ht oolatex failing on equation arrays

Title says it all. Anyone got any ideas on what I'm doing wrong? Is this a fundamental fault with oolatex conversion? Is there an alternative math format I can use? Same math builds fine in latex ...
user avatar
4 votes
2 answers
1k views

Creating mathjax-style documents

Is there any software, website, etc. that renders a document as if MathJax were being used, but in such a way that the output can be read by someone who is not using MathJax? (Perhaps the equations ...
user avatar
3 votes
1 answer
4k views

Beginner―Texmaker: generate HTML, MathML

I am very new to LaTeX and everything connected to it,but since I come from the HTML, I know what it means to use a markup language. I try to setup Texmaker that I can generate MathML and or HTML ...
user avatar
  • 133
3 votes
1 answer
262 views

What LaTeX math is not covered in the MathML specification?

Does anybody have an exhaustive list of what parts of the standard LaTeX math macros that are not covered by the MathML specification? By standard, ideally I mean the maths packages distributed with ...
user avatar
  • 163
3 votes
1 answer
334 views

htlatex: tweaking the MathML output for numbers with more than one digit

I'm using htlatex to produce screen-readable (https://www.nvaccess.org/) MathML. Using the following file mwe.tex \documentclass{article} \begin{document} Here is a function $f(x)=15$. Here is a ...
user avatar
  • 96.3k
3 votes
1 answer
397 views

Prevent TeX4ht from inserting img in equation with \mathcal

When I use TeX4ht to produce MathML, it produces an image when I use \mathcal in the equation. The result is that MathJax complains that the code is not valid. Is there a way to fix this problem? ...
user avatar
  • 3,011
3 votes
1 answer
83 views

how to programmatically convert mathml or LaTeX formulas in spoken words?

I've a formula, eg: where the latex's code is: \int_{a}^{b} \frac{1}{\sqrt{\rho}} d\rho The output should be somthing like this: "The integral from a to b of one over the square root of ro in ...
user avatar
3 votes
1 answer
57 views

TeX4ht: can we prevent italic capital greek letters in mathml or mathml,mathjax output

I am trying to convert document to HTML with MathML rendered by MathJax (the reason is that pure mathjax output does not do proper equation numbering). Unfortunately, I get all the capital greek ...
user avatar
  • 195
3 votes
1 answer
45 views

Problem with boldmath followed by super or subscript in tex4ebook

The latex file \documentclass{amsbook} \begin{document} $\mathbf{x}^y$ \end{document} when compiled with tex4ebook -f epub3 test "mathml" produces the following mathml: <math xmlns=&...
user avatar
3 votes
1 answer
201 views

Converting MathML to LaTeX: Use of \mathop and msub tag

When using David Carlisle's stylesheet to convert MathML to LaTeX, for some reasons, the subscript on an integral symbol seems to display noticeably farther from the integral as shown below: MathML: ...
user avatar
  • 975
3 votes
1 answer
473 views

Why using {newtxtext,newtxmath} packages breaks MathML generation in tex4ht?

I found when adding the line \usepackage{newtxtext,newtxmath} breaks mathml generated by tex4ht and hence the math looks bad when viewed in the browser. It seems to be a font issue. I am using ...
user avatar
  • 18.4k
3 votes
0 answers
449 views

"Display math should end with $$" when using MathML with amsmath and \fbox with tex4ht

I just like to get an understanding on why I get this error, only when I use MathML and not in other configurations. pdflatex work fine with this MWE. Only when there is an \fox{}, will tex4ht gives ...
user avatar
  • 18.4k
2 votes
1 answer
198 views

tex4ht mathml output: how to get <mi>abc</mi> instead of <mi>a</mi><mi>b</mi><mi>c</mi>

tex4ht with mathml option generates <mi>a</mi><mi>b</mi><mi>c</mi> from $abc$. Is there a way to get <mi>abc</mi> output? MWE (foo.tex): \...
user avatar
  • 1,143
2 votes
1 answer
3k views

How convert HTML to LaTeX or MathML

I using KaTeX to render HTML formula display. How can I convert HTML to LaTeX or KaTeX again?
user avatar
  • 21
2 votes
1 answer
410 views

displaying TeX in web app

First I tried to ask this question on stackoverflow but it looks like that it's TeX specific. I'm having a TeX file on server, and need to display it in web page. The first thing I was thinking about ...
user avatar
  • 165
2 votes
1 answer
960 views

a line through a column in MathML [closed]

I have a problem with MathML. How can I draw a line through a column (row and column at the same time) in a matrix? An example in TEX: Draw a line through one column of a matrix
user avatar
  • 29
2 votes
1 answer
74 views

tex4ebook: math symbols in footnote labels

Inspired by other answer I found here, I decided to use endnotes to have all my footnotes and the end of my ebook. The solution works and epubchecker does not complain. Unfortunately, uploading to ...
user avatar
  • 23
2 votes
1 answer
211 views

\displaystyle and \limit commands don't seem to work when rendering to mathml

I am trying to render a latex file to mathml for viewing in firefox. However, when trying to render the following example: \documentclass{article} \begin{document} \(\displaystyle\sum\limits_i\) \end{...
user avatar
  • 23
2 votes
1 answer
264 views

mathml configuration

I need a customized mathml coding. mml: text should be added globally all mathml coding Current Coding: <math display="block" class="equation"><mi>a</mi> <mo class="MathClass-...
user avatar
  • 1,231
2 votes
2 answers
908 views

How to fix these MathML generated code by Tex4ht, or change Latex code to bypass the problem

updated: Added the MathML code in source form at the bottom of this, as requested. I am now configuring tex4ht to generate MathML instead of .png for the math. Then MathJax is loaded for final ...
user avatar
  • 18.4k
2 votes
2 answers
111 views

MathML as well need LaTeX coding in tex4ht

I would like to convert the below file to MathML format as well need the LaTeX coding in MathML Semantic tag. MWE: \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \article{Article ...
user avatar
  • 2,172
2 votes
1 answer
307 views

How to get a customize mathml coding

I am using the tex4ht and try to convert tex to html document. Mathml coding is used to convert the equations. But i need to customize the mathml coding. I would like to separate the simple, complex ...
user avatar
  • 1,231
2 votes
0 answers
102 views

Converting MathML to LaTeX: limits position on summation symbol

When using David Carlisle's stylesheet to convert MathML to LaTeX, in most cases, the upper and lower limits are correctly placed above and below the summation symbol. But when I convert the ...
user avatar
  • 975
2 votes
1 answer
7k views

Convert MathML to LaTeX

Here is an example: Input: <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi mathcolor="#FF0000">y</mi> <mo mathcolor="#00FF00">&#x2212;</mo> <msub> ...
user avatar
  • 143
2 votes
0 answers
243 views

How to get decent math rendering with Tex4ht?

After resolving the hyperref issues with tex4ht, I'm still having issues with the math rendering. The following MWE compiles fine with pdflatex, except for the d operator: \documentclass[a4paper, ...
user avatar
  • 825
2 votes
0 answers
720 views

Problem with Latin Modern in HTML [closed]

I ask this question here because "Latin Modern" is a font, now also available in OpenType format, that's derived from Knuth's "Computer Modern", which is is mainly known by and of interest to the TeX/...
user avatar
1 vote
3 answers
4k views

converting Mathml to LaTeX in python programming

I am writing one educational software right now. It's kind of online test for school students. I add up the questions using my editor, I need the math functionality therefore I need to use this editor,...
user avatar
1 vote
1 answer
50 views

Some symbols load (display) issue when converting MathML to LaTeX

I'm using David Carlisle's stylesheet to convert MathML to LaTeX. The stylesheet does a phenomenal job for converting even very complex MathML into LaTeX. But I'm having trouble displaying following ...
user avatar
  • 975
1 vote
1 answer
65 views

Are there any packages to import bibxml into (la)tex?

While I was able to find several packages to export bibtex to bibxml, and even the whole latex stuff to xml/mathml, I could not find anything in the opposite direction. Of course it would be great to ...
user avatar
1 vote
1 answer
716 views

How do I convert MathML characters to XML in texmath? [closed]

I'm in the process of converting LaTeX to MathML in PHP. texmath is the command line tool through which the conversion process can be done. Latex file: \mathbf{f} = (f_{1}, f_{2})^{\prime} test....
user avatar
  • 199
1 vote
1 answer
97 views

Make4ht MathML and TeX

When using Make4ht how to get MathML and LaTeX code in HTML? My MWE is: %!TEX TS-program = lualatex %!TEX encoding = UTF-8 Unicode \documentclass{elife} \title{Grasp movement initiation and ...
user avatar
  • 2,172