diff --git a/.revealjs/ntn.css b/.revealjs/ntn.css index 8313059..48b2182 100644 --- a/.revealjs/ntn.css +++ b/.revealjs/ntn.css @@ -4,7 +4,6 @@ * By Hakim El Hattab, http://hakim.se, edited by Nathan Schneider, ntnsndr.in * Needs to be placed in ~/.revealjs/reveal.js/css/theme/ */ -@import url(../../lib/font/source-sans-pro/source-sans-pro.css); section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { color: #222; } diff --git a/.scripts/install-arch.sh b/.scripts/install-arch.sh index 14d115b..362dbf5 100755 --- a/.scripts/install-arch.sh +++ b/.scripts/install-arch.sh @@ -34,10 +34,11 @@ sudo pacman -S texlive-core # revealjs cd ~/.revealjs +rm -rf reveal.js/ # remove existing install git clone https://github.com/hakimel/reveal.js.git cd reveal.js npm install -cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/css/theme/ +cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/dist/theme/ cd ~ echo "Check correct versions between reveal and pandoc: https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides" read response diff --git a/.scripts/install-deb.sh b/.scripts/install-deb.sh index 0d07a50..aec7d64 100755 --- a/.scripts/install-deb.sh +++ b/.scripts/install-deb.sh @@ -26,9 +26,11 @@ sudo apt -y install lmodern # revealjs cd ~/.revealjs +rm -rf reveal.js/ # remove existing install git clone https://github.com/hakimel/reveal.js.git cd reveal.js -cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/css/theme/ +cp ~/.revealjs/ntn.css ~/.revealjs/reveal.js/dist/theme/ +# For the older version, replace "dist/" with "css/" cd ~ echo "Check correct versions between reveal and pandoc: https://github.com/jgm/pandoc/wiki/Using-pandoc-to-produce-reveal.js-slides" read response