public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Preserve math when converting from HTML to LaTeX
@ 2023-07-14  9:18 Denis Bitouzé
  0 siblings, 0 replies; only message in thread
From: Denis Bitouzé @ 2023-07-14  9:18 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi,

I have a lot of HTML files that I have to convert to LaTeX. These HTML
files contains “regular” math such as:

  ┌────
  │ $\mathbb{R}^n$
  └────

that:

  ┌────
  │ pandoc  --standalone input.html --output output.tex
  └────

converts into:

  ┌────
  │ \$\textbackslash mathbb\{R\}\^{}n\$
  └────

Is there an way to ask `pandoc` to return math verbatim?

Thanks.
-- 
Denis

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87ilamn965.fsf%40example.com.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-14  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14  9:18 Preserve math when converting from HTML to LaTeX Denis Bitouzé

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).