-
Notifications
You must be signed in to change notification settings - Fork 69
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
Suggested edit for the documentation of asciidoctor-epub3 #54
Comments
Thanks for your input.
This is more of a goal :)
This is emphasized here: https://github.com/asciidoctor/asciidoctor-epub3#declaring-the-spine I agree a sample code snippet would help visualize the requirement. If you'd like to send a pull request for that, I'd be glad to review and merge it. It should not be necessary to modify source files. Your Ruby setup is not correct, and it's not a more recent version of Ruby (the latest version is Ruby 2.2). However, I do know that setting up Ruby can be tricky, especially on Ubuntu which ships with a completely broken Ruby setup. What I recommend is RVM. It has never failed me. We are planning a page on asciidoctor.org that explains how to setup Ruby using RVM. See asciidoctor/asciidoctor.org#399. Once that page is ready, we can link to it from this README. In a nutshell, the setup should be something like what is described here: Except don't install "rails". Instead, use:
Then you can use:
If you want to use the development (git) version, then use:
Then, you can use:
|
Related to #38. |
Thank you for your (very) quick reply.
Yes, I did see RVM during my travails yesterday, but thought it too much of a detour:- So I've changed camps and done
That worked out of the box and it kept all the internal links between chapters ... It now just remains to tweak the CSS to something more Christmassy; like this- That was easy in LaTeX, so I'm hoping ditto in EPUB 3. (Here I'm relying on Landry Miñana's excellent Richard H |
I see RVM as the path rather than the detour. I know it can seem like a lot of steps, but it keeps paying you back with all the time it saves you in the long run. I wouldn't recommend it otherwise. I didn't mean for my reply about your Ruby setup to sound so sharp. I'm just really frustrated with Ubuntu for screwing up the Ruby installation. Ruby isn't difficult to understand, but distributions are making it seem complex. That's why I like RVM. It shields you from that problem and lets you use Ruby the way it was intended.
Actually, if you do use a2x, I recommend first converting to DocBook using Asciidoctor, then converting to whatever output format you want. That lets you take advantage of the all the modern enhancements in Asciidoctor but still use the DocBook toolchain.
The nice part about AsciiDoc is that you have lots of options. |
I've added the example of the spine document in the README. The rest of the changes will be addressed by #38. |
https://github.com/asciidoctor/asciidoctor-epub3 says
«Converting an AsciiDoc document to EPUB3 is as simple as passing your document to the asciidoctor-epub3 command.»
So I thought converting our group's Christmas Newsletter (currently an AsciiDoc document for pdf) to EPUB3 should be simple.
It turned out to be not quite as simple as that.
Here is what I had to do;
(With thanks to https://www.brightbox.com/docs/ruby/ubuntu/)
(«chapterOne.asciidoc», «chapterTwo.asciidoc» ...)
I suggest that a help file with the above information would be a big time-saver for people like me
The text was updated successfully, but these errors were encountered: