markdown-ieee-pdf icon indicating copy to clipboard operation
markdown-ieee-pdf copied to clipboard

Fail to build example

Open Alaya-in-Matrix opened this issue 9 years ago • 2 comments

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

Alaya-in-Matrix avatar Sep 07 '16 13:09 Alaya-in-Matrix

ghc version on my PC is 7.10.2

Alaya-in-Matrix avatar Sep 07 '16 13:09 Alaya-in-Matrix

I am currently in the middle of thesis, with little time to debug in the short term :(, I will gladly accept any patches.

vrthra avatar Sep 07 '16 13:09 vrthra