File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ js_path=$(realpath ../static/img_javascript/)
66
77svgs : orig_svgs js_svgs
88
9+ doublespace :
10+ cd .. && ./scripts/do.sh doublespace
11+
912orig_svgs : $(orig_path ) /ch2-Z-G-65.svg.pdf \
1013 $(orig_path)/ch2-Z-G-59.svg.pdf \
1114 $(orig_path)/chip.std.svg.pdf \
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ main() {
2626
2727 if [ " $1 " == " pdf" ]; then
2828 pdf
29+ elif [ " $1 " == " doublespace" ]; then
30+ doublespace
2931 elif [ " $1 " == " clean" ]; then
3032 clean
3133 elif [ " $1 " == " epub" ]; then
@@ -44,6 +46,14 @@ main() {
4446 fi
4547}
4648
49+ doublespace () {
50+ yarn process pdf; yarn process pdf; \
51+ cd ${LATEX_PDF} ; \
52+ cp -f sicpjs.tex sicpjs_doublespace.tex; \
53+ sed -i ' s/onehalfspacing/doublespacing/' ../latex_pdf/sicpjs_doublespace.tex; \
54+ latexmk -silent -pdf -pdflatex=" pdflatex --synctex=1" -f ${OUTPUT_FILE} _doublespace
55+ }
56+
4757pdf () {
4858 yarn process pdf; yarn process pdf; \
4959 cd ${LATEX_PDF} ; \
You can’t perform that action at this time.
0 commit comments