Giter Site home page Giter Site logo

haoxinguo / ebook-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phodal/ebook-boilerplate

0.0 1.0 0.0 47 KB

A Markdown convert to Ebook :arrow_right: html、mobi、epub、pdf、rtf Template

License: MIT License

Makefile 2.65% HTML 3.05% CSS 78.21% Shell 0.61% TeX 15.48%

ebook-boilerplate's Introduction

markdown一步生成电子书: 支持PDF、Mobi、EPUB格式

简介

在写电子书《一步步搭建物联网系统》的时候就为自己打造了一个生成HTML的生成脚本。

在写电子书《GitHub 漫游指南》,发现了 Backbone Fundamentals的构建电子书脚本。于是就复制了一份,然而却发现不支持生成中文的PDF——没有Tex模板。然后,就自己添加了一个Tex模板。

最近在整理一些文章、观点、想法,它就变成了《RePractise》——又一本电子书。:kissing_heart::kissing_heart:

接着,接着,接着,就有了这个代码库。:smile::smile::smile:

ShowCase

Usage

  1. 运行init.sh
./init.sh

输入书名和作者

  1. 编译

编译全部: epub、mobi、html、pdf、rtf

make all

编译特定: epub、mobi、html、pdf、rtf

make html

Setup

  1. 基本编译需要pandoc
  2. PDF要求环境Tex,推荐使用TexLive
  3. mobi需要kindlegen。

GNU/Linux和Mac OS可以使用

gem install kindlegen

Windows用户安装 Kindlegen 参见: 创建 Kindle 电子书

ebook-boilerplate's People

Contributors

phodal avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.