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

Generate an ePub #101

Open
DamienCassou opened this issue May 13, 2016 · 8 comments
Open

Generate an ePub #101

DamienCassou opened this issue May 13, 2016 · 8 comments
Milestone

Comments

@DamienCassou
Copy link
Contributor

We could try going through Asciidoc or HTML+pandoc

@DamienCassou DamienCassou added this to the v2.0 milestone May 13, 2016
@DamienCassou
Copy link
Contributor Author

/cc @ThibaultAr @YannDub could you please have a look at that?

@ThibaultAr
Copy link
Contributor

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 ?

@cdlm
Copy link
Member

cdlm commented May 18, 2016

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…)

@ThibaultAr
Copy link
Contributor

Thanks for information Damien P.
The render of chapters is not really good but we can generate ePub with HTML+pandoc

@DamienCassou
Copy link
Contributor Author

Thibault Arloing [email protected] 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

@ThibaultAr
Copy link
Contributor

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)
hierarchy_epub

@DamienCassou
Copy link
Contributor Author

@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.

@Ducasse
Copy link
Member

Ducasse commented May 19, 2016

Yes!
It would be really great to have a Pillar Pharo only epub generator. :)

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

4 participants