public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Gandalf Saxe <gandalfsaxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: LaTeX math converted to `\(...\)` not `$...$` - manual needs updating?
Date: Sat, 23 Jun 2018 07:56:53 -0700 (PDT)	[thread overview]
Message-ID: <da923768-e727-4724-a4ce-6a6b9314cf02@googlegroups.com> (raw)


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

Manual says:


TeX math will be printed in all output formats. How it is rendered depends 
on the output format:
Markdown, LaTeX, Emacs Org mode, ConTeXt, ZimWikiIt will appear verbatim 
between $ characters.

However converting inline math `$...$` from markdown to LaTeX, converts it 
to `\(...\)` syntax. Am I misunderstanding the manual or should this be 
updated?

Example .md input:
`This is a simple inline $e=mc^2$  math.`

Example command:
`pandoc test.md -o test.tex`

Example .tex output:
`This is a simple inline \(e=mc^2\) math.`

-- 
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/da923768-e727-4724-a4ce-6a6b9314cf02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

             reply	other threads:[~2018-06-23 14:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-23 14:56 Gandalf Saxe [this message]
     [not found] ` <da923768-e727-4724-a4ce-6a6b9314cf02-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-23 23:59   ` Kolen Cheung
     [not found]     ` <5197fe46-e2aa-407c-9d4b-c0c7e49cf6a0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-24 18:05       ` Gandalf Saxe
2018-06-24 11:02   ` John MacFarlane
     [not found]     ` <87r2kwsb0f.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-06-24 18:39       ` Gandalf Saxe
2018-06-25 19:01   ` Kolen Cheung
     [not found]     ` <90db846b-e36a-4794-97d6-9df3b7c02d69-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-25 20:58       ` Gandalf Saxe

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=da923768-e727-4724-a4ce-6a6b9314cf02@googlegroups.com \
    --to=gandalfsaxe-re5jqeeqqe8avxtiumwx3w@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).