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
...@@ -34,6 +34,6 @@ deploy: ...@@ -34,6 +34,6 @@ deploy:
- curl -L -o - ${HUGO_TARBALL} | tar -zx -C ${HUGOTMP} - 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 - curl -L https://raw.githubusercontent.com/unlhcc/singularity-dockerfiles/master/IMAGELIST.md > static/markdown/singularity-images.md
- ${HUGOTMP}/hugo --ignoreCache -b ${BASE_URL} -v - ${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 - rsync -avz --delete public/ $DEPLOY_ROOT
- rm -rf ${HUGOTMP} - 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment