This repository is a template for writing and building documents with LaTeX.
Please write documents in main.tex
.
If you want to use bibtex, you can write references in main.bib
.
You can use draw.io to create images.
First, please install draw.io desktop app from here.
Next, please update DRAWIO
in Makefile
to the path of draw.io desktop app.
You can create images/<name>.drawio.png
and run make images
to generate images/<name>.pdf
.
You can check diff with latexdiff.
When you run below command, main-diff.pdf
will be built.
make main-diff.pdf <commit hash (HEAD if you do not specify it)>
You can see main.pdf
by running command make
.
This repository builds PDF with GitHub Action and container-texlive.
GitHub Action builds PDF when you push a commit or tag.
Please make Actions Workflow permissions Read and write permissions
in Settings>Actions>General.
You can see main.pdf
in
main-pdf
branch- Artifacts of GitHub Actions Workflow
If you push a tag, GitHub Action create release.
You can see main.pdf
in Assets of the release.