caltechlibrary / mkpage

MkPage Project includes tools for rendering static websites including a Pandoc preprocessor
https://caltechlibrary.github.io/mkpage
Other
9 stars 1 forks source link

Snap release doesn't see apt installed Pandoc #20

Open rsdoiel opened 2 years ago

rsdoiel commented 2 years ago

The mkpage command is a pre-processor for Pandoc. Pandoc isn't available as a snap and would be problematic to implement as a snap (e.g. Haskell doesn't have a plugin in snapcraft yet and I don't know Haskell). I want to use a "strict" container for the mkpage snap but that prefixes the search path with snap install location so Pandoc isn't visible from mkpage. The container seems to need to have Pandoc local to the snap directory structure. I haven't gotten that working. Hugo may have solved this same issue but I am not sure.

rsdoiel commented 2 years ago

Pandoc released version is now being bundled in snap. Still some issues with Pandoc finding it's data file (e.g. abbreviations, tempaltes).