Compare commits

..

10 Commits

Author SHA1 Message Date
d68b85b1a9 add new uplaod 2024-02-28 10:54:15 +01:00
9c470de81c add custom words
All checks were successful
Compile LaTeX document / build (pull_request) Successful in 31s
Compile LaTeX document / latex_spellcheck (pull_request) Successful in 3m5s
2024-02-28 10:40:25 +01:00
865dd81a39 try ci
All checks were successful
Compile LaTeX document / build (push) Successful in 29s
Compile LaTeX document / latex_spellcheck (push) Successful in 3m0s
2024-02-28 10:27:44 +01:00
6fe5ad2f40 fix language
Some checks failed
Compile LaTeX document / build (push) Successful in 31s
Compile LaTeX document / latex_spellcheck (push) Failing after 4m34s
2024-02-28 10:19:44 +01:00
b75e34a569 try ci
Some checks failed
Compile LaTeX document / build (push) Successful in 29s
Compile LaTeX document / latex_spellcheck (push) Failing after 4m42s
2024-02-28 10:13:32 +01:00
c33f7b8991 try ci
Some checks failed
Compile LaTeX document / build (push) Successful in 29s
Compile LaTeX document / latex_spellcheck (push) Failing after 2m7s
2024-02-28 10:06:41 +01:00
002d82145c try ci 2024-02-28 10:04:38 +01:00
950a5c7b89 try ci 2024-02-28 10:04:00 +01:00
8b883678d7 try ci 2024-02-28 10:02:00 +01:00
7035ae8a2d try ci 2024-02-28 10:01:05 +01:00
3 changed files with 53 additions and 45 deletions

View File

