Skip to content

Commit

Permalink
Merge pull request #7 from 3MFConsortium/test_bool
Browse files Browse the repository at this point in the history
Test boolcreate pull request
  • Loading branch information
jordig100 authored Nov 27, 2023
2 parents 70ce1e7 + bb79ea3 commit 4eb7fdd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build-linux:
runs-on: ubuntu-20.04
env:
SPECNAME: "3MF Beam Lattice Extension"
SPECNAME: "3MF Boolean operations"
steps:
- uses: actions/checkout@v2
with:
Expand Down
Empty file modified markdownToPDF/install_wkhtmltopdf.sh
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion markdownToPDF/mdToPDF.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ sed -i 's|<a href="@|<a href="#|g' "$TMPFILE"
sed -i 's|<pre|<code style="white-space: pre-wrap; page-break-inside: avoid !important; display: block;"|g' "$TMPFILE"
sed -i 's|</pre|</code|g' "$TMPFILE"
sed -i "/Page tweaks/ a * { font-size: large; }" "$TMPFILE"
sed -i 's|margin-top: 64px;|margin-top: 64px; margin-right: 21px;|g' "$TMPFILE"
sed -i 's|margin-bottom: 21px;|margin-bottom: 21px; margin-left: 21px;|g' "$TMPFILE"

MARGIN=14

./wkhtmltopdf --title "$FILE" --footer-left "[section]" --footer-right "[page]/[topage]" --footer-font-size 7 --footer-spacing 4 \
--margin-top $MARGIN --margin-left $MARGIN --margin-right $MARGIN --margin-bottom $MARGIN \
"$TMPFILE" "$FILE.pdf"
"$TMPFILE" "$FILE.pdf"

0 comments on commit 4eb7fdd

Please sign in to comment.