Skip to content

Commit 8dff884

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

4 files changed

Lines changed: 119 additions & 97 deletions

File tree

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

20 KB
Binary file not shown.

thinkpython/tex-zh/book.log

Lines changed: 117 additions & 96 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) 14 OCT 2010 16:56
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
22
entering extended mode
33
restricted \write18 enabled.
44
%&-line parsing enabled.
@@ -416,7 +416,20 @@ Package fontspec Info: Defining font family for 'AR PL SungtiL GB:style=Regular
416416
Unknown feature `style=Regular/B/ICU' in font `AR PL SungtiL GB'.
417417
Unknown feature `style=Regular/I/ICU' in font `AR PL SungtiL GB'.
418418
Unknown feature `style=Regular/BI/ICU' in font `AR PL SungtiL GB'.
419-
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
419+
LaTeX Info: Redefining \xeCJK@font@rm on input line 35.
420+
Unknown feature `style=Regular' in font `TeXGyrePagella Regular'.
421+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
422+
\c@zf@famc@TeXGyrePagella:style=Regular=\count135
423+
Package fontspec Info: Defining font family for 'TeXGyrePagella:style=Regular'w
424+
ith options [] on input line 36.
425+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
426+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
427+
Unknown feature `style=Regular/B/ICU' in font `TeXGyrePagella Regular'.
428+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
429+
Unknown feature `style=Regular/I/ICU' in font `TeXGyrePagella Regular'.
430+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
431+
Unknown feature `style=Regular/BI/ICU' in font `TeXGyrePagella Regular'.
432+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
420433
\@indexfile=\write4
421434
\openout4 = `book.idx'.
422435

@@ -425,32 +438,32 @@ Writing index file book.idx
425438
(./book.aux)
426439
\openout1 = `book.aux'.
427440

428-
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 56.
429-
LaTeX Font Info: ... okay on input line 56.
430-
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 56.
431-
LaTeX Font Info: ... okay on input line 56.
432-
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 56.
433-
LaTeX Font Info: ... okay on input line 56.
434-
LaTeX Font Info: Checking defaults for OMS/pzccm/m/n on input line 56.
435-
LaTeX Font Info: Try loading font information for OMS+pzccm on input line 56
441+
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 57.
442+
LaTeX Font Info: ... okay on input line 57.
443+
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 57.
444+
LaTeX Font Info: ... okay on input line 57.
445+
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 57.
446+
LaTeX Font Info: ... okay on input line 57.
447+
LaTeX Font Info: Checking defaults for OMS/pzccm/m/n on input line 57.
448+
LaTeX Font Info: Try loading font information for OMS+pzccm on input line 57
436449
.
437450
(/usr/share/texmf-texlive/tex/latex/psnfss/omspzccm.fd
438451
File: omspzccm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/pzccm.
439452
)
440-
LaTeX Font Info: ... okay on input line 56.
441-
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 56.
442-
LaTeX Font Info: ... okay on input line 56.
443-
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 56.
444-
LaTeX Font Info: ... okay on input line 56.
445-
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 56.
446-
LaTeX Font Info: Try loading font information for TS1+cmr on input line 56.
453+
LaTeX Font Info: ... okay on input line 57.
454+
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 57.
455+
LaTeX Font Info: ... okay on input line 57.
456+
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 57.
457+
LaTeX Font Info: ... okay on input line 57.
458+
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 57.
459+
LaTeX Font Info: Try loading font information for TS1+cmr on input line 57.
447460

448461
(/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd
449462
File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
450463
)
451-
LaTeX Font Info: ... okay on input line 56.
452-
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 56.
453-
LaTeX Font Info: ... okay on input line 56.
464+
LaTeX Font Info: ... okay on input line 57.
465+
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 57.
466+
LaTeX Font Info: ... okay on input line 57.
454467

