added some fundamental scripts I use

main
youainti 3 years ago
parent a0e5d63ec7
commit a1789a96d9

15
.gitignore vendored

@ -0,0 +1,15 @@
#Ignore specific things
checkuptimes
conda-freecad-dev.sh
ghostscript_pdf_appender
kompose
loghw.sh
logs/
pluto
restart_cinnamon_help
sagemath_jupyterlab.sh
semaphores/
sites_to_check.txt
templog
tikzit/
update-zoom

@ -0,0 +1,19 @@
#!/bin/bash
#Remove the .tex extention, it just messes up the bibliography
tex=${1%%\.tex}
pdflatex $tex
biber $tex
pdflatex $tex
pdflatex $tex
pdflatex $tex
echo
echo "Removing biliography database \n\t$tex"
rm $tex.bbl
echo
echo Done
exit 0

@ -0,0 +1,6 @@
#!/bin/bash
file="$1"
echo ./"${file//'md'/'html'}"
pandoc $file -s --metadata pagetitle="kgjk.icu" -f markdown -t html5 --katex -o ./"${file//'md'/'html'}"

@ -0,0 +1,22 @@
#!/bin/bash
for file in $(find md/ -name '*.md')
do
#I should really get some way to create individual page titles
echo ./"${file//'md'/'html'}"
#Explanation of next line
#pandoc renders
# -s #gives a standalone html file
# --metadata pagetitle="EconStuff" #
# -f markdown
# -t html5 --mathjax
# $file
# -o ./"${file//'md'/'html'}"
pandoc $file -s --metadata pagetitle="kgjk.icu" -f markdown -t html5 --katex -o ./"${file//'md'/'html'}"
# pandoc -s --metadata pagetitle="EconStuff" -f markdown -t html5 $file -o ./"${file//'md'/'html'}" --mathjax="/node_modules/mathjax/es5/tex-chtml.js?config=TeX-AMS-MML_HTMLorMML"
done

@ -0,0 +1 @@
play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1

@ -0,0 +1,3 @@
#!/bin/bash
aspell check --mode=tex "$1"
Loading…
Cancel
Save