public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Parsing entities in org input
Date: Fri, 18 Aug 2017 14:47:43 -0700	[thread overview]
Message-ID: <20170818214742.GB86414@protagoras.berkeley.edu> (raw)
In-Reply-To: <87ziawtvky.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>

inlineCommand in the LaTeX reader will call 'report'
to issue this warning for unknown commands.  By the
time the org reader backtracks to try it as a MathML entity,
it's too late, the warning has already been issued.

One easy but somewhat ugly workaround would be to change the
verbosity level prior to calling inlineCommand, and then
change it back afterwards.

+++ Albert Krewinkel [Aug 18 17 23:27 ]:

>I believe that this is a side-effect of pandoc's new feature to warn
>whenever information might be lost. The org parser also tries to read
>the command as if it was a MathML entity, so it still succeeds. The org
>reader should handle this better, please open an issue on github for
>this: <https://github.com/jgm/pandoc/issues>


      parent reply	other threads:[~2017-08-18 21:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16 10:37 Axel Kielhorn
     [not found] ` <C20B5963-5AAF-42F1-A230-5A3B496A6440-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-18 21:27   ` Albert Krewinkel
     [not found]     ` <87ziawtvky.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2017-08-18 21:47       ` 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=20170818214742.GB86414@protagoras.berkeley.edu \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@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).