Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k1low/docker-alpine-pandoc-ja
Pandoc for Japanese based on Alpine Linux
https://github.com/k1low/docker-alpine-pandoc-ja
alpine-linux dockerfile japanese pandoc
Last synced: about 1 month ago
JSON representation
Pandoc for Japanese based on Alpine Linux
- Host: GitHub
- URL: https://github.com/k1low/docker-alpine-pandoc-ja
- Owner: k1LoW
- License: mit
- Created: 2017-12-14T09:18:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-09T13:48:25.000Z (over 5 years ago)
- Last Synced: 2024-10-25T04:59:44.510Z (3 months ago)
- Topics: alpine-linux, dockerfile, japanese, pandoc
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 15
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alpine-pandoc-ja [![Docker Automated build](https://img.shields.io/docker/automated/k1low/alpine-pandoc-ja.svg?style=flat-square)](https://hub.docker.com/r/k1low/alpine-pandoc-ja/) [![Docker Automated build](https://img.shields.io/docker/build/k1low/alpine-pandoc-ja.svg?style=flat-square)](https://hub.docker.com/r/k1low/alpine-pandoc-ja/builds/) [![GitHub release](https://img.shields.io/github/release/k1low/docker-alpine-pandoc-ja.svg?style=flat-square)](https://github.com/k1LoW/docker-alpine-pandoc-ja/releases)
Pandoc for Japanese based on Alpine Linux.
## Usage
```sh
$ docker pull k1low/alpine-pandoc-ja
$ docker run -it --rm -v `pwd`:/workspace k1low/alpine-pandoc-ja pandoc input.md -f markdown -o output.pdf -V documentclass=ltjarticle -V classoption=a4j -V geometry:margin=1in --pdf-engine=lualatex
```### Use Template
```
$ mkdir templates
$ wget https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template/master/eisvogel.tex -O templates/eisvogel.tex
$ docker run -it --rm -v `pwd`:/workspace -v `pwd`/templates:/root/.pandoc/templates k1low/pandoc:latest pandoc input.md -f markdown -o output.pdf -V documentclass=ltjarticle -V classoption=a4j -V geometry:margin=1in -V CJKmainfont=IPAexGothic --pdf-engine=lualatex --template eisvogel.tex --listings
```## Reference Dockerfile
- [portown/alpine-pandoc](https://github.com/portown/alpine-pandoc)
- [paperist/alpine-texlive-ja](https://github.com/Paperist/docker-alpine-texlive-ja)