455468
*geometry detected driver: pdftex*
456469
-------------------- Geometry parameters
@@ -493,142 +506,150 @@ driver: pdftex
493506
(1in=72.27pt, 1cm=28.45pt)
494507
-----------------------
495508
Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid this).
496-
on input line 56.
509+
on input line 57.
497510
\symlegacymaths=\mathgroup8
498511
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
499-
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 56.
500-
LaTeX Font Info: Redeclaring math accent \acute on input line 56.
501-
LaTeX Font Info: Redeclaring math accent \grave on input line 56.
502-
LaTeX Font Info: Redeclaring math accent \ddot on input line 56.
503-
LaTeX Font Info: Redeclaring math accent \tilde on input line 56.
504-
LaTeX Font Info: Redeclaring math accent \bar on input line 56.
505-
LaTeX Font Info: Redeclaring math accent \breve on input line 56.
506-
LaTeX Font Info: Redeclaring math accent \check on input line 56.
507-
LaTeX Font Info: Redeclaring math accent \hat on input line 56.
508-
LaTeX Font Info: Redeclaring math accent \dot on input line 56.
509-
LaTeX Font Info: Redeclaring math accent \mathring on input line 56.
510-
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 56.
511-
LaTeX Font Info: Redeclaring math symbol \Delta on input line 56.
512-
LaTeX Font Info: Redeclaring math symbol \Theta on input line 56.
513-
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 56.
514-
LaTeX Font Info: Redeclaring math symbol \Xi on input line 56.
515-
LaTeX Font Info: Redeclaring math symbol \Pi on input line 56.
516-
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 56.
517-
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 56.
518-
LaTeX Font Info: Redeclaring math symbol \Phi on input line 56.
519-
LaTeX Font Info: Redeclaring math symbol \Psi on input line 56.
520-
LaTeX Font Info: Redeclaring math symbol \Omega on input line 56.
521-
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 56.
522-
LaTeX Font Info: Redeclaring symbol font `operators' on input line 56.
512+
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 57.
513+
LaTeX Font Info: Redeclaring math accent \acute on input line 57.
514+
LaTeX Font Info: Redeclaring math accent \grave on input line 57.
515+
LaTeX Font Info: Redeclaring math accent \ddot on input line 57.
516+
LaTeX Font Info: Redeclaring math accent \tilde on input line 57.
517+
LaTeX Font Info: Redeclaring math accent \bar on input line 57.
518+
LaTeX Font Info: Redeclaring math accent \breve on input line 57.
519+
LaTeX Font Info: Redeclaring math accent \check on input line 57.
520+
LaTeX Font Info: Redeclaring math accent \hat on input line 57.
521+
LaTeX Font Info: Redeclaring math accent \dot on input line 57.
522+
LaTeX Font Info: Redeclaring math accent \mathring on input line 57.
523+
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 57.
524+
LaTeX Font Info: Redeclaring math symbol \Delta on input line 57.
525+
LaTeX Font Info: Redeclaring math symbol \Theta on input line 57.
526+
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 57.
527+
LaTeX Font Info: Redeclaring math symbol \Xi on input line 57.
528+
LaTeX Font Info: Redeclaring math symbol \Pi on input line 57.
529+
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 57.
530+
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 57.
531+
LaTeX Font Info: Redeclaring math symbol \Phi on input line 57.
532+
LaTeX Font Info: Redeclaring math symbol \Psi on input line 57.
533+
LaTeX Font Info: Redeclaring math symbol \Omega on input line 57.
534+
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 57.
535+
LaTeX Font Info: Redeclaring symbol font `operators' on input line 57.
523536
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
524-
(Font) `operators' in the math version `normal' on input line 56.
537+
(Font) `operators' in the math version `normal' on input line 57.
525538
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
526-
(Font) OT1/ptmcm/m/n --> EU1/ARPLSungtiLGB:style=Regular(0)/m/
527-
n on input line 56.
539+
(Font) OT1/ptmcm/m/n --> EU1/TeXGyrePagella:style=Regular(0)/m
540+
/n on input line 57.
528541
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
529-
(Font) `operators' in the math version `bold' on input line 56.
542+
(Font) `operators' in the math version `bold' on input line 57.
530543
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
531-
(Font) OT1/ptmcm/m/n --> EU1/ARPLSungtiLGB:style=Regular(0)/m/
532-
n on input line 56.
544+
(Font) OT1/ptmcm/m/n --> EU1/TeXGyrePagella:style=Regular(0)/m
545+
/n on input line 57.
533546
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
534-
(Font) EU1/ARPLSungtiLGB:style=Regular(0)/m/n --> EU1/ARPLSung
535-
tiLGB:style=Regular(0)/m/n on input line 56.
547+
(Font) EU1/TeXGyrePagella:style=Regular(0)/m/n --> EU1/TeXGyre
548+
Pagella:style=Regular(0)/m/n on input line 57.
536549
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
537-
(Font) EU1/ARPLSungtiLGB:style=Regular(0)/m/n --> EU1/ARPLSung
538-
tiLGB:style=Regular(0)/m/n on input line 56.
550+
(Font) EU1/TeXGyrePagella:style=Regular(0)/m/n --> EU1/TeXGyre
551+
Pagella:style=Regular(0)/m/n on input line 57.
539552
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
540-
(Font) OT1/ptm/m/it --> EU1/ARPLSungtiLGB:style=Regular(0)/m/i
541-
t on input line 56.
553+
(Font) OT1/ptm/m/it --> EU1/TeXGyrePagella:style=Regular(0)/m/
554+
it on input line 57.
542555
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
543-
(Font) OT1/ptm/bx/n --> EU1/ARPLSungtiLGB:style=Regular(0)/bx/
544-
n on input line 56.
556+
(Font) OT1/ptm/bx/n --> EU1/TeXGyrePagella:style=Regular(0)/bx
557+
/n on input line 57.
545558
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
546-
(Font) OT1/cmss/m/n --> EU1/lmss/m/n on input line 56.
559+
(Font) OT1/cmss/m/n --> EU1/lmss/m/n on input line 57.
547560
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
548-
(Font) OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 56.
561+
(Font) OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 57.
549562
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
550-
(Font) EU1/ARPLSungtiLGB:style=Regular(0)/m/n --> EU1/ARPLSung
551-
tiLGB:style=Regular(0)/bx/n on input line 56.
563+
(Font) EU1/TeXGyrePagella:style=Regular(0)/m/n --> EU1/TeXGyre
564+
Pagella:style=Regular(0)/bx/n on input line 57.
552565
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
553-
(Font) EU1/ARPLSungtiLGB:style=Regular(0)/m/n --> EU1/ARPLSung
554-
tiLGB:style=Regular(0)/bx/n on input line 56.
566+
(Font) EU1/TeXGyrePagella:style=Regular(0)/m/n --> EU1/TeXGyre
567+
Pagella:style=Regular(0)/bx/n on input line 57.
555568
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
556-
(Font) OT1/ptm/m/it --> EU1/ARPLSungtiLGB:style=Regular(0)/bx/
557-
it on input line 56.
569+
(Font) OT1/ptm/m/it --> EU1/TeXGyrePagella:style=Regular(0)/bx
570+
/it on input line 57.
558571
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
559-
(Font) OT1/cmss/bx/n --> EU1/lmss/bx/n on input line 56.
572+
(Font) OT1/cmss/bx/n --> EU1/lmss/bx/n on input line 57.
560573
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
561-
(Font) OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 56.
574+
(Font) OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 57.
562575
(./latexonly)
563-
\c@ex=\count135
576+
\c@ex=\count136
577+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
564578
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
579+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
565580
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
566581
[1
567582

568583

569584
] [2]
570-
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
585+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
571586
[3]
572-
LaTeX Font Info: Try loading font information for TS1+ARPLSungtiLGB:style=Re
573-
gular(0) on input line 128.
574-
LaTeX Font Info: No file TS1ARPLSungtiLGB:style=Regular(0).fd. on input line
575-
128.
576-
LaTeX Font Info: Font shape `TS1/ARPLSungtiLGB:style=Regular(0)/m/n' undefin
577-
ed
587+
LaTeX Font Info: Try loading font information for TS1+TeXGyrePagella:style=R
588+
egular(0) on input line 129.
589+
LaTeX Font Info: No file TS1TeXGyrePagella:style=Regular(0).fd. on input lin
590+
e 129.
591+
LaTeX Font Info: Font shape `TS1/TeXGyrePagella:style=Regular(0)/m/n' undefi
592+
ned
578593
(Font) using `TS1/cmr/m/n' instead
579-
(Font) for symbol `textcopyright' on input line 128.
594+
(Font) for symbol `textcopyright' on input line 129.
595+
Unknown feature `style=Regular/B/ICU' in font `TeXGyrePagella Regular'.
580596
Unknown feature `style=Regular/B/ICU' in font `AR PL SungtiL GB'.
597+
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
598+
Unknown feature `style=Regular/I/ICU' in font `TeXGyrePagella Regular'.
581599
Unknown feature `style=Regular/I/ICU' in font `AR PL SungtiL GB'.
582600

