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

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

Requested by Derek in FD 28042
parent 3a016d03
No related branches found
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.
Finish editing this message first!
Please register or to comment