#13332: Chinese characters are missing in LaTeX system
---------------------------------+------------------------------------------
Reporter: shahuwang | Owner: jason, mpatel, was
Type: defect | Status: new
Priority: major | Milestone: sage-5.3
Component: notebook | Resolution:
Keywords: latex chinese | Work issues:
Report Upstream: N/A | Reviewers:
Authors: shahuwang | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Description changed by shahuwang:
Old description:
> When use the LaTeX system,the Chinese characters are missing.For
> example:[[BR]]
>
> {{{
> %latex
>
> This is English,$\sqrt{a!^!{2} + b!^!{2}}$. now it is Chinese: 中文测试! But
> they are missing!
> }}}
> In the result,these Chinese characters is missing.
>
> The cause for this is that the CJK package is not included in SAGE/devel
> /sage-main/build/sage/misc/latex.py .The CJK package is to deal with
> Chinese,Japanese and Korean.
>
> Fix it:[[BR]] Add :
>
> {{{
> \usepackage{CJKutf8}
> }}}
> in COMMON_HEADER.[[BR]] Add : "\\begin{CJK}{UTF8}{gbsn}\n "
> after "\\begin{document}\n" in line 1041,1045,1083.
>
> Add :"\n\n\\end{CJK}\n" before "\n\\end{document}" in line
> 1050,1052,1071.
New description:
When use the LaTeX system,the Chinese characters are missing.For
example:[[BR]]
{{{
%latex
This is English,$\sqrt{a!^!{2} + b!^!{2}}$. now it is Chinese: 中文测试! But
they are missing!
}}}
In the result,these Chinese characters is missing.
The cause for this is that the CJK package is not included in SAGE/devel
/sage-main/build/sage/misc/latex.py .The CJK package is to deal with
Chinese,Japanese and Korean.
Fix it:[[BR]] Add :
{{{
\usepackage{CJKutf8}
}}}
in COMMON_HEADER.[[BR]] Add : "\\begin{CJK}{UTF8}{gbsn}\n " [[BR]]after :
"\\begin{document}\n" in line 1041,1045,1083.
Add :"\n\n\\end{CJK}\n"[[BR]] before: "\n\\end{document}" in line
1050,1052,1071.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13332#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.