Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\hline is not supported #55

Open
an0 opened this issue Oct 27, 2018 · 5 comments
Open

\hline is not supported #55

an0 opened this issue Oct 27, 2018 · 5 comments

Comments

@an0
Copy link

an0 commented Oct 27, 2018

Is it a bug? Is there any alternative way to draw a horizontal line to separate rows in a matrix?

@fred-wang
Copy link
Owner

TeXZilla's syntax is aligned on itex2MML.

cc'ing @distler

@an0
Copy link
Author

an0 commented Nov 3, 2018

So what's the syntax for \hline?

@distler
Copy link

distler commented Nov 4, 2018

I can't speak for Frederic, but itex2MML is concerned with LaTeX equations, not running text (it is envisioned a way to embed equations in some other text markup language -- be it HTML or Markdown or whatever -- that is processed to HTML+MathML).

So it is neither desired nor expected to support LaTeX commands that only appear in running text.

@distler
Copy link

distler commented Nov 4, 2018

Hmm. OK, sorry. I guess there is a use-case in matrices. There is a rowlines attribute on the MathML mtable element which is sorta similar ... but not really.

@fred-wang
Copy link
Owner

That's the same for TeXZilla. If one wants to process a whole LaTeX document, then something like latexml ( https://dlmf.nist.gov/LaTeXML/ ) is more appropriate.

I'm happy to accept PRs adding support for itex2MML commands that are missing from TeXZilla.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants