Added all the policies in Markdown format. Changed the templates from ODT to latex
Former-commit-id: 02ab6b2880
This commit is contained in:
13
scripts/convert-from-markdown-to-pdf.sh
Normal file
13
scripts/convert-from-markdown-to-pdf.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
cd ..
|
||||
|
||||
cd latex
|
||||
|
||||
for file in ../markdown/*.md; do
|
||||
filename=$(basename "$file" .md)
|
||||
pandoc "$file" -o "../test/$filename.pdf" "--template=policymall.tex" "--pdf-engine=xelatex" "--pdf-engine-opt=-shell-escape"
|
||||
done
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
mkdir test
|
||||
mkdir ../markdown
|
||||
|
||||
libreoffice --headless --convert-to odt ../*.fodt --outdir test
|
||||
libreoffice --headless --convert-to odt ../policies/*.fodt --outdir test
|
||||
|
||||
for file in test/*.odt; do
|
||||
filename=$(basename "$file" .odt)
|
||||
|
||||
Reference in New Issue
Block a user