docker image with pandoc and texlive, including luatexja and bxjscls etc
6.8K
docker image with pandoc and texlive, including luatexja and bxjscls to generate Japanese PDF files.
Optionally Noto Sans/Serif fonts are available noto-jp and noto-cjk-jp tag.
noto-cjk-jp uses language-specific OpenType version of Noto fonts.noto-jp uses region-specific subset OpenType of Noto fonts, has less glyphs and image size as well.see Noto CJK – Google Noto Fonts for more information
Docker image is available as auchida/pandoc in Docker Hub.
latest, basenoto-cjk-jpnoto-jpbase/latest$ docker run -v $PWD:/opt/docs auchida/pandoc pandoc -V documentclass=ltjsarticle --pdf-engine=lualatex -o docs.pdf docs.md
or
$ docker run -v $PWD:/opt/docs auchida/pandoc pandoc -V documentclass=bxjsarticle -V classoption=pandoc,standard --pdf-engine=xelatex -o docs.pdf docs.md
About pandoc, consult Pandoc - About pandoc for more information.
noto-cjk-jp$ docker run -v $PWD:/opt/docs auchida/pandoc:noto-cjk-jp pandoc -V documentclass=bxjsarticle -V classoption=pandoc,standard,jafont=noto-otf --pdf-engine=lualatex -o docs.pdf docs.md
or
$ docker run -v $PWD:/opt/docs auchida/pandoc:noto-cjk-jp pandoc -V documentclass=bxjsarticle -V classoption=pandoc,standard,jafont=noto --pdf-engine=xelatex -o docs.pdf docs.md
If you want to use LuaLaTeX and ltjs classes, instead of bxjs classes, put -H|--include-in-header option with a following file:
\usepackage[noto-otf]{luatexja-preset}
noto-jp$ docker run -v $PWD:/opt/docs auchida/pandoc:noto-jp pandoc -V documentclass=bxjsarticle -V classoption=pandoc,standard,jafont=noto-jp --pdf-engine=xelatex -o docs.pdf docs.md
One may use noto-jp with LuaLaTeX by -H|--include-in-header option with \set*jfont commands in the luatexja-fontspec package.
Contents on this repository are dedicated to
.
No rights reserved.
License for distributed Docker images follows one of Debian Project, TeXLive, Noto CJK fonts, Pandoc and its dependencies.
Content type
Image
Digest
sha256:f4ef344d6…
Size
518.3 MB
Last updated
about 4 years ago
docker pull auchida/pandoc