TeXLive 2007中文配置指南

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
头像
xiaobaidhas
帖子: 55
注册时间: 2007-10-22 22:29

#31

帖子 xiaobaidhas » 2008-05-14 10:41

lz懂中文不?
I am nobody,who are you?
spadgeletov
帖子: 92
注册时间: 2008-04-01 0:10

#32

帖子 spadgeletov » 2008-05-25 0:52

我还没接触过这么强大的软件,有空配置一个用用~
hugh_h_chen
帖子: 26
注册时间: 2008-05-13 14:55

#33

帖子 hugh_h_chen » 2008-06-02 13:39

这个tex我搞了好久。lyx里面的。中文创建没有问题。可是到了导入现存的中文的tex文件就完蛋了。都是乱码。导入英文的tex文件也不行。是在太难了,搞了不是一天啊。最后放弃了。
liu
帖子: 108
注册时间: 2006-03-19 11:20
联系:

#34

帖子 liu » 2008-06-06 21:56

hugh_h_chen 写了:这个tex我搞了好久。lyx里面的。中文创建没有问题。可是到了导入现存的中文的tex文件就完蛋了。都是乱码。导入英文的tex文件也不行。是在太难了,搞了不是一天啊。最后放弃了。

代码: 全选

\usepackage[utf8]{inputenc}
在中文tex文件里加这一句试试
xubuntu dapper + T30
http://liuxun.googlepages.com
harttmann
帖子: 57
注册时间: 2007-12-19 2:24

按照此文方法和mkfont.sh脚本弄的,结果出现了三个问题

#35

帖子 harttmann » 2008-09-15 13:05

一。

代码: 全选

