Skip to content

Commit 3596d9e

Browse files
author
wolf
committed
first translation
1 parent 8dff884 commit 3596d9e

5 files changed

Lines changed: 160 additions & 10 deletions

File tree

thinkpython/tex-zh/.book.tex.swp

0 Bytes
Binary file not shown.

thinkpython/tex-zh/book.idx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
\indexentry{GNU Free Documentation License}{v}
2+
\indexentry{Free Documentation License,GNU}{v}
3+
\indexentry{GNU Free Documentation License}{vi}
4+
\indexentry{Free Documentation License,GNU}{vi}
5+
\indexentry{贡献者}{vii}

thinkpython/tex-zh/book.log

Lines changed: 97 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) (format=xelatex 2010.10.11) 15 OCT 2010 16:11
1+
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) (format=xelatex 2010.10.11) 15 OCT 2010 22:27
22
entering extended mode
33
restricted \write18 enabled.
44
%&-line parsing enabled.
@@ -653,18 +653,106 @@ Underfull \hbox (badness 10000) in paragraph at lines 193--195
653653

654654
[]
655655

656+
657+
Underfull \hbox (badness 10000) in paragraph at lines 209--210
658+
659+
[]
660+
661+
662+
Underfull \hbox (badness 10000) in paragraph at lines 211--212
663+
664+
[]
665+
666+
667+
Underfull \hbox (badness 10000) in paragraph at lines 213--214
668+
669+
[]
670+
671+
672+
Underfull \hbox (badness 10000) in paragraph at lines 218--219
673+
674+
[]
675+
676+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
677+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
678+
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available
679+
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 220.
680+
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available
681+
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 220.
682+
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available
683+
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 220.
684+
685+
Underfull \hbox (badness 10000) in paragraph at lines 220--221
686+
687+
[]
688+
689+
690+
Underfull \hbox (badness 10000) in paragraph at lines 222--223
691+
692+
[]
693+
656694
[5
657695

658-
] (./book.aux)
696+
]
697+
Underfull \hbox (badness 10000) in paragraph at lines 224--225
698+
699+
[]
700+
701+
702+
Underfull \hbox (badness 10000) in paragraph at lines 242--243
703+
704+
[]
705+
706+
707+
Underfull \hbox (badness 10000) in paragraph at lines 244--246
708+
709+
[]
710+
711+
712+
Underfull \hbox (badness 10000) in paragraph at lines 253--254
713+
714+
[]
715+
716+
717+
Underfull \hbox (badness 10000) in paragraph at lines 255--256
718+
719+
[]
720+
721+
722+
Underfull \hbox (badness 10000) in paragraph at lines 257--258
723+
724+
[]
725+
726+
727+
Underfull \hbox (badness 10000) in paragraph at lines 262--263
728+
729+
[]
730+
731+
Unknown feature `style=Regular/B/ICU' in font `TeXGyrePagella Regular'.
732+
Unknown feature `style=Regular/B/ICU' in font `AR PL SungtiL GB'.
733+
734+
Package Fancyhdr Warning: \headheight is too small (12.0pt):
735+
Make it at least 12.12543pt.
736+
We now make it that large for the rest of the document.
737+
This may cause the page layout to be inconsistent, however.
738+
739+
[6]
740+
741+
Package Fancyhdr Warning: \headheight is too small (12.0pt):
742+
Make it at least 12.14496pt.
743+
We now make it that large for the rest of the document.
744+
This may cause the page layout to be inconsistent, however.
745+
746+
[7] (./book.aux)
659747
LaTeX Font Info: Some font shapes were not available, defaults substituted.
660748
)
661749
Here is how much of TeX's memory you used:
662-
5697 strings out of 494665
663-
94255 string characters out of 1166476
664-
172155 words of memory out of 3000000
665-
8786 multiletter control sequences out of 15000+50000
666-
13076 words of font info for 70 fonts, out of 3000000 for 9000
750+
5758 strings out of 494665
751+
95480 string characters out of 1166476
752+
179155 words of memory out of 3000000
753+
8840 multiletter control sequences out of 15000+50000
754+
21128 words of font info for 97 fonts, out of 3000000 for 9000
667755
669 hyphenation exceptions out of 8191
668-
34i,10n,43p,458b,220s stack positions out of 5000i,500n,10000p,200000b,50000s
756+
34i,10n,43p,458b,247s stack positions out of 5000i,500n,10000p,200000b,50000s
669757

670-
Output written on book.pdf (5 pages).
758+
Output written on book.pdf (7 pages).

thinkpython/tex-zh/book.pdf

