Skip to content
Snippets Groups Projects
Commit f0858d5a authored by John Thiltges's avatar John Thiltges
Browse files

Merge branch 'comicpapyrus' into 'master'

Make the facilities document use Times New Roman, for NSF reasons

See merge request !255
parents 3a016d03 aa7aa806
Branches
No related tags found
1 merge request!255Make the facilities document use Times New Roman, for NSF reasons
......@@ -34,6 +34,6 @@ deploy:
- curl -L -o - ${HUGO_TARBALL} | tar -zx -C ${HUGOTMP}
- curl -L https://raw.githubusercontent.com/unlhcc/singularity-dockerfiles/master/IMAGELIST.md > static/markdown/singularity-images.md
- ${HUGOTMP}/hugo --ignoreCache -b ${BASE_URL} -v
- pandoc -s content/facilities.md -o public/facilities.docx
- ./pandoc-build.sh
- rsync -avz --delete public/ $DEPLOY_ROOT
- rm -rf ${HUGOTMP}
#!/bin/bash
# Make the facilities document use Times New Roman, for NSF reasons
# Create a pandoc document, and change the font
pushd ${HUGOTMP}
echo "hello world" | pandoc -o reference.docx
unzip -q reference.docx word/theme/theme1.xml
sed -i 's/Calibri/Times New Roman/' word/theme/theme1.xml
sed -i 's/Cambria/Times New Roman/' word/theme/theme1.xml
zip -q -r --move reference.docx word
popd
pandoc --reference-doc=${HUGOTMP}/reference.docx -s content/facilities.md -o public/facilities.docx
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment