Skip to content

Commit 84e714d

Browse files
committed
build update
1 parent f737a43 commit 84e714d

File tree

3 files changed

+316
-2
lines changed

3 files changed

+316
-2
lines changed

compile.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
cd src
3+
pdflatex -draftmode -shell-escape main.tex
4+
bibtex main # or biber
5+
makeindex main.idx # if needed
6+
#makeindex -s style.gls ...# for glossary if needed
7+
pdflatex -draftmode -shell-escape main.tex
8+
pdflatex -shell-escape main.tex
9+
#latexmk -shell-escape -bibtex main.tex
10+
11+
cd ../

package-lock.json

Lines changed: 304 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@types/watch": "^1.0.0"
1212
},
1313
"scripts": {
14-
"start": "concurrently -c 'red,green,blue' -n 'paper,bibwatch,expose' -p '{name}' 'npm run watch' 'npm run watch-dl-bib' 'npm run watch-expose'",
14+
"start": "concurrently -c 'red,green,blue' -n 'paper,bibwatch,expose' -p '{name}' 'npm run watch' 'npm run watch-dl-bib' 'npm run watch-expose'",
1515
"build": "npm run latexmk",
1616
"watch": "node_modules/watch/cli.js 'echo \"tex change detected\" && npm run build' --filter=util/watch-filter.js ./src/",
1717
"test": "echo \"Error: no test specified\" && exit 1",
@@ -21,7 +21,6 @@
2121
"latexmk-expose": "cd src/ && latexmk -pdf -bibtex proposal.tex && cd ../",
2222
"clean": "rm -rf *.dvi *.blg *.log *.fls *.lof *.toc *.fdb_latexmk *.lot *.bbl *.aux",
2323
"spelling": "aspell src/proposal.tex && aspell src/chaps/*.tex",
24-
2524
"start-old": "concurrently 'npm run serve' 'npm run screenshot-watch' 'npm run build-watch'"
2625
},
2726
"author": "",

0 commit comments

Comments
 (0)