Skip to content

Commit

Permalink
Migrating from eps to emf for embedded vectors as Word has removed su…
Browse files Browse the repository at this point in the history
…pport for eps.
  • Loading branch information
stevespringett committed Oct 19, 2023
1 parent 311a280 commit ae140a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions generate-document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ generate_docx() {
--toc-depth=2 \
-t docx \
-o "../OWASP_CycloneDX-$BOMTYPE-Guide-SNAPSHOT-$LANG.docx" *.md
echo -n "\nRemoving temporary eps files...\n"
find ../.. -type f -name '*.eps' -print -delete
echo -n "\nRemoving temporary emf files...\n"
find ../.. -type f -name '*.emf' -print -delete
}

generate_pdf() {
Expand Down
2 changes: 1 addition & 1 deletion templates/pandoc-svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
fmt_to_option = {
#use PNG because EMF and WMF break transparency
#"docx": ("--export-type=png", "png"),
"docx": ("--export-type=eps", "eps")
"docx": ("--export-type=emf", "emf")
}


Expand Down

0 comments on commit ae140a0

Please sign in to comment.