public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Albert Krewinkel
	<albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: History of the math syntax
Date: Fri, 20 May 2022 11:01:16 -0700	[thread overview]
Message-ID: <m2o7zscccz.fsf@MacBook-Pro-2.hsd1.ca.comcast.net> (raw)
In-Reply-To: <87pmk88xxr.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>


Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> writes:
> GitHub recently introduced support for the `$`/`$$` Markdown math
> syntax: <https://github.blog/2022-05-19-math-support-in-markdown/>
>
> This made me wonder when and how this TeX syntax made its way into
> Markdown. I tried to dig through the history of old projects like pandoc
> and MultiMarkdown, but didn't get very far. All I could find is that
> pandoc has been supporting TeX math syntax for at least 15 years.
>
> Maybe someone here can satisfy my curiosity?

Math support is in pandoc 0.1 (I checked the source code).  That was 2006.

Looking in the old markdown-discuss list, I see a message from
Rob Shearer in September 2007 that sums up the current state of
play for math in markdown:

> - [MultiMarkdown][] has some mathematics support based on [asciimath] 
> [] notation using double-angle-brackets as delimiters:  
> `<<...asciimath...>>`. I'm afraid I can't find any asciimath  
> documentation that tells me how to do set notations in that format...
> - Python-markdown's [mdx_math][] extension seems to use latex  
> notation with HTML-style tags, like `<math>\{ x \mid x^2 \in S \}</ 
> math>`. This use of tags strikes me as quite un-Markdownish.
> - [Pandoc][] handles LaTeX math between dollar signs (which is  
> standard LaTeX notation): `$\{ x \mid x^2 \in S \}$`.

So I think pandoc did originate the syntax GitHub is now using,
about 16 years ago.


      parent reply	other threads:[~2022-05-20 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20  7:06 Albert Krewinkel
     [not found] ` <87pmk88xxr.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-05-20 11:35   ` Beni Cherniavsky-Paskin
     [not found]     ` <CALJxei+=6CLro5VK9o-u2JaX46d3n8XcFtiDASOU3gUtMkOD5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-05-20 11:37       ` Beni Cherniavsky-Paskin
2022-05-20 17:46   ` John Gabriele
     [not found]     ` <09be80a5-7851-4739-b1ad-1418e31d2126-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org>
2022-05-20 19:30       ` Jeremy Theler
     [not found]         ` <6d21260464c325b05285477edbb53c1f30ddbc1c.camel-24em0bpozeFWk0Htik3J/w@public.gmane.org>
2022-05-21  1:03           ` John Gabriele
2022-05-20 18:01   ` John MacFarlane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2o7zscccz.fsf@MacBook-Pro-2.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).