Ported various bits of functionality from underscore-ebook-template:
brought across various pandoc filters (still written in Javascript)
fixed the stylesheets and Javascript files for the HTML and ePub versions;
split the build tasks into smaller reusable components.
The pandoc command line is now assembled by a Scala script in project/Pandoc.scala. The list of pages is now defined in build.sbt instead of src/metadata/metadata.yaml.
Remaining TODO items:
get CI/CD working (possibly using Github Actions);
get the cat cartoons back in the PDF version (there's some LaTeX nonsense going on here... see src/templates/template.tex lines ~340-380 for an explanation);
maybe port some of the Pandoc filters to Scala (possibly using spandoc) to make the build more maintainable.
Ported various bits of functionality from
underscore-ebook-template
:The pandoc command line is now assembled by a Scala script in
project/Pandoc.scala
. The list of pages is now defined inbuild.sbt
instead ofsrc/metadata/metadata.yaml
.Remaining TODO items:
src/templates/template.tex
lines ~340-380 for an explanation);