Either you’ve already heard of pandoc or if you have searched online for markdown to pdf or similar, you are sure to come across pandoc. This tutorial will give you a basic idea of using pandoc to generate pdf from GitHub style markdown file. The main purpose is to highlight what customizations I did to generate pdf for self-publishing my ebooks. It wasn’t easy to arrive at the set-up I ended up with, so I hope this will be useful for those looking to use pandoc to generate pdf. Specifically aimed at technical books that has code snippets.
- Copy contents of raw .md file, having embedded links to images
- Modify image links in file with following (in Sublime Text 2):
- Find Regex: https://github.com/(.*)/blob/(.*)
- Replace: https://raw.githubusercontent.com/$1/$2
- Paste and 'Convert to HTML page'
- Use browser print to save as PDF
There’s a confusing array of options available for converting HTML to PDF. Which is the best for your app? This article reviews the most popular options.
A showcase of the capabilities of WebViewer, a JavaScript-based PDF SDK for building document functionality in web apps. Supports all browsers + mobile.
PyX is a Python package for the creation of PostScript, PDF, and SVG files. It combines an abstraction of the PostScript drawing model with a TeX/LaTeX interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these primitives.
This book is a must-have for anyone serious about rendering in real time. With the announcement of new ray tracing APIs and hardware to support them, developers can easily create real-time application