This software package (Dujing) is to generate Chinese classic books automatically from markdown source files.
The executables from the following softwares are used in this package:
- Pandoc: Convert markdown files to HTML files
- OpenCC: Convert Chinese traditional fonts to simplified fonts
- wkhtmltopdf: Convert HTML files to PDF files
-
Download the latest version of the following softwares.
-
Install them.
-
Add the folders which contain executable files (bin folder) to
Path
(an environment variable) by running the following command:set PATH=%PATH%;[Bin Folder]
- Download Link.
- Set the bin folder:
set PATH=%PATH%;"C:\Program Files\Pandoc"
.
- Unzipp
opencc-0.4.2.rar
to the root folder of Dujing.
- [Download Link] (http://wkhtmltopdf.org/downloads.html ).
- Set the bin folder:
set PATH=%PATH%;"C:\Program Files\wkhtmltopdf\bin"
.
- Download Link
- Set the bin folder:
set PATH=%PATH%;"Python27"
.
- Download Link
- Set the bin folder:
set PATH=%PATH%;"C:\Program Files (x86)\Calibre2"
.
Generate the classic books by going to dujing\build
folder and run build
.
The generated books are available in the following links: