public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Mac 10.15 compiling using ghc
@ 2021-04-30 13:18 Uwe Brauer
       [not found] ` <87wnsjewqw.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Uwe Brauer @ 2021-04-30 13:18 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


Hi

Under linux (Ubuntu 16.04)

I run successfully 

 ghc --make striplatex.hs 
where striplatex is just

,----
| import Text.Pandoc.JSON
|     
| main = toJSONFilter stripmath
|     where stripmath (Math _ _) = Str "FORMULA"
|           stripmath x = x
`----

That nicely replaces all my mathematical formula, just by the word
FORMULA

I tried the same under Mac 10.15. 

For that I installed pandoc https://github.com/jgm/pandoc/releases/tag/2.13

I install ghc using fink (that is one of the three linux like
environments (the others are macports and homebrew).

However when I run 

 ghc --make striplatex.hs 

I obtain 

Could not find module Text.Pandoc.JSON

I admit I just started using a Mac and don't know many details.

Any help would be appreciated 

Thanks

Uwe Brauer 


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

end of thread, other threads:[~2021-05-03  7:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 13:18 Mac 10.15 compiling using ghc Uwe Brauer
     [not found] ` <87wnsjewqw.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2021-04-30 15:31   ` John MacFarlane
     [not found]     ` <m2im436b7h.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-04-30 15:34       ` John MacFarlane
2021-04-30 16:25         ` Uwe Brauer
     [not found]           ` <87czubeo4d.fsf-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2021-04-30 19:03             ` John MacFarlane
     [not found]               ` <m2y2cz389c.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-04-30 19:04                 ` John MacFarlane
2021-05-01 11:11                   ` Uwe Brauer
2021-05-02 17:53                   ` [some success] (was: Mac 10.15 compiling using ghc) Uwe Brauer
     [not found]                     ` <m27dkhc9a5.fsf_-_-YB6e1s5WF/He5aOfsHch1g@public.gmane.org>
2021-05-02 20:33                       ` John MacFarlane
2021-05-03  7:18                         ` [some success] Uwe Brauer

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