583601

584602
Package xeCJK Warning: Unknown CJK family `tt' is ignored.
585-
Use \setCJKfamilyfont to define a CJK family. on input line 153.
603+
Use \setCJKfamilyfont to define a CJK family. on input line 154.
586604

587-
LaTeX Font Info: Try loading font information for EU1+lmtt on input line 153
605+
LaTeX Font Info: Try loading font information for EU1+lmtt on input line 154
588606
.
589607
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1lmtt.fd
590608
File: eu1lmtt.fd 2007/01/14 v1.3 Font defs for Latin Modern
591609
)
592-
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
593-
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
610+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
611+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
594612
LaTeX Font Info: Try loading font information for OML+ptmcm on input line 15
595-
7.
613+
8.
596614

597615
(/usr/share/texmf-texlive/tex/latex/psnfss/omlptmcm.fd
598616
File: omlptmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ptmcm.
599617
)
600618
LaTeX Font Info: Try loading font information for OMX+psycm on input line 15
601-
7.
619+
8.
602620

603621
(/usr/share/texmf-texlive/tex/latex/psnfss/omxpsycm.fd
604622
File: omxpsycm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/psycm.
605623
)
606624
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available
607-
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 157.
625+
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 158.
608626
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
609-
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 157.
627+
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 158.
610628
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available
611-
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 157.
612-
LaTeX Font Info: Try loading font information for U+msa on input line 157.
629+
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 158.
630+
LaTeX Font Info: Try loading font information for U+msa on input line 158.
613631

614632
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd
615633
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
616634
)
617-
LaTeX Font Info: Try loading font information for U+msb on input line 157.
635+
LaTeX Font Info: Try loading font information for U+msb on input line 158.
618636

619637
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd
620638
File: umsb.fd 2009/06/22 v3.00 AMS symbols B
621639
) [4]
622-
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
640+
Unknown feature `style=Regular/ICU' in font `TeXGyrePagella Regular'.
641+
Unknown feature `style=Regular/B/ICU' in font `TeXGyrePagella Regular'.
623642
Unknown feature `style=Regular/B/ICU' in font `AR PL SungtiL GB'.
643+
Unknown feature `style=Regular/B/ICU' in font `TeXGyrePagella Regular'.
624644
Unknown feature `style=Regular/B/ICU' in font `AR PL SungtiL GB'.
645+
Unknown feature `style=Regular/ICU' in font `AR PL SungtiL GB'.
625646