@ -2,52 +2,37 @@ name: Compile LaTeX document
on: on:
push: push:
branches: [main, ci] # or any other branch you want to trigger the workflow branches: [main] # or any other branch you want to trigger the workflow
pull_request: pull_request:
branches: branches: [main]
- main
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: leplusorg/latex image: leplusorg/latex
steps: steps:
- name: "Determine prerequisites" - name: "Determine prerequisites"
id: prereq id: prereq
run: | run: |
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
- name: Install node - name: Install node
if: ${{ steps.prereq.outputs.need_node == '1' }} if: ${{ steps.prereq.outputs.need_node == '1' }}
run: | run: |
apt update -y && apt install -y curl apt update -y && apt install -y curl
curl -sS https://webi.sh/node | sh curl -sS https://webi.sh/node | sh
echo ~/.local/opt/node/bin >> $GITHUB_PATH echo ~/.local/opt/node/bin >> $GITHUB_PATH
- uses: actions/checkout@v3
with:
- uses: actions/checkout@v3 fetch-depth: 0
with: - name: Compile LaTeX Document
fetch-depth: 0 run: latexmk -pdf ${{ env.root_file }}
env:
- name: Compile LaTeX Document root_file: main.tex # Replace 'main.tex' with the path to your main LaTeX file
run: latexmk -pdf ${{ env.root_file }} - name: christopherhx/gitea-upload-artifact@v4
env: uses: nanoufo/action-upload-artifacts-and-release-assets@v1.9
root_file: main.tex # Replace 'main.tex' with the path to your main LaTeX file with:
path: ./main.pdf
- name: Upload artifacts and release assets
uses: nanoufo/action-upload-artifacts-and-release-assets@v1.9
with:
path: |
./main.pdf
# - name: Upload PDF
# uses: actions/upload-artifact@v3
# with:
# name: Beitrittserklaerung_RudernDonauLinz.pdf
# path: ./main.pdf
latex_spellcheck: latex_spellcheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -56,15 +41,24 @@ jobs:
env: env:
LATEX_SPELLCHECK_SOURCE_NAME: main LATEX_SPELLCHECK_SOURCE_NAME: main
LATEX_SPELLCHECK_SOURCE_PATH: './' LATEX_SPELLCHECK_SOURCE_PATH: './'
LATEX_SPELLCHECK_SOURCE_LANGUAGE_DEFAULT: en-US LATEX_SPELLCHECK_SOURCE_LANGUAGE_DEFAULT: de-AT
LATEX_SPELLCHECK_IGNORELIST: spellcheck_custom_words.txt LATEX_SPELLCHECK_IGNORELIST: spellcheck_custom_words.txt
LATEX_SPELLCHECK_TEXLIVE_VERSION: TL2021-2021-12-12-04-05 LATEX_SPELLCHECK_TEXLIVE_VERSION: TL2021-2021-12-12-04-05
LATEX_SPELLCHECK_TEXLIVE_IMAGE: registry.gitlab.com/islandoftex/images/texlive LATEX_SPELLCHECK_TEXLIVE_IMAGE: registry.gitlab.com/islandoftex/images/texlive
steps: steps:
- name: "Determine prerequisites"
id: prereq
run: |
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
- name: Install node
if: ${{ steps.prereq.outputs.need_node == '1' }}
run: |
apt update -y && apt install -y curl
curl -sS https://webi.sh/node | sh
echo ~/.local/opt/node/bin >> $GITHUB_PATH
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Prepare environment - name: Prepare environment
run: | run: |
cd $LATEX_SPELLCHECK_SOURCE_PATH cd $LATEX_SPELLCHECK_SOURCE_PATH
@ -87,7 +81,7 @@ jobs:
apt-get update apt-get update
apt-get -y install python3-pip wget python3-venv apt-get -y install python3-pip wget python3-venv
python3 -m venv /tmp/env python3 -m venv /tmp/env
source /tmp/env/bin/activate . /tmp/env/bin/activate
pip3 install yalafi pip3 install yalafi
wget --directory-prefix=/srv/ https://languagetool.org/download/LanguageTool-stable.zip wget --directory-prefix=/srv/ https://languagetool.org/download/LanguageTool-stable.zip
unzip /srv/LanguageTool-stable.zip -d /srv/lt/ unzip /srv/LanguageTool-stable.zip -d /srv/lt/
@ -98,9 +92,14 @@ jobs:
sed -i 's/~/ 1/g' $LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.merged.tmp sed -i 's/~/ 1/g' $LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.merged.tmp
detex $LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.merged.tmp >$LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.plain.tmp detex $LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.merged.tmp >$LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.plain.tmp
python3 -m yalafi.shell --lt-directory /srv/lt/LanguageTool --output html --language $SOURCE_LANGUAGE $LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.plain.tmp >$LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.html python3 -m yalafi.shell --lt-directory /srv/lt/LanguageTool --output html --language $SOURCE_LANGUAGE $LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.plain.tmp >$LATEX_SPELLCHECK_SOURCE_NAME.spellcheck.html
# - name: Upload Spellcheck Results
- name: Upload Spellcheck Results # uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v2 # with:
# name: spellcheck-results
# path: ${{ env.LATEX_SPELLCHECK_SOURCE_PATH }}${{ env.LATEX_SPELLCHECK_SOURCE_NAME }}.spellcheck.html
- name: Upload artifacts and release assets
uses: christopherhx/gitea-upload-artifact@v4
with: with:
name: spellcheck-results name: spellcheck-results
path: ${{ env.LATEX_SPELLCHECK_SOURCE_PATH }}${{ env.LATEX_SPELLCHECK_SOURCE_NAME }}.spellcheck.html path: ${{ env.LATEX_SPELLCHECK_SOURCE_PATH }}${{ env.LATEX_SPELLCHECK_SOURCE_NAME }}.spellcheck.html

View File

@ -63,7 +63,7 @@ Gleichzeitig erkläre ich, dass ich des Schwimmens kundig bin und mein Gesundhei
\noindent \noindent
\textbf{Für Rennjugend:} $\Box$ Hiermit bestätige ich den Ankauf eines Ruderanzuges (Preis ca. 80€). Die zuständige Person des Vereines wird sich, zwecks der Größenauswahl, bei Ihnen melden.\\ \textbf{Für Rennjugend:} $\Box$ Hiermit bestätige ich den Ankauf eines Ruderanzuges (Preis ca. 80 €). Die zuständige Person des Vereines wird sich, zwecks der Größenauswahl, bei Ihnen melden.\\
\noindent \noindent
\begin{tabular}{|M{\halfcolwidth}|M{\halfcolwidth}|} \begin{tabular}{|M{\halfcolwidth}|M{\halfcolwidth}|}

View File

@ -0,0 +1,9 @@
ASKÖ
OÖRV
ÖRV
ZVR-Zahl
Heilhamerweg
ruderischen
Viribus
units