public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* MathJax, equation environment/equation numbering
@ 2017-11-07 16:12 Clayton Hayes
       [not found] ` <e25b580c-24bb-4b75-a9c7-5d6eb328d9f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Clayton Hayes @ 2017-11-07 16:12 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1559 bytes --]

This might be a feature request for the GitHub page, but I figured I'd post 
here first. It's a handful of related issues involving LaTeX to HTML 
transforms via MathJax.

First, there doesn't seem to be any native way to turn on equation 
numbering for MathJax. This seems like a pretty easy add, as its just 
another code snipped included before the MathJax <script> call.

Second, equation environments are getting transformed into basic display 
math. Since traditional equation numbering in LaTeX (e.g. \label{eq:1}) 
doesn't work outside of the equation environment, this isn't ideal.

Alternatively, using the MathJax option {autonumber:"all"} (instead of the 
default "AMS") would number all display math and would require users to 
include "\notag" or "\nonumber" in any display math they don't want to be 
numbered. It's a decent quick workaround, but would require some extra work 
for users as they're more likely to be using the equation environment when 
writing in LaTeX.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e25b580c-24bb-4b75-a9c7-5d6eb328d9f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2111 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-08  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 16:12 MathJax, equation environment/equation numbering Clayton Hayes
     [not found] ` <e25b580c-24bb-4b75-a9c7-5d6eb328d9f2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-08  6:23   ` Kolen Cheung
2017-11-08  6:30   ` Kolen Cheung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).