#12559: Chinese translation of "A tour of Sage"
---------------------------------+------------------------------------------
       Reporter:  mvngu          |         Owner:  Kehengsite                   
                   
           Type:  enhancement    |        Status:  needs_review                 
                   
       Priority:  major          |     Milestone:  sage-5.10                    
                   
      Component:  documentation  |    Resolution:                               
                   
       Keywords:                 |   Work issues:  I don't konw how to convert 
LaTeX file to Sphinx
Report Upstream:  N/A            |     Reviewers:                               
                   
        Authors:  Kehengsite     |     Merged in:                               
                   
   Dependencies:                 |      Stopgaps:                               
                   
---------------------------------+------------------------------------------

Comment (by dimpase):

 PDF doc does not build for me:
 {{{
 sage -docbuild zh_CN/a_tour_of_sage pdf
 [a_tour_of] loading translations [zh_CN]... done
 [a_tour_of] Compiling the master document
 [a_tour_of] building [latex]: all documents
 [a_tour_of] Merging environment/index files...
 [a_tour_of] ... done (0 todos, 1 index, 0 citations, 0 modules)
 [a_tour_of] Saved pickle file: citations.pickle
 [a_tour_of] processing SageTutorial_zh_CN.tex... index
 [a_tour_of] resolving references...
 [a_tour_of] writing... done
 [a_tour_of] copying images... interact_screenshot.jpg sin_plot.png
 circles_plot.png plot_3d.jpg eigen_plot.png
 [a_tour_of] copying TeX support files... done
 [a_tour_of] build succeeded, 1 warning.
 env </dev/null pool_size=4000000 save_size=50000 extra_mem_top=2000000
 xelatex  'SageTutorial_zh_CN.tex'
 This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 (Fatal format file error; I'm stymied)
 make: *** [SageTutorial_zh_CN.pdf] Error 1
 Traceback (most recent call last):
   File
 "/usr/local/src/sage/sage-5.10.rc1/devel/sage/doc/common/builder.py", line
 1454, in <module>
     getattr(get_builder(name), type)()
   File
 "/usr/local/src/sage/sage-5.10.rc1/devel/sage/doc/common/builder.py", line
 208, in pdf
     raise RuntimeError("failed to run $MAKE all-pdf in %s"%tex_dir)
 RuntimeError: failed to run $MAKE all-pdf in
 
/usr/local/src/sage/sage-5.10.rc1/devel/sage/doc/output/latex/zh_CN/a_tour_of_sage
 }}}
 Just in Sage shell in `sage/doc/output/latex/zh_CN/a_tour_of_sage` I get
 {{{
 $ make
 env </dev/null pool_size=4000000 save_size=50000 extra_mem_top=2000000
 xelatex  'SageTutorial_zh_CN.tex'
 This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 (Fatal format file error; I'm stymied)
 make: *** [SageTutorial_zh_CN.pdf] Error 1
 }}}

 This seems to indicate that xelatex cannot find the right format file.
 Indeed, it works on "normal" files. Also note that
 and in the normal shell I get
 {{{
 $ make
 env </dev/null pool_size=4000000 save_size=50000 extra_mem_top=2000000
 xelatex  'SageTutorial_zh_CN.tex'
 This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 entering extended mode
 (./SageTutorial_zh_CN.tex
 LaTeX2e <2009/09/24>
 Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
 dumylang, noh
 yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech,
 slov
 ak, danish, dutch, finnish, french, basque, ngerman, german,
 german-x-2009-06-1
 9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek,
 hungarian, san
 skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian,
 bokmal, nyn
 orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto,
 uppersorbian
 , estonian, indonesian, interlingua, icelandic, kurmanji, slovenian,
 polish, po
 rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
 (./sphinxmanual.cls
 Document Class: sphinxmanual 2009/06/02 Document class (Sphinx manual)
 (/usr/share/texmf-texlive/tex/latex/base/report.cls
 Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
 (/usr/share/texmf-texlive/tex/latex/base/size10.clo)))
 ! Undefined control sequence.
 l.5 \DeclareUnicodeCharacter
                             {00A0}{\nobreakspace}
 ?
 ! Emergency stop.
 l.5 \DeclareUnicodeCharacter
                             {00A0}{\nobreakspace}
 No pages of output.
 Transcript written on SageTutorial_zh_CN.log.
 make: *** [SageTutorial_zh_CN.pdf] Error 1
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12559#comment:21>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to