Skip to content
Markdown (e.g. GitHub Pages) => Docbook => high quality PDF, EBUP, HTML, ...
Java Shell Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
book
plantuml
tmp
.env
Dockerfile
LICENSE
README.md
book.pdf
docker-compose.yml

README.md

livingfire-docbook

Write your documents with Mardown in a GitHub Page, GitLab Wiki, Golumn Wiki, ... and turn them with DocBook into into a high quality PDF

Usage

See project page

Quick Start

Make sure you have a working Docker and docker-compose environment.

# download project files
git clone https://gitlab.com/phoen1x/livingfire-docbook.git
cd livingfire-docbook

# start livingfire-docbook
docker-compose up -d

# convert docbook to pdf
docker-compose exec docbook /book/convertBook.sh
xdg-open book/target/docbkx/pdf/book.pdf

# write Markdown or import wiki
cd tmp/wiki
git init
git remote add origin https://gitlab.com/phoen1x/livingfire-docbook.wiki.git
git pull
rm -rf .git
cd ../..

# convert plantuml to images - http://plantuml.com/
docker-compose exec docbook /book/convertPlantuml.sh

# convert markdown to docbook
docker-compose exec docbook /book/convertWiki2Docbook.sh
xdg-open book/target/docbkx/pdf/book.pdf

# stop  livingfire-docbook and get PDF
docker-compose down
cat book/target/docbkx/pdf/book.pdf > book.pdf
You can’t perform that action at this time.