626-
Underfull \hbox (badness 10000) in paragraph at lines 188--191
647+
Underfull \hbox (badness 10000) in paragraph at lines 189--192
627648

628649
[]
629650

630651

631-
Underfull \hbox (badness 10000) in paragraph at lines 192--194
652+
Underfull \hbox (badness 10000) in paragraph at lines 193--195
632653

633654
[]
634655

@@ -638,11 +659,11 @@ Underfull \hbox (badness 10000) in paragraph at lines 192--194
638659
LaTeX Font Info: Some font shapes were not available, defaults substituted.
639660
)
640661
Here is how much of TeX's memory you used:
641-
5648 strings out of 494665
642-
92307 string characters out of 1166476
662+
5697 strings out of 494665
663+
94255 string characters out of 1166476
643664
172155 words of memory out of 3000000
644-
8755 multiletter control sequences out of 15000+50000
645-
12972 words of font info for 57 fonts, out of 3000000 for 9000
665+
8786 multiletter control sequences out of 15000+50000
666+
13076 words of font info for 70 fonts, out of 3000000 for 9000
646667
669 hyphenation exceptions out of 8191
647668
34i,10n,43p,458b,220s stack positions out of 5000i,500n,10000p,200000b,50000s
648669

thinkpython/tex-zh/book.pdf

1.98 KB
Binary file not shown.

thinkpython/tex-zh/book.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
%这些是对中文的支持
3333
\usepackage{xeCJK}
3434
\usepackage{fontspec}
35-
\setmainfont{AR PL SungtiL GB:style=Regular}
35+
\setCJKmainfont{AR PL SungtiL GB:style=Regular}
36+
\setmainfont{TeXGyrePagella:style=Regular}
3637
\XeTeXlinebreaklocale "zh"
3738
\XeTeXlinebreakskip=0pt plus 1pt minus 0.1pt
3839

0 commit comments

Comments
 (0)