markdown-ieee-pdf
markdown-ieee-pdf copied to clipboard
Fail to build example
Below is the error message:
make -C ext
make[1]: Entering directory '/home/alaya/tmp/markdown-ieee-pdf/ext'
ghc --make headers.hs
[1 of 1] Compiling Main ( headers.hs, headers.o )
headers.hs:9:8:
No instance for (ToJsonFilter (Inline -> [Inline]))
(maybe you haven't applied enough arguments to a function?)
arising from a use of ‘toJsonFilter’
In the expression: toJsonFilter makeItStrong
In an equation for ‘main’: main = toJsonFilter makeItStrong
headers.hs:12:27:
Couldn't match expected type ‘Format’ with actual type ‘[Char]’
In the first argument of ‘RawInline’, namely ‘"latex"’
In the expression: RawInline "latex"
In an equation for ‘latex’: latex = RawInline "latex"
Makefile:4: recipe for target 'headers' failed
make[1]: *** [headers] Error 1
make[1]: Leaving directory '/home/alaya/tmp/markdown-ieee-pdf/ext'
Makefile:14: recipe for target 'build/ieee_jrnl.tex' failed
make: *** [build/ieee_jrnl.tex] Error 2
The system of my PC is
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial
ghc version on my PC is 7.10.2
I am currently in the middle of thesis, with little time to debug in the short term :(, I will gladly accept any patches.