分页: 1 / 1

[问题]如何完全卸载tex?

发表于 : 2008-07-28 11:24
liuchao
ubuntu 8
原来是texlive2007,
运行apt-get autoclean tetex-bin cjk-latex dvipdfm-cjk dvipdfmx cmap-adobe-cns1
cmap-adobe-gb1 gs-cjk-resource tetex-extra tetex-doc
latex-cjk-chinese-arphic-gkai00mp auctex libttf2
apt-get autoremove tetex-bin cjk-latex dvipdfm-cjk dvipdfmx cmap-adobe-cns1
cmap-adobe-gb1 gs-cjk-resource tetex-extra tetex-doc
latex-cjk-chinese-arphic-gkai00mp auctex libttf2卸载

昨晚下了2008,安装后,发现版本信息还是旧的:
------------------
lc@cute:~$ tex --version
TeX 3.141592 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 D.E. Knuth.
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
Kpathsea written by Karl Berry, Olaf Weber, and others.
--------------
帮助文档上说,应该是,而且现在不能直接编译中文
------------
> tex --version
TeX 3.1415926 (Web2C 7.5.7)
kpathsea version 3.5.7
----------------
我现在想完全卸载2007和2008,然后装2008

发表于 : 2008-07-31 16:05
robinjwj
在新立德中搜索tex然后删除,再去找texlive的文件夹删除。然后在你的主文件夹下显示隐藏文件,删除和texlive有关的,如texmf-var。
无法编译中文可能是和你使用的字体没有安装。也有可能是因为格式不对。如果是默认安装可以试试下面这段

代码: 全选

 \documentclass[a4paper,12pt]{article}
\usepackage{CJKutf8}
\author{}
\title{测试文章}
\begin{document}
\begin{CJK}{UTF8}{gbsn}
\maketitle
一、二、三
\end{CJK}
\end{document}