-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Inline LaTeX is ignored in some output formats, but why not remove other LaTeX environments as well? #2860
Comments
When I try this input with +++ ickc [Apr 17 16 21:59 ]:
|
The command I used is actually this pandoc -f markdown+mmd_header_identifiers+abbreviations+autolink_bare_uris+mmd_link_attributes+markdown_attribute+mmd_title_block+tex_math_double_backslash -S --base-header-level=1 --toc --toc-depth=6 -N --normalize -s --mathjax -t html5 -o I tried your bare command and it did becomes empty. I don't know where in the command I used above get it wrong. But since |
See #1938. |
I'm not sure what's going on there. I just tried and the +++ ickc [May 07 16 20:28 ]:
|
Sorry I closed it too quickly. Now when I think about the reason I open this issue is about an environment like this: \begin{flushright}
testing
\end{flushright} Then the problem is that pandoc include "too much" LaTeX environments. This is closely related to #2758, that only a certain environments should be included in MathJax output. Quoting from MathJax documentation:
Probably one of these 2 issues (#2758 and #2860) should be closed since they are describing the same issue. |
I'm closing this in favor of #2758. Hope that you don't mind. |
IT might be worth reproducing the table and the link to MathJax documentation in the other issue. |
It is already there. (and I changed the title over there to reflect the situation) |
From the documentation:
How about other LaTeX codes?
e.g. the following Markdown files,
pandoc to html becomes
Why wasn't it be removed form the HTML output as well, even
-R
is not used?The text was updated successfully, but these errors were encountered: