diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e75bbdc..06c7a17 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,10 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: '0' - - name: LaTeX linter (chktex) - uses: j2kun/chktex-action@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Compile LaTeX document - Template + uses: dante-ev/latex-action@master + with: + working_directory: ./src + root_file: template.tex diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9f53304..68c68ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: '0' - name: Create initial tag @@ -36,13 +36,11 @@ jobs: name: Version ${{ steps.bump.outputs.new_tag }} draft: false prerelease: false - - name: Compile LaTeX document - uses: xu-cheng/latex-action@v3 + - name: Compile LaTeX document - Template + uses: dante-ev/latex-action@master with: - root_file: src/template.tex - texlive_version: 2023 - latexmk_shell_escape: true - args: -pdf -interaction=nonstopmode -output-directory=.build -f + working_directory: ./src + root_file: template.tex - name: Upload Release Asset - Template uses: actions/upload-release-asset@v1 env: diff --git a/src/.latexmkrc b/src/.latexmkrc index a6130e8..a3f365f 100644 --- a/src/.latexmkrc +++ b/src/.latexmkrc @@ -8,10 +8,18 @@ ); $ENV{'TEXINPUTS'}=join(':', @texinputs); +# BibTeX search paths +@bibinputs = ( + '.', # Current directory + './Conference-LaTeX-template_10-17-19/', # IEEE Template dir + '', # Default search paths +); +$ENV{'BIBINPUTS'}=join(':', @bibinputs); + ### -- Output options -------------------------------------------------------- -#$quiet = 1; -#$silent = 1; +$quiet = 1; +$silent = 1; # -- Build options ----------------------------------------------------------- @@ -34,3 +42,4 @@ $bibtex_use = 1.5; # Use bibtex/biber. On clean, keep .bbl files if no .bib # Other options # $max_repeat = 5; # Try 5 times at maximum then give up +$force_mode = 1; # Force build even if files are up to date