summaryrefslogtreecommitdiffstats
path: root/local/bin/build-latex.sh
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2024-09-11 04:25:38 +0900
committerMitsuo Tokumori <[email protected]>2024-09-11 04:25:38 +0900
commit37ff7062874b72bafa99afe661f42653565ed511 (patch)
tree60372bf7fdb94c9034c7d1cc5a17cd7df526c4fc /local/bin/build-latex.sh
parentdca319b8d9d221f1aaf3a00ee457d202096c66ac (diff)
downloaddotfiles-37ff7062874b72bafa99afe661f42653565ed511.tar.gz
dotfiles-37ff7062874b72bafa99afe661f42653565ed511.tar.bz2
dotfiles-37ff7062874b72bafa99afe661f42653565ed511.zip
RESTRUCTURE. Replicate relative paths in public/
Diffstat (limited to 'local/bin/build-latex.sh')
-rwxr-xr-xlocal/bin/build-latex.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/local/bin/build-latex.sh b/local/bin/build-latex.sh
deleted file mode 100755
index 7048246..0000000
--- a/local/bin/build-latex.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-# Build single latex file using xelatex
-
-if [ $# -ne 1 ]; then
- echo "Usage: $(basename "$0") FILE"
- exit 1
-fi
-
-cleanup() {
- # cleanup of auxiliary files
- rm -f *.aux *.fls *.fdb_latexmk
- # rm *.log
-}
-
-xelatex $1 || exit # Initial compilation
-#bibtex # Bibliography tool
-#xelatex $1 || exit # Incorporate bibliography changes
-xelatex $1 || exit # Fix cross-references
-#xelatex $1 || exit # 4th run just to be safe
-cleanup
-echo "## Mispelled words:"
-pdftotext "${1%.tex}.pdf" - | hunspell -d en_US -i utf-8 -a | sort | uniq