Sign inSign up

k4zuki/pandocker

By k4zuki

Updated about 4 years ago

Yet another ubuntu 16.04 based Docker image for pandoc

Image
0

4.1K

k4zuki/pandocker repository overview

pandocker

Yet another ubuntu 16.04 based Docker image for pandoc

For the first time to build your book

make repository and cd to it
mkdir /path/to/your/workspace
cd /path/to/your/workspace
git setup
git init
installation
docker run --rm -it -v $PWD:/workspace k4zuki/pandocker make -f /var/pandoc_misc/Makefile init
> mkdir -p ./
> mkdir -p ./Out
> mkdir -p ./data
> mkdir -p ./markdown
> mkdir -p ./images
> mkdir -p ./data/waves
> mkdir -p ./data/bitfields
> mkdir -p ./data/bitfield16
> cp -i /var/pandoc_misc/Makefile.txt ./Makefile
> cp: overwrite './Makefile'? y
> cp -i /var/pandoc_misc/config.txt ./markdown/config.yaml
> cp -i /var/pandoc_misc/.gitignore ./markdown/.gitignore
> touch ./markdown/TITLE.md

git add .
git commit -m"initial commit"

Afterwards

  • HTML output docker run --rm -it -v $PWD:/workspace k4zuki/pandocker make html
  • PDF output docker run --rm -it -v $PWD:/workspace k4zuki/pandocker make pdf
  • HTML and PDF output docker run --rm -it -v $PWD:/workspace k4zuki/pandocker make html pdf

Tag summary

Content type

Image

Digest

Size

869.3 MB

Last updated

about 6 years ago

docker pull k4zuki/pandocker