Skip to content

Commit

Permalink
#12 Compile to tex and then into pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
vityaman committed Mar 1, 2024
1 parent 6254107 commit 9234625
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ jobs:
- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Install required packages
run: |
sudo apt install texlive-lang-cyrillic
sudo apt install texlive-latex-recommended
- name: Compile technical-task.md to pdf
- name: Convert .md to .tex
run: |
pandoc \
-t latex \
-V fontenc=T2A \
-s doc/technical-task.md \
-o out/technical-task.pdf
-o out/technical-task.tex
- name: Compile Latex
uses: xu-cheng/latex-action@v3
with:
root_file: |
out/technical-task.tex
- name: Upload technical-task-pdf artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9234625

Please sign in to comment.