GitHub Action to compile a Japanese LaTeX documents.
Noto font installed. Also includes plistings and minted for code highlighting in Japanese environment.
-
root_file
The root LaTeX file to be compiled. This input is required.
- uses: 3rdJCG/latex-build-langja with: root_file: main.tex
-
working_directory
The working directory for the LaTeX engine.
-
compiler
The LaTeX engine to be invoked. By default,
latexmk
is used, which automates the process of generating LaTeX documents by issuing the appropriate sequence of commands to be run. -
args
The extra arguments to be passed to the LaTeX engine.
-
extra_tex_packages
The 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 circuitikz
This action uses this Docker image 3rdjcg/latex-ci-notojp
The initial code is from xu-cheng/latex-action.
MIT