66 KB
Binary file not shown.

thinkpython/tex-zh/book.tex

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,72 @@ \section{本书的奇怪历史}
202202

203203
\item 逐步学习。为了避免陷阱门,我把最难的部分分解成一系列的小步骤。
204204

205-
\item 把重心房子编程,而不是编程语言。我采用最少的有用的Java语言的语法,
205+
\item 把重心放在编程,而不是编程语言。我采用最少的有用的Java语言的语法,
206206
忽略其他的。
207207
\end{itemize}
208208

209+
我需要一个书名,所以我就临时地把它叫做《像计算机科学家一样思考》\\
209210

211+
第一版很粗糙,但是很成功。学生们很乐意看它,并且能很好理解我在课堂上讲的难点,趣点和让他们实践的内容(这个最重要).\\
210212

213+
我用GNU自由文档许可证发布了这本书,读者们可以自由的复制,修改,发布这本书。 \\
211214

215+
\index{GNU Free Documentation License}
216+
\index{Free Documentation License,GNU}
212217

218+
接下来发生的事儿极其的有趣。Jeff Elkner,居住在弗尼亚的高中老师,改变了我的书,把它翻译成了Python。他给我寄了份他翻译的副本,于是乎我就有了一段不寻常的学习Python的经历--通过阅读我自己的书。\\
213219

220+
Jeff和我随后修订了这本书,加入了Chris Meyers提供的一个案例学习。在2001年,我们共同发布了《像计算机科学家一样思考:Python编程》,当然同样是用GNU自由文档许可证。通过Gree Tea Press,我出版了这本书,并且开始在亚马逊和大学书店卖纸质书。Gree Tea Press出版的书可以从这儿获得\url{greenteapress.com}\\
221+
222+
2003年,我开始在Olin College教书。第一次,我开始教Python。和教授Java的情况相反,学生们不再陷入泥潭,学到了更多,参与了很多有趣的项目,越学越带劲。\\
223+
224+
在过去的五年里,我一直继续完善这本书,改正错误,提过某些例子的质量,加入一些其他的材料,特别是练习。在2008年,我开始重写这本书---同时,剑桥大学出版社的编辑联系到了我,他想出版本书的下一板。美妙的时刻!\\
225+
226+
结构就出现了现在的这本书,不过有了一个简洁的名字《思考Python》。变化有:
227+
\begin{itemize}
228+
229+
\item 在每一章末尾加了点调试的部分。这些部分提供了发现和避免bug的通用技巧,也对Python的陷阱提出了警告。
230+
231+
\item 删除了最后几章关于列表和树实现的内容。虽然,我万分不舍,但是考虑到和本书余下的部分不协调,只能忍痛割爱。
232+
233+
\item 增加了一些案例学习---提供了练习,答案和相关讨论的大例子。一些东西是基于Swampy,这是我为了教学而设计的Python程序。
234+
Swampy,代码实例和部分答案可以从这儿获得\url{thinkpython.com}.
235+
236+
\item 扩展了关于程序构建计划和基本的设计模式的讨论。
237+
238+
\item Python运用的更加地道。虽然这本书仍然是讨论编程的,而不是Python本身,但是现在我不得不承认这本书深受Python浸染。
239+
240+
\end{itemize}
241+
242+
我希望读者们可以享受这本书,也希望帮助你学习程序设计和像计算机科学家一样思考,哪怕是一丁丁点儿。\\
243+
244+
Allen B. Downey\\
245+
Needham MA\\
246+
247+
Allen Downey 是Olin College 大学计算机科学与技术系的副教授。
248+
249+
250+
251+
\section*{声明}
252+
253+
首先,也是最重要的,我要感谢Jeff Elkner,是他把我的Java书翻译成了Python,也由此开启了这项“工程“,也把我领进了我最爱的编程语言大门。\\
254+
255+
我也要感谢Chris Meyers,他贡献了《像计算机科学家一样思考》的部分内容。\\
256+
257+
感谢FSF制定的GNU自由文档许可证,使我和Jeff 和Chris 的合作成为可能。\\
258+
259+
\index{GNU Free Documentation License}
260+
\index{Free Documentation License,GNU}
261+
262+
我也要感谢所以使用以前版本的学生和所有的贡献者,他们提供了宝贵的更正和建议。\\
263+
264+
感谢我的妻子,Lisa为她在这本书上所花费的努力,还有Gree Tea Press,和其他的一切。
265+
266+
\section*{贡献者名单}
267+
268+
\index{贡献者}
269+
270+
超过100双犀利的眼光和
214271

215272

216273

0 commit comments

Comments
 (0)