-
Notifications
You must be signed in to change notification settings - Fork 51
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
Would love an PDF version #47
Comments
I'm a fan of the idea, but IKD if there's an easy way to do that with jekyll. If there's an automated way that will stay in sync with each update, I'd like it. There also may be a 3rd party tool that crawls your website and makes it into a PDF automatically, which has obvious security negatives but would be easy. |
It seems there are a few options to explore: https://mattgilbertnet.github.io/colloidsorg/informatics/2014/08/03/markdown_latex_pdf.html
The kramdown way seems a possible way:
|
I decided to go for the pandoc + LaTeX solution:
After doing these steps by hand, a PDF could be created (there are some unresolved includes in the last chapter and some wrong headers) @mflaxman What do you think? Should I proceed? |
I created a new branch: https://github.com/holgern/btcguide.github.io/tree/btcguide-pandoc The changes on the markdown files can be checked here: I decided to do the changed by hand, and with help of the compare function it will be easy to merge changes to the pandoc branch. @mflaxman can you create a new branch and add my branch to your repo? Then PR for the pdf, ebook and mobi could be created and merged. Adaption of the scripts for Linux and mac are still needed. At the moment they work only on windows. I think it will be easy to port them. The created files can be found here:
I created also a release with these files: |
Sorry for the delay, just digging into this now. Wow this is cool! I want to separate content changes from feature (PDF/ebook) changes. If you can break it up into 2 PRs I can merge sequentially. Or if you'd rather I just grab from your branch I can do that (would steal your git cred)? If it were any extra work I'd say that PDF gets you 99% of the way there, but since it doesn't seem to be harder supporting both is nice. Does that make sense? |
@mflaxman I found a way with LUA filters to generate a PDF and a EPUB file directly from the markdown files in _pages. |
The newest documents can be currently found here: |
Thank you for your great work.
I find the webpages quite hard to read and I would love a PDF version.
Could I help in creating one? Do you have an idea in how to realize this?
I'm familiar with latex but I have no idea in how to sync the content between the jekyll sites and tex files.
Could pandoc be a solution?
The text was updated successfully, but these errors were encountered: