public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* latex footnotes in equations not rendering properly
@ 2019-05-14  2:18 Jon Boede
       [not found] ` <b3cf19ca-8698-4733-a771-2d39ece2e62d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Boede @ 2019-05-14  2:18 UTC (permalink / raw)
  To: pandoc-discuss


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

If I have a LaTeX equation like...

\[ 1 + 1 \rightarrow 2 \footnote{usually} \]

This renders well in pdfTeX, etc. but pandoc chokes on it.

It says:

  ghtarrow 2\footnote{usually
                     ^
  unexpected "{"
  expecting "%", "\\label", "\\nonumber" or whitespace

Bug or no bug?

Jon

-- 
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/b3cf19ca-8698-4733-a771-2d39ece2e62d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: latex footnotes in equations not rendering properly
       [not found] ` <b3cf19ca-8698-4733-a771-2d39ece2e62d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-05-14 15:49   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2019-05-14 15:49 UTC (permalink / raw)
  To: Jon Boede, pandoc-discuss


Our texmath library tries to render math into a
variety of math formats.  It can't handle footnotes.
I don't see that changing -- there isn't a way to
put a footnote in mathml, for example, as far as
I'm aware.

So I'd say this is out of scope.

Jon Boede <jonboede-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> If I have a LaTeX equation like...
>
> \[ 1 + 1 \rightarrow 2 \footnote{usually} \]
>
> This renders well in pdfTeX, etc. but pandoc chokes on it.
>
> It says:
>
>   ghtarrow 2\footnote{usually
>                      ^
>   unexpected "{"
>   expecting "%", "\\label", "\\nonumber" or whitespace
>
> Bug or no bug?
>
> Jon
>
> -- 
> 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/b3cf19ca-8698-4733-a771-2d39ece2e62d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


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

end of thread, other threads:[~2019-05-14 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14  2:18 latex footnotes in equations not rendering properly Jon Boede
     [not found] ` <b3cf19ca-8698-4733-a771-2d39ece2e62d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-05-14 15:49   ` John MacFarlane

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