Skip to content

Commit 4baae6e

Browse files
author
wolf
committed
english sources
1 parent 8d22c1a commit 4baae6e

Some content is hidden

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

93 files changed

+64598
-0
lines changed

thinkpython/tex/Makefile

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
LATEX = latex
2+
3+
DVIPS = dvips
4+
5+
PDFFLAGS = -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress \
6+
-dCompressPages=true -dUseFlateCompression=true \
7+
-dEmbedAllFonts=true -dSubsetFonts=true -dMaxSubsetPct=100
8+
9+
10+
%.dvi: %.tex
11+
$(LATEX) $<
12+
13+
%.ps: %.dvi
14+
$(DVIPS) -o $@ $<
15+
16+
%.pdf: %.ps
17+
ps2pdf $(PDFFLAGS) $<
18+
19+
all: book.tex
20+
latex book
21+
makeindex book
22+
latex book
23+
dvips -t letter -Ppdf -o thinkpython.ps book
24+
# dvips -T 6.75in,9.25in -Ppdf -o thinkpython.ps book
25+
# dvips -t b5 -Ppdf -o thinkpython.ps book
26+
# dvips -T 7in,10in -Ppdf -o thinkpython.ps book
27+
gv thinkpython.ps
28+
29+
html: book.tex header.html footer.html
30+
rm -rf html
31+
mkdir html
32+
hevea -O -e latexonly htmlonly book
33+
# the following line is a kludge to prevent imagen from seeing
34+
# the definitions in latexonly
35+
grep -v latexonly book.image.tex > a; mv a book.image.tex
36+
imagen -png book
37+
hacha book.html
38+
cp up.png next.png back.png html
39+
mv index.html book.css book*.html book*.png *motif.gif html
40+
41+
DEST = /home/downey/public_html/greent/thinkpython
42+
43+
distrib:
44+
ps2pdf $(PDFFLAGS) thinkpython.ps
45+
rm -rf dist
46+
mkdir dist dist/tex dist/tex/figs
47+
rsync -a thinkpython.pdf thinkpython.ps html dist
48+
rsync -a Makefile book.tex latexonly htmlonly dist/tex
49+
rsync -a figs/*.fig figs/*.eps dist/tex/figs
50+
cd dist; zip -r thinkpython.tex.zip tex
51+
cd dist; zip -r thinkpython.html.zip html
52+
rsync -a dist/* $(DEST)
53+
chmod -R o+r $(DEST)/*
54+
55+
clean:
56+
rm -f *~ *.aux *.log *.dvi *.idx *.ilg *.ind *.toc
57+
58+
59+

thinkpython/tex/book.log

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2010.10.5) 11 OCT 2010 16:31
2+
entering extended mode
3+
restricted \write18 enabled.
4+
%&-line parsing enabled.
5+
**book
6+
(./book.tex
7+
LaTeX2e <2009/09/24>
8+
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
9+
yphenation, pinyin, loaded.
10+
(/usr/share/texmf-texlive/tex/latex/base/book.cls
11+
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
12+
(/usr/share/texmf-texlive/tex/latex/base/bk10.clo
13+
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
14+
)
15+
\c@part=\count79
16+
\c@chapter=\count80
17+
\c@section=\count81
18+
\c@subsection=\count82
19+
\c@subsubsection=\count83
20+
\c@paragraph=\count84
21+
\c@subparagraph=\count85
22+
\c@figure=\count86
23+
\c@table=\count87
24+
\abovecaptionskip=\skip41
25+
\belowcaptionskip=\skip42
26+
\bibindent=\dimen102
27+
)
28+
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
29+
Package: geometry 2008/12/21 v4.2 Page Geometry
30+
31+
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
32+
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
33+
\KV@toks@=\toks14
34+
)
35+
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty
36+
Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
37+
Package ifpdf Info: pdfTeX in pdf mode not detected.
38+
)
39+
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty
40+
Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
41+
Package ifvtex Info: VTeX not detected.
42+
)
43+
\Gm@cnth=\count88
44+
\Gm@cntv=\count89
45+
\c@Gm@tempcnt=\count90
46+
\Gm@bindingoffset=\dimen103
47+
\Gm@wd@mp=\dimen104
48+
\Gm@odd@mp=\dimen105
49+
\Gm@even@mp=\dimen106
50+
\Gm@dimlist=\toks15
51+
52+
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg))
53+
(/usr/share/texmf-texlive/tex/latex/pslatex/pslatex.sty
54+
Package: pslatex 1996/07/24 v1.2 pslatex emulation (DPC)
55+
LaTeX Font Info: Redeclaring symbol font `operators' on input line 65.
56+
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
57+
(Font) OT1/cmr/m/n --> OT1/ptmcm/m/n on input line 65.
58+
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
59+
(Font) OT1/cmr/bx/n --> OT1/ptmcm/m/n on input line 65.
60+
LaTeX Font Info: Redeclaring symbol font `letters' on input line 66.
61+
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
62+
(Font) OML/cmm/m/it --> OML/ptmcm/m/it on input line 66.
63+
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
64+
(Font) OML/cmm/b/it --> OML/ptmcm/m/it on input line 66.
65+
LaTeX Font Info: Redeclaring symbol font `symbols' on input line 67.
66+
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
67+
(Font) OMS/cmsy/m/n --> OMS/pzccm/m/n on input line 67.
68+
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
69+
(Font) OMS/cmsy/b/n --> OMS/pzccm/m/n on input line 67.
70+
LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 68.
71+
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
72+
(Font) OMX/cmex/m/n --> OMX/psycm/m/n on input line 68.
73+
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
74+
(Font) OMX/cmex/m/n --> OMX/psycm/m/n on input line 68.
75+
\symbold=\mathgroup4
76+
\symitalic=\mathgroup5
77+
LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 74.
78+
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
79+
(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 74.
80+
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
81+
(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 74.
82+
LaTeX Font Info: Redeclaring math alphabet \mathit on input line 75.
83+
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
84+
(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 75.
85+
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
86+
(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 75.
87+
)
88+
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
89+
\Urlmuski

0 commit comments

Comments
 (0)