typelead / eta-hackage

A set of patches to make Hackage compatible with the Eta language.
64 stars 31 forks source link

Patch for pandoc 2.5 #139

Open joshsh opened 5 years ago

joshsh commented 5 years ago

A patch is needed in order to use Pandoc with Eta. The latest release (2.5), as well as other releases since 1.8, has a dependency on unix (>=2.4 && <2.8).

rahulmutt commented 5 years ago

The unix dependency can easily be patched and all it's being used for is to detect terminal status.

Other than unix, there were two other problematic dependencies:

After looking into the pandoc documentation, it turns out that Lua can be used to make custom converters/filters. I have disabled these code paths in the patch and it will throw an error indicating that customization is not supported.

What is the use case for this? If it relies on the Lua features or markdown conversion, implementing those may take some time.

In the meantime, I have submitted a patch for pandoc that disables Lua and markdown. You can go ahead and do etlas install pandoc to install it after etlas update.

joshsh commented 5 years ago

Many thanks. My use case involves building Pandoc documents programmatically, then writing them out as reStructuredText. Markdown support is desirable, but not necessary at the moment.