Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation notes? #2

Open
gandalfsaxe opened this issue Jun 17, 2018 · 4 comments
Open

Installation notes? #2

gandalfsaxe opened this issue Jun 17, 2018 · 4 comments

Comments

@gandalfsaxe
Copy link

gandalfsaxe commented Jun 17, 2018

Hi,

Pandoc filter noob here. The other pandoc filter I needed installed via

cabal install pandoc-crossref

I tried cabal install pandoc-minted to no avail. How does one install this? :)

@gandalfsaxe
Copy link
Author

gandalfsaxe commented Jun 17, 2018

This this page I'm guessing it could be these three commands:

runhaskell Setup.hs configure --ghc
runhaskell Setup.hs build
runhaskell Setup.hs install

However when running runhaskell Setup.hs configure --ghc I get error:

Setup.hs: Encountered missing dependencies:
base ==4.9.*, pandoc -any, pandoc-types -any

Not sure how to fix.

@yurrriq
Copy link
Owner

yurrriq commented Jun 18, 2018

Hey! Thanks for your interest. I've not (ever) published (any package) to Hackage. I'm guessing that's why cabal install pandoc-minted doesn't work. You should be able to clone the project and run cabal install from there. I'll take a look this weekend, or sooner if I'm able.

@gandalfsaxe
Copy link
Author

Ah so just cabal install Setup.hs or?

I ended up using this filter, which should be the same just written in python: https://github.com/nick-ulle/pandoc-minted

So it's not critical for me anymore. But for good measure, and in case some people in the future find the Haskell filter more useful for some reason, you could still look into it :)

@gandalfsaxe
Copy link
Author

I've ran into the issue that I can't compile a .md to a .pdf directly with pandoc, but only using pandoc to generate a .tex, and then use pdflatex to generate a PDF, same issue as this: nick-ulle/pandoc-minted#2 - i.e. something about shell-escape not working properly.

Have you tried compiling straight from .md to .pdf using pandoc? Would love for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants