Leseansicht - files 3000–3400 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Leseansicht - files 3000–3400 | |
on: | |
workflow_dispatch | |
jobs: | |
makepdf: | |
name: Convert LaTeX to PDF | |
runs-on: ubuntu-latest | |
steps: | |
- name: Perform Checkout | |
uses: actions/checkout@v3 | |
- name: Install ANT, LaTeX Things | |
run: | | |
sudo apt-get update && sudo apt-get install texlive-xetex texlive-humanities texlive-lang-german texlive-lang-french texlive-lang-english texlive-lang-greek openjdk-11-jre-headless ant -y | |
- name: Clone private repository with fonts and symbols | |
uses: GuillaumeFalourd/clone-github-repo-action@v2 | |
with: | |
owner: 'arthur-schnitzler' | |
repository: 'schnitzler-briefe-tex-private-files' | |
access-token: ${{ secrets.SCHNITZLER_TEX_PRIVATE }} | |
- name: Convert Files | |
run: | | |
cd tex-leseansicht | |
for i in L0{3000..3400}.tex; do xelatex $i -interaction=nonstopmode; done | |
cd .. | |
- name: Create Index | |
run: | | |
cd tex-leseansicht | |
for i in L0{3000..3400}.tex; do splitindex -m "texindy -M ../tex-inputs/xindy-pdf" $i; done | |
cd .. | |
- name: Final conversion | |
run: | | |
cd tex-leseansicht | |
for i in L0{3000..3400}.tex; do xelatex $i -interaction=nonstopmode; done | |
cd .. | |
- name: copy pdf to pdf-folder | |
run: | | |
mv ./tex-leseansicht/*.pdf ./pdf-leseansicht/ | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: made pdfs | |
file_pattern: "*.pdf" |