Skip to content

Commit bb2dad7

Browse files
PDF Fixes Chapter 1--2
1 parent 88caea8 commit bb2dad7

File tree

142 files changed

+836
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+836
-174
lines changed

javascript/latexContent.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,16 @@ export const preamble = `\\documentclass[a4paper, 12pt]{book}
161161
\\lstnewenvironment{JavaScriptOutput}{\\lstset{style=JavaScriptOutput}}{}
162162
163163
\\usepackage{epigraph}
164-
\\makeatletter
165-
\\newlength\\interepigraphskip
166-
\\setlength\\interepigraphskip{1ex}
167-
\\renewcommand\\epigraph[3][\\interepigraphskip]{\\vspace{\\beforeepigraphskip}
168-
{\\epigraphsize\\begin{\\epigraphflush}\\begin{minipage}{\\epigraphwidth}
169-
\\@epitext{#2}\\\\[#1] \\@episource{#3}
170-
\\end{minipage}\\end{\\epigraphflush}
171-
\\vspace{\\afterepigraphskip}}}
172-
\\makeatother
164+
\\renewcommand{\\textflush}{flushepinormal}
165+
% \\makeatletter
166+
% \\newlength\\interepigraphskip
167+
% \\setlength\\interepigraphskip{1ex}
168+
% \\renewcommand\\epigraph[3][\\interepigraphskip]{\\vspace{\\beforeepigraphskip}
169+
% {\\epigraphsize\\begin{\\epigraphflush}\\begin{minipage}{\\epigraphwidth}
170+
% \\@epitext{#2}\\\\[#1] \\@episource{#3}
171+
% \\end{minipage}\\end{\\epigraphflush}
172+
% \\vspace{\\afterepigraphskip}}}
173+
% \\makeatother
173174
\\setlength\\epigraphwidth{11cm}
174175
\\setlength\\epigraphrule{0pt}
175176

scripts/Makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ js_path=$(realpath ../static/img_javascript/)
44
%.svg.pdf: %.svg
55
inkscape -D --file=$< --export-pdf=$@
66

7-
svgs: $(orig_path)/ch2-Z-G-65.svg.pdf \
7+
svgs: orig_svgs js_svgs
8+
9+
orig_svgs: $(orig_path)/ch2-Z-G-65.svg.pdf \
810
$(orig_path)/ch2-Z-G-59.svg.pdf \
911
$(orig_path)/chip.std.svg.pdf \
1012
$(orig_path)/ch3-Z-G-21.svg.pdf \
@@ -86,7 +88,13 @@ svgs: $(orig_path)/ch2-Z-G-65.svg.pdf \
8688
$(orig_path)/Fig4.6a.std.svg.pdf \
8789
$(orig_path)/ch2-Z-G-54.svg.pdf \
8890
$(orig_path)/Fig5.15c.std.svg.pdf \
89-
$(js_path)/ch2-Z-G-65.svg.pdf \
91+
$(orig_path)/Fig2.9.std.svg.pdf \
92+
$(orig_path)/Fig2.10.std.svg.pdf \
93+
$(orig_path)/Fig2.11.std.svg.pdf \
94+
$(orig_path)/Fig2.12.std.svg.pdf \
95+
$(orig_path)/Fig2.14b.std.svg.pdf
96+
97+
js_svgs: $(js_path)/ch2-Z-G-65.svg.pdf \
9098
$(js_path)/ch2-Z-G-59.svg.pdf \
9199
$(js_path)/ch3-Z-G-21.svg.pdf \
92100
$(js_path)/ch3-Z-G-20.svg.pdf \
@@ -143,4 +151,5 @@ svgs: $(orig_path)/ch2-Z-G-65.svg.pdf \
143151
$(js_path)/ch2-Z-G-54.svg.pdf \
144152
$(js_path)/Fig5.15c.std.svg.pdf \
145153
$(js_path)/ch2-Z-G-ex-2-24.svg.pdf \
146-
$(js_path)/ch2-Z-G-ex-2-24-tree.svg.pdf
154+
$(js_path)/ch2-Z-G-ex-2-24-tree.svg.pdf \
155+
$(js_path)/Fig2.14b.std.svg.pdf

static/img_javascript/Fig2.14b.std.svg

Lines changed: 200 additions & 0 deletions
276 KB
Binary file not shown.
2.86 KB
Binary file not shown.
1.95 KB
Binary file not shown.
1.99 KB
Binary file not shown.
15 Bytes
Binary file not shown.
-1.12 KB
Binary file not shown.
-1.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)