GitHub Action to compile a Japanese LaTeX documents.
Noto font installed. Also includes plistings and minted for code highlighting in Japanese environment.
-
root_fileThe root LaTeX file to be compiled. This input is required.
- uses: 3rdJCG/latex-build-langja with: root_file: main.tex
-
working_directoryThe working directory for the LaTeX engine.
-
compilerThe LaTeX engine to be invoked. By default,
latexmkis used, which automates the process of generating LaTeX documents by issuing the appropriate sequence of commands to be run. -
argsThe extra arguments to be passed to the LaTeX engine.
-
extra_tex_packagesThe extra packages to be installed by tlmgr
name: Build LaTeX document
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: pull from repository
uses: actions/checkout@master
- name: Build LaTeX documents
uses: 3rdJCG/latex-build-langja
with:
root_file: main.tex
args: -r .latexmkrc
extra-tex-package: siunitx here pgfplots csvsimple circuitikzThis action uses this Docker image 3rdjcg/latex-ci-notojp
The initial code is from xu-cheng/latex-action.
MIT