Skip to content

Commit

Permalink
add print version
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusptrs committed Aug 1, 2024
1 parent 879e58f commit bb482a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
- name: Configure Git safe directory with GITHUB_WORKSPACE
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: Create Print Version TeX
run: |
cp Karteikarten/eum_karten.tex Karteikarten/eum_karten_print.tex
sed -i 's/\\documentclass\[a7paper\]/\\documentclass[a7paper,print]/' Karteikarten/eum_karten_print.tex
- name: Build
run: |
cmake --version; pdflatex --version
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ set(IMAGE_DIRS
add_latex_document(Karteikarten/eum_karten.tex FORCE_PDF INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}/Karteikarten/kartei DEPENDS writegitid)

# Print version
add_latex_document(Karteikarten/eum_karten_print.tex FORCE_PDF INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}/Karteikarten/kartei DEPENDS writegitid)

0 comments on commit bb482a4

Please sign in to comment.