Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/hk-songbook' into hk-songbook
Browse files Browse the repository at this point in the history
  • Loading branch information
Bymbacz committed Nov 28, 2023
2 parents 2fdbb9c + d70a608 commit 39facab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
working_directory: /app
steps:
- checkout
- run:
name: Update Apt
command: apt-get update
- run:
name: Update Apt
command: apt-get upgrade -y --allow-downgrades --allow-remove-essential --allow-change-held-packages
- run:
name: Update MiKTeX
command: initexmf --admin --set-config-value=[MPM]AutoInstall=1 && mpm --admin --update-db && initexmf --admin --update-fndb # buildkit
Expand Down
2 changes: 1 addition & 1 deletion src/TeXcompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
songbookTitle = config.outputFile
inFile = f"{songbookTitle}.tex"
outFile = f"{songbookTitle}.pdf"
texcompile = f"pdflatex {inFile}"
texcompile = f"pdflatex --initialize --interaction=nonstopmode {inFile}"
logger.info(f"Compiling {inFile} to {outFile}")
if os.system(texcompile) != 0:
logger.error("Command pdflatex exited with error")
Expand Down

0 comments on commit 39facab

Please sign in to comment.