Removing `gbksong93.vpl'...
Processing `gbksong94.vpl'...
Removing `gbksong94.vpl'...
mv: 无法 stat “SIMSUN.ttf”: 没有该文件或目录
Running texhash and updmap, pls wait
Congradulations! you have added song into your texmf
这是安装字体时出现的错误,但是字体依然可以用

二。

代码: 全选

(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2008/texmf-dist/tex/latex/cjk/CJK.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/cjk/mule/MULEenc.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/cjk/CJK.enc)) (./test.aux)
(/usr/local/texlive/2008/texmf-dist/tex/latex/cjk/standard.bdg)
(/usr/local/texlive/2008/texmf-dist/tex/latex/cjk/extended.enc)
(/usr/local/texlive/2008/texmf-dist/tex/latex/cjk/extended.chr)
(/home/harttmann/texmf/tex/latex/CJK/GBK/c19song.fd)

LaTeX Font Warning: Font shape `C19/song/m/it' undefined
(Font)              using `C19/song/m/n' instead on input line 5.

! Improper alphabetic constant.
<to be read again> 
                   \check@icr 
l.5 \textit{这是斜体的宋体}
                                 
这是无法显示斜体的错误信息。

三。

代码: 全选

harttmann@zze-laptop:~/tex$ dvipdfmx test.dvi 
test.dvi -> test.pdf
[1
** ERROR ** Failed to read UCS2/UCS4 TrueType cmap...

Output file removed.
这是dvipdfmx的出错信息,目前为止就这三个问题,哪位大哥帮忙看看是怎么回事阿? :?:
Dell v-1000 Athon64x2 TK-55+512MB+2G+Fuji109G+atiX200
pengchy
帖子: 37
注册时间: 2008-07-13 12:51

Re: TeXLive 2007中文配置指南

#36

帖子 pengchy » 2008-09-21 21:55

实在不懂!!晕晕的说!!
如果新立得中可以直接安装texlive为什么还要下载这个庞然大物?!
pengchy
帖子: 37
注册时间: 2008-07-13 12:51

感谢YueWang,配置成功了!!

#37

帖子 pengchy » 2008-09-22 9:24

平台:Ubuntu 8.04

参考了以下几篇帖子:
http://hi.baidu.com/beanya/blog/item/17 ... 88d34.html
http://www.linuxdiyf.com/bbs/viewthread ... tid=103837
viewtopic.php?f=35&t=49815
viewtopic.php?f=35&t=84013

YueWang-zhfonts的下载地址:
http://bj.soulinfo.com/~hugang/tex/tex2 ... 01.tar.bz2(已检测,可以下,其他的地址连接都有问题)

1安装texlive 2007, CJK(新立得)
大概有以下几个必须的包:
texlive; texlive-base; texlive-base-bin; texlive-common
texlive-latex-base; latex-cjk-chinese; latex-cjk-common

2安装YueWang-fonts
从上面的地址下载YueWang-zhfonts-final_1.01.tar.bz2到/home/yourname/中,解压到当前文件夹,将解压出的 .texlive2007/texmf-config 复制并重命名为~/.texmf-config,.texlive2007/texmf-var复制并重命名为~/.texmf-var (注意有的文件名前的点)

3测试
$sudo texhash

$simple_cn.tex内容如下:
\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK}{UTF8}{hei}
你好!
\end{CJK}
\end{document}

$pdflatex simple_cn.tex
xpdf simple_cn.pdf
头像
eagle5678
帖子: 1865
注册时间: 2006-07-08 14:07

Re: TeXLive 2007中文配置指南

#38

帖子 eagle5678 » 2008-09-24 15:14

那个chapter怎搞成中文的?
头像
toawinner47
帖子: 200
注册时间: 2006-11-08 20:46
联系:

Re: TeXLive 2007中文配置指南

#39

帖子 toawinner47 » 2008-09-24 20:47

Myfirst.tex

代码: 全选

%!TEX encoding = UTF-8 Unicode
\documentclass[a4paper,11pt]{article}
\usepackage{CJKutf8}
\usepackage[utf8]{inputenc}
% define the title
\author{ShengHuang}
\title{Myfirst tex}
\begin{document}
\begin{CJK}{UTF8}{bsmi}
% generates the title
\maketitle
% insert the table of contents
\tableofcontents
\section{Start}
c的平方等于a的平方加上b平方. 或者, 使用数学公式:
$c^{2}=a^{2}+b^{2}$\\
Well, and here begins my lovely article.\\
你好,大家好!
\section{End}
\ldots{} .
\end{CJK} 
\end{document}
头像
toawinner47
帖子: 200
注册时间: 2006-11-08 20:46
联系:

Re: TeXLive 2007中文配置指南

#40

帖子 toawinner47 » 2008-09-24 20:56

Myfirst.tex

代码: 全选

%!TEX encoding = UTF-8 Unicode
\documentclass[a4paper,11pt]{article}
\usepackage{CJKutf8}
\usepackage[utf8]{inputenc}
% define the title
\author{ShengHuang}
\title{Myfirst tex}
\begin{document}
\begin{CJK}{UTF8}{bsmi}
% generates the title
\maketitle
% insert the table of contents
\tableofcontents
\section{Start}
c的平方等于a的平方加上b平方. 或者, 使用数学公式:
$c^{2}=a^{2}+b^{2}$\\
Well, and here begins my lovely article.\\
你好,大家好!
\section{End}
\ldots{} .
\end{CJK} 
\end{document}
头像
toawinner47
帖子: 200
注册时间: 2006-11-08 20:46
联系:

Re: TeXLive 2007中文配置指南

#41

帖子 toawinner47 » 2008-09-25 17:43

在Latex中文中<,>如何表示,注意不是数学公式中,如下源代码中

代码: 全选

%指定正文文字大小 11pt
\documentclass[a4paper 11pt]{article}
\textwidth = 379pt
\hoffset = 0pt
\voffset = 0pt
\oddsidemargin = 15pt
%\marginparpush = 5pt
\marginparwidth = 15pt
\usepackage{CJKutf8}
\usepackage[utf8]{inputenc}
%设定纸张和页边距;
\usepackage[top=0.825in,bottom=0.825in,left=0.875in,right=1in]{geometry}
\setlength{\paperheight}{11in} \setlength{\paperwidth}{8.5in}
\setlength{\textheight}{8.875in} \setlength{\textwidth}{6.5in}
% define the title
\begin{CJK}{UTF8}{hei}
\Large
%\author{黄生}%%作者
\title{我的第一篇TEX}%%标题
\end{CJK}
\begin{document}
\begin{CJK}{UTF8}{hei}
% generates the title
\maketitle
% insert the table of contents
%\tableofcontents
%\section{Start}
\Large
Emacs 快速指南.(查看版权声明请至本文末尾)

【注意:位于【】之间的内容是译注,比如本行,下同。】

Emacs 键盘命令通常包含 CONTROL 键(有时候以 CTRL 或 CTL 来标示)和
META 键(有时候用 EDIT 或 ALT 来标示)。为了避免每次都要写出全名,我们
约定使用下述缩写:

 C-- < chr > 表示当输入字符 < chr > 时按住 CONTROL 键。
          	   因此 C-f 就表示:按住 CONTROL 键再输入 f。

 M- < chr > 表示当输入字符 < chr > 时按住 META(或 EDIT 或 ALT)键。
          如果你的键盘上没有 META 、EDIT 或 ALT 键,用下述方法也等效:
          先按一下 ESC 键然后放开,再输入 < chr >。我们用 < ESC > 来表示
        ESC 键。
%\section{End}
%\ldots{}
\end{CJK} 
\end{document}
zbdong
帖子: 40
注册时间: 2008-10-13 19:00

Re: TeXLive 2007中文配置指南

#42

帖子 zbdong » 2008-10-25 21:02

????????????


什么东西啊?

看不懂
conkty
帖子: 4
注册时间: 2008-07-31 0:43

Re: TeXLive 2007中文配置指南

#43

帖子 conkty » 2008-10-27 3:28

[简单之极]texlive 2007 中文使用(Ubuntu 8.04, live cd)

http://worldant.blog.sohu.com/96147302.html
没有同情
帖子: 15
注册时间: 2008-10-20 9:59

Re: TeXLive 2007中文配置指南

#44

帖子 没有同情 » 2008-11-07 14:39

真是林子大什么样的鸟都有!
回复