Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/straight-shoota/pubtml
Library using Markdown Syntax, HTML, SASS & Compass to create beautiful PDFs
https://github.com/straight-shoota/pubtml
build-tool ebook markdown-to-pdf pandoc pdf pdf-generator princxml publishing
Last synced: about 1 month ago
JSON representation
Library using Markdown Syntax, HTML, SASS & Compass to create beautiful PDFs
- Host: GitHub
- URL: https://github.com/straight-shoota/pubtml
- Owner: straight-shoota
- Created: 2012-08-04T19:54:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-23T16:48:03.000Z (over 12 years ago)
- Last Synced: 2024-05-06T00:05:13.695Z (8 months ago)
- Topics: build-tool, ebook, markdown-to-pdf, pandoc, pdf, pdf-generator, princxml, publishing
- Language: JavaScript
- Size: 238 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Create beautiful documents and PDFs based on HTML5, CSS3 and leightweight markup.
Pubtml contains multiple steps:
1. **Write:** `[*idea* => markup]` Simply write text in an easly writable and readable markup. Possible formats include HTML, Markdown, Textile and reStructuredText. Large documents can be distributed over many files.
2. **Build**: `[markup => html]` All markup content is parsed into one HTML document.
3. **Style**: `[html => html]` Some general transformations extend the content of the document with metadata, Table of Contents and the like.
4. **Print**: The HTML code is converted to PDF using CSS3.Pubtml relies on these tools:
* [PrinceXML](http://princexml.com)
PrinceXML is a high quality HTML-to-PDF converter and understands Javascript and CSS3 plus some extra style sheet properties, which make it easy to use advanced printing features with CSS. Its a proprietary software but is free for private use.
It would be possible to use some open source alternatives but their support for print specific additiones is quite limited for now, so they lack proper footnote placement for example.
* [pandoc](http://johnmacfarlane.net/pandoc)
Pandoc is a library for converting from one markup format to another. It can read: markdown and (subsets of) Textile, reStructuredText, HTML, LaTeX, and DocBook XML; and it can write: plain text, markdown, reStructuredText, XHTML, HTML 5, LaTeX (including beamer slide shows), ConTeXt, RTF, DocBook XML, OpenDocument XML, ODT, Word docx, GNU Texinfo, MediaWiki markup, EPUB, Textile, groff man pages, Emacs Org-Mode, AsciiDoc, and Slidy, Slideous, DZSlides, or S5 HTML slide shows.