w7cook / AoPL

A book on programming languages, using Haskell
165 stars 36 forks source link

can't 'make' the book #23

Open samusz opened 3 years ago

samusz commented 3 years ago

After installing with

git clone https://github.com/w7cook/AoPL.git

cabal install pandoc

cabal install pandoc-citeproc

When I do make

I get the following output :

cat anatomy.mkd \
                | sed "s/@@/AtX/g" \
                | sed "s/@/ATSIGN/g" \
                > foo.lhs
cat foo.lhs \
                | pandoc --wrap=none -N --atx-headers  -f markdown+lhs -t latex+lhs --template=template.tex -V documentclass=report  --filter pandoc-citeproc --top-level-division=chapter \
                > foo2.lhs
[WARNING] Deprecated: --atx-headers. Use --markdown-headings=atx instead.
[WARNING] Deprecated: pandoc-citeproc filter. Use --citeproc instead.
pandoc-citeproc: Error in $: Incompatible API versions: encoded with [1,22] but attempted to decode with [1,21].
CallStack (from HasCallStack):
  error, called at ./Text/Pandoc/JSON.hs:112:48 in pndc-typs-1.21-721dbc0a:Text.Pandoc.JSON
Error running filter pandoc-citeproc:
Filter returned error status 1
make: *** [temp.lhs] Error 83

I am on macOSX.

Any pointers to solving this welcome.

aakropotkin commented 3 years ago

Try updating Pandoc to >= 1.22