PublishR – Fast publishing for ebooks and paper Copyright © 2012 Michael Franzl

USAGE: publishr [name] [path_to_source_dir] [format] [path_to_converters]

[name] is an unique string that identifies your project. Rendered files will be named after this.
[path_to_source_dir] directory must minimally contain: [cover.jpg, covertext.txt, frontmatter.txt, toc.txt, metadata.yml]
[format] must be {kindle, pdf}
[path_to_converters] directory must contain `kindlegen` and `jpg2ps`. They cannot be shipped with this program due to legal reasons.

EXAMPLE: publishr mybook1 my/files/mybook epub path/to/converters

This will generate the file mybook1.epub in my/files/mybook

DEPENDENCIES:

For converting to pdf, you have to install a full verison of a LaTeX system. On Ubuntu systems do

sudo apt-get install texlive

If you run into LaTeX errors, you might want to install the full LaTeX suite with

sudo apt-get install texlive-full

Licence

Copyright © 2011-2012 Michael Franzl <[email protected]>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <www.gnu.org/licenses/>.