Skip to content

Commit

Permalink
Support PDF files creation in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
enzet committed Jul 22, 2024
1 parent 542df7c commit c0b3cb6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ jobs:
mkdir out
build/language > out/ipa.tex
cp data/*.tex out/
- name: Construct `table.pdf`
uses: xu-cheng/latex-action@v3
with:
working_directory: out
root_file: table.tex
latexmk_use_xelatex: true
- name: Construct `text.pdf`
uses: xu-cheng/latex-action@v3
with:
working_directory: out
root_file: text.tex
latexmk_use_xelatex: true
2 changes: 1 addition & 1 deletion data/text.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

\begin{figure}
\centerline{
\includegraphics{out/table.pdf}
\includegraphics{table.pdf}
}
\caption{Main IPA characters}
\end{figure}
Expand Down

0 comments on commit c0b3cb6

Please sign in to comment.