Open DamienCassou opened 8 years ago
/cc @ThibaultAr @YannDub could you please have a look at that?
we can't go through pandoc+Latex, pandoc only supports basic and simple LaTeX files through asciidoc we have to install "a2x" "xmllint" and "xsltproc". a2x launch the 2 others and they crash on some elements. I will have a look at this.
for HTML+pandoc: it would be great but the EnterprisePharo is only in latex, so we first have to convert the tex in HTML. Is it a good thing ?
for HTML+pandoc: it would be great but the EnterprisePharo is only in latex, so we first have to convert the tex in HTML
If you're talking about the main EnterprisePharo.tex
file, it's not a problem. You should see this file as a TeX-specific wrapper. Some duplication will be created by converting to HTML but that could be mitigated by extracting parts as Pillar files (e.g. the CC license text, the ISBN and cover credits, the preface…)
Thanks for information Damien P. The render of chapters is not really good but we can generate ePub with HTML+pandoc
Thibault Arloing notifications@github.com writes:
Thanks for information Damien P. The render of chapters is not really good but we can generate ePub with HTML+pandoc
could you please tell us how much time you imagine it would take for you to implement ePub as a Pillar exporter? Now that you have the asciidoc expertise and because we already have the HTML exporter, I guess it should not take too long.
Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
I don't know if it is really possible because a .epub is an archive with many files. I compiled the Voyage chapter and I have a hierachy (see attachment)
@ThibaultAr I don't see why it would be impossible :-). Pillar could help generate the xhtml file and a dedicated program could generate the rest and archive it.
Yes! It would be really great to have a Pillar Pharo only epub generator. :)
We could try going through Asciidoc or HTML+pandoc