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: latex to html or plain text without any latex construct
Date: Tue, 22 Aug 2017 17:09:57 -0700	[thread overview]
Message-ID: <20170823000957.GD11626@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <878tibz7c2.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>

Ah, you also need

import Text.Pandoc.JSON

instead of

import Text.Pandoc

+++ Uwe Brauer [Aug 22 17 20:16 ]:
>>>> "John" == John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
>
>   > Try with toJSONFilter rather than toJsonFilter
>   >> import Text.Pandoc
>   >>
>   >> main = toJsonFilter stripmath
>   >> where stripmath (Math _ _) = Str "FORMULA"
>   >> stripmath x = x
>
>Then I obtain
>stripmath.hs:3:8:
>    Not in scope: `toJSONFilter'
>    Perhaps you meant `toJsonFilter' (imported from Text.Pandoc)
>
>
>I am running pandoc 1.17.2
>
>-- 
>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/878tibz7c2.fsf%40mat.ucm.es.
>For more options, visit https://groups.google.com/d/optout.


  parent reply	other threads:[~2017-08-23  0:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-21 14:26 Uwe Brauer
     [not found] ` <87r2w5xaie.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-21 21:00   ` John MACFARLANE
2017-08-22 12:20     ` Uwe Brauer
     [not found]       ` <871so3yet8.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-22 17:50         ` John MACFARLANE
2017-08-22 20:16           ` Uwe Brauer
     [not found]             ` <878tibz7c2.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-23  0:09               ` John MacFarlane [this message]
2017-08-23 12:22                 ` [SOLVED, almost] (was: latex to html or plain text without any latex construct) Uwe Brauer
     [not found]                   ` <87k21uwk14.fsf_-_-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-23 14:15                     ` John MacFarlane
2017-08-23 16:13                       ` Uwe Brauer
     [not found]                         ` <8760dew9da.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-23 20:54                           ` Re: John MACFARLANE
2017-08-24 16:26                             ` Re: Uwe Brauer
     [not found]                               ` <87378h53vq.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-24 16:43                                 ` Re: John MACFARLANE
2017-08-24 17:30                                   ` Re: Uwe Brauer
     [not found]                                     ` <87y3q850vx.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2017-08-24 17:56                                       ` Re: John MACFARLANE
2017-08-24 16:44                                 ` Re: John MACFARLANE
2017-08-24 17:32                                   ` Re: Uwe Brauer
2017-08-23 14:15                     ` (was: latex to html or plain text without any latex construct) John MacFarlane
2017-08-23 16:13                       ` Uwe Brauer

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=20170823000957.GD11626@Johns-MacBook-Pro.local \
    --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).