T*******n 发帖数: 493 | 1 Okay. I've never used PCTeX before. Can you check whether it
has tools called "kpsewhich" and "kpsepath"? On my Linux machine
if I run these commands in a command-line shell I get:
localhost:~ > kpsewhich cmr10.tfm cmmi12.tfm cmmi9.tfm
/usr/share/texmf/fonts/tfm/public/cm/cmr10.tfm
/usr/share/texmf/fonts/tfm/public/cm/cmmi12.tfm
/usr/share/texmf/fonts/tfm/public/cm/cmmi9.tfm
localhost:~ > kpsepath tfm
.:!!/home/abc/texmf/fonts/tfm//:!!/usr/local/share/texmf/fonts/tfm//:!!/usr/
share/texmf/fon |
|
D****g 发帖数: 2860 | 2 Hi all,
I used to use pstricks package on a Redhat 7.3 machine, where
everything was taken care of. I now need to use this package
on a Solaris machine where I have not root prevelige. What I did
was as follows:
1. I created a .texmf dir under my home dir,
copied all .tex files to .texmf/tex/generic/pstricks,
all .sty files to ./texmf/tex/latex/pstricks
2. put the following line in my .cshrc:
setenv TEXINPUTS .:/nfs/phantom/u10/rende/.texmf//:/usr/local/apps/teTeX/texmf/tex//
Now, I can compile |
|
l******t 发帖数: 108 | 3 teTeX: 放在$HOME/texmf下, 设置TEXMFLOCAL环境变量. 还可以设置TEXINPUTS如
TEXINPUTS=.:/usr/people/voidfoo/texmf/tex//:/usr/nekoware/share/texmf/tex//: |
|
T*******n 发帖数: 493 | 4 Try locating a configuration file called texmf.cnf; on Unix/Linux
with teTeX installed this should be $TEXMF/web2c/texmf.cnf.
Open this file in an editor (vi/emacs), go to part 3 of the file.
The stack sizes and other parameters for LaTeX and other TeX
related formats are defined in this section. You can try increasing
either stack_size or stack_size.pdflatex. Save the changes.
Next, for teTeX installation you need to execute the command
"texconfig init" and let the initex and pdfinitex progra |
|
s*******e 发帖数: 261 | 5 在CTEX环境下,winedit中,安装RevTex4,就是aps的那个工具包。
根据以下提示:
1 模版下载(REVTeX here):
http://bbs.nju.edu.cn/showfile?name=I/isola/模版.rar
解压后有两个个文件夹, 其中的revtex4文件夹对应的是aps的.
2 模版使用:
在 ~\CTex\texmf\tex\latex目录(~表示CTex的安装目录)下建一个revtex4的文件夹, 然后将从我这解压的revtex4文件中所有的rtx文件拷贝过去; 然后在~\CTex\texmf\bibtex\bst下也建revtex4文件夹, 再将下载的bst文件拷贝进去. 然后更新一下你的miktex(点WinEdt的设置按钮即可找到).
如果你用的是ctex中文套装, 将revtex4文件夹中的apssamp.tex用WinEdt打开后再编译, 然后根据系统提示自动下载, 就能自动配置好revtex4.
而对于elsviser的模版是将elsvier文件夹拷贝到 ~\CTex\texmf\tex\latex, 再更新miktex即可. |
|
o********e 发帖数: 474 | 6 比如我下载的字体宏包psnfss, 安装说明说
Obtain the archive files lw35nfss.zip and freenfss.zip from
CTAN:macros/latex/required/psnfss. If the file system
layout of your TeX system complies with TDS, unzip them in
the texmf root directory (usually named texmf) of your TeX
system; all files will be unpacked into the right
directories then. Otherwise you have to sort out manually
the files from the .zip archives and copy them to the
appropriate directories of your TeX system.
但我找不到texmf这个目录。怎么办?
还有一般的安装思路步骤是什么,大 |
|
b**n 发帖数: 289 | 7 I want to include "/usr/share/texmf/tex/latex/agu/" into my latex search path
because I need to use "aguplus.cls" in my tex file. So I included the
following line in my .bashrc file:
export TEXINPUTS=:/usr/share/texmf/tex/latex/agu/
Then when I tried to execute : latex paper.tex
latex still gave me the error message: Cannot find aguplus.cls
Why??
Thanks. |
|
a*********y 发帖数: 74 | 8 请问,下载了别人写的package以后,如何使用呢?
在我原来的机器上,我下载,安装了miktex和texniccenter,在C盘会自动出现两个
folder, "texmf" and "localtex",我只需把新的package copy and paste到
"texmf/tex/latex/新文件夹"就可以了。
可是换了一台机器后,我又重新安装了miktex和texniccenter,却没有生成那两个
folder,
请问这正常吗?现在我该如何添加新的package 呢(是一个 .sty文件)?
多谢! |
|
T*******n 发帖数: 493 | 9 Assuming you are using teTeX, you can put the .cls file under
/home/userid/texmf/tex/latex/.../prosper.cls
then run the command "texhash" or "mktexlsr" to update the files
database.
You can also put the file under /usr/local/share/texmf/tex/latex/...
and then run texhash or mktexlsr as root. |
|
t*****s 发帖数: 49 | 10 下载了一个package只有一个文件,advancedcoverpage.sty
我所有的style文件应该都在这个文件夹里, D:\texmf\tex\latex
可是把 advancedcoverpage.sty 放到这个文件夹里(或是
D:\texmf\tex\latex\advancedcoverpage\) , compile tex 文件
时报错: ERROR: LaTeX Error: File `advancedcoverpage.sty' not found.
请问什么地方出了问题 ?
偶用emacs (win XP)
多谢指教!! |
|
t*****s 发帖数: 49 | 11 刚下了一个编译好的emacs+auctex+preview,
试着latex一个文件(eg. trylatex.tex)时遇到下面的错误。
难道是我的miktex装有问题? 是不是texmf放的位置不对?
(好久以前自己搞过一遍这个东东,好像可以选择 \texmf
和\localtexmf 的位置, 这次重装没的选。也不知道和现
在的问题有没有关系)
我用cygwin + XP.
多谢大家帮忙了
Running `LaTeX' on `trylatex' with ``latex "\nonstopmode\input{trylatex.tex}
"''
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea: Running mktexfmt latex.fmt
/usr/bin/mktexfmt: line 333: /texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.
I ca |
|
r****t 发帖数: 10904 | 12 windows 上面 miktex 和 auctex 不要配什么就能 work 了。
但是在 linux 上面
xelatex test.tex
可以成功的生成 test.pdf, 但是 latex test.tex 不成功,所以没法和 auctex 一起用:
......
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
!
********************************************
* XeTeX is required to compile this document.
* Sorry!
********************************************.
\RequireXeTeX ...********************************}
|
|
n*s 发帖数: 752 | 13 我最近正在学用beamer来写slides,似乎没用什么特殊的东西,但编译的时候出了这些
warning,怎么才能去掉他们呢?
LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <10.95> not available
(Font) Font shape `OT1/cmr/m/sc' tried instead on input line
110.
LaTeX Font Warning: Font shape `OT1/cmss/m/sc' in size <14.4> not available
(Font) Font shape `OT1/cmr/m/sc' tried instead on input line
110.
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd)
LaTeX Font Warnin |
|
t**o 发帖数: 144 | 14 【 以下文字转载自 Linux 讨论区 】
发信人: tubo (土拨), 信区: Linux
标 题: LaTeX CJK字体文件,希望对大家有用
发信站: BBS 未名空间站 (Sun Nov 2 20:14:28 2008)
我自己的LaTeX CJK文件,包含CJK包和三个字体,分别是Fedora自带的文鼎宋体,楷体
,还有文泉驿的黑体,应该满足大多数应用。希望免除很多使用者配置LaTeX中文的麻
烦。
http://www.mediafire.com/file/dwutwxjjmdn/texmf.tar.gz
下载后解压到$HOME目录,执行texhash $HOME/texmf。
附件中是用来安装之后测试的tex文件。 |
|
|
s****n 发帖数: 8 | 16 for winedt, it's over there
for uedit, try this:
1. add a external tool via advanced-tool config, name it as "Partial Compile"
or sth else, and use the cmd line as below
D:\texmf\miktex\bin\latex.exe -interaction=nonstopmode C:\Temp\_t.tex & D:\te
xmf\miktex\bin\yap.exe -1 C:\Temp\_t.dvi & del -F C:\Temp\_t.*
change the path by urself
2.create a macro via macro-edit macro with following stuff
InsertMode
ColumnModeOff
HexOff
UnixReOff
ToggleBookmark
Clipboard 9
Copy
Paste
ToggleBookmark
Top
FindS |
|
l******t 发帖数: 108 | 17 when u installed miktex, u specified two dirs, one is
texmf and the other is localtexmf. u can put the .cls under
the localtexmf dir so that u won't lose it when u reinstall
or upgrade miktex. u need to refresh the file name database
after u put ur files there. run miktex options and click
the button 'refresh now'.
here is a helpful link, enjoy ur ride with TeX/LaTeX!
http://www.ctan.org/installationadvice/ |
|
T*******n 发帖数: 493 | 18 You have to break equations explicitly.
Use the "amsmath" package and read the documentation that
comes with it (texmf/doc/latex/amsldoc.dvi, or search ctan.org).
It offers many different types of multiline equation environments. |
|
T*******n 发帖数: 493 | 19 Assuming that you have the teTeX distribution installed, you can run
"texconfig" to set the default paper size and dpi resolution for dvips
(and xdvi too). Or you can edit /usr/share/texmf/dvips/config.ps
directly if you know what you are doing. |
|
l******t 发帖数: 108 | 20 modify miktex.ini
then probably need to refresh texmf tree database (initexmf -u)
能 |
|
T*******n 发帖数: 493 | 21 Look for longtable manual in the following places:
1. texmf/doc/latex/tools/longtable.dvi on your system
2. http://www.ctan.org/tex-archive/macros/latex/required/tools/
download tools.zip or longtable.dtx and run latex on longtable.dtx
a few times to generate longtable.dvi.
3. See pp. 259-263 in "The LaTeX Companion", 2nd ed. |
|
h***n 发帖数: 36 | 22 I am wondering where should I put the customized bst file so that Miktex can
find it. I've tried
localtexmf/tex/latex/xxxx/xxxx.bst
localtexmf/bibtex/xxxx/xxxx.bst
none of them works and the error message always say "cannot find style file".
I will hate to put it in the texmf hierachy since that is not the default
installation. Anyone knows how to do it? Thanks a lot! |
|
s***t 发帖数: 195 | 23 these standard fonts are not embeded by default because they, or their
equivalents, are usually available on most systems and printers.
to change this, got to texmf/web2c/updmap.cfg and change these options to
"true"
dvipsDownloadBase35
pdftexDownloadBase14
dvipdfmDownloadBase14
and then open up a command window and run
updmap
you should be all set.z
when
check |
|
s**n 发帖数: 178 | 24 Hi,
I have to use a LaTeX 2.09 document style. And I must use the following
packages:
\usepackage{times,graphicx}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{wasysym}
\usepackage{pifont}
\usepackage{marvosym}
When I compile, I encouter the following error:
(usis.sty
Document Style `usis'. Released 15 December 1986.
(kt11.sty))
(/a/bud/u/bud-d1/local/teTeX/share/texmf/tex/plain/dvips/epsf.tex
This is `epsf.tex' v2.7k <10 July 1997>
)
! LaTeX Error: LaTeX2e command \usepackage in L |
|
b**n 发帖数: 289 | 25 Also you can
1) make a directory called : texmf under your home directory
2) copy the .cls file to that directory
3) run : texhash |
|
h*s 发帖数: 574 | 26
doc
这个我同意
before
systems.
我多次说过,很多对SWP的批评都是不熟悉SWP,我一个同学花很多时间学习plain code
说SWP这个也不能做,那个也不能做,结果我全给他在SWP下做出来
只要把SW的三个macro直接paste到texmf,你说的这个不能在miketex下compile就是搞笑了
说穿了,很多人用不熟SWP是因为用的是盗版加上不喜欢查help,正版的附带使用说明
把许多问题都解释了
like
SWP完全支持写入和编译plain code,但缺点是读入外部code有问题
谁说SWP不能支持beamer? 太偏见了
这个SWP全部可以做到
哈哈,我每次写信给SWP的support,都得到完美回答 |
|
T*******n 发帖数: 493 | 27 You probably need to configure dvips, dvipdf, or pdflatex
to change the default behavior.
What O/S and TeXMF system are you using, and how
are you generating your PDFs? |
|
s***t 发帖数: 195 | 28 the "letter" option in .tex file doesn't have real effects on the
actual paper size. it only sets up correct margins etc. it's
dvips handles the paper size.
ps2pdf shouldn't give you any problem if you have a correct .ps file.
edit TEXMF/dvips/config/config.ps
move those lines about letter size paper ahead of those about a4 paper.
pdflatex should handle the paper size correctly. |
|
c**z 发帖数: 1014 | 29 终于搞定了
我原来按照help里说得,修改的都是localtexml下的dvips,pdflatex等的config
file但是那样生成的ps是letter size的,但是用ps2pdf后页眉的地方就没用一点空间了
现在改了TEXMF/dvips/config/config.ps,已经一切ok了
多谢
不过按理说,应该localtexmf下面的设置先起作用才对啊,不管了,解决问题了就好 |
|
A**********e 发帖数: 3102 | 30 then post your conf file. it should be under
\texmf\dvipdfm\conf\
and the file name is `config'. use notepad to open it, and post the content
here.
BTW, you may also want to post the config file which is on your desktop and
compare them.
problem? |
|
A**********e 发帖数: 3102 | 31 这个东西怎么设置,俺就完全地不知道了。这个牵涉到 CJK 的很多 map。俺说呢,
怎么 dvipdfm 的 conf 改名字了,hoho。
dvipdfmx 的一个大问题,就是连文档都没有。查无可查。如果有兴趣,不妨从 mi
ktex.ini 开始查起 (看 Dvipdfm(x?)那部分),按着路径捋吧,把沿途的 conf
和 font map 都检查一下,对照 dvipdfm -vv 的结果找。
对了,不如抄个别人的 conf 放在 dvipdfm/conf/ 下面 。。。 我怀疑你其实现在
装得是 dvipdfm,但是由于历史原因,搞乱了。我的 conf 文件如下,注意这个文
件的路径要和 miktex.ini 的设置一致。
% dvipdfm config for MiKTeX 2.4.1775
% See \texmf\doc\dvipdfm\dvipdfm.pdf, for more information.
% Distiller template examples. Uncomment
% the appropriate one, or (preferably) cr |
|
p*****o 发帖数: 348 | 32 我已经安装了texshop,
texshop用的是texlive, 不是teTex.
我现在安装lyx, 但是好像lyx用的tex是tetex.
我安装完lyx,
有下面的信息:
can not create /usr/local/teTex/share/texmf.local/tex/latex directory,
please do so manually.
我想问:
怎么解决这个问题?
重新下载teTex, 可能可以,但是和texlive 好像重复了,浪费。
谢谢! |
|
t***p 发帖数: 7 | 33 重新做一次上述步骤,又不行了!
texmf\web2c 这个目录都找不到,而且 cjk.map 找不到。
郁闷 ! |
|
T*******n 发帖数: 493 | 34 There should be a clsguide.tex or clsguide.dvi file installed with your
LaTeX.
(Mine is in /usr/share/texmf/doc/latex/base on Linux, or you can get it from
ctan.org.) This is a basic starting point. The book "The LaTeX Companion"
has
a whole chapter about writing class and style files.
For actual documentation on all the internal commands, you will need to get
the LaTeX source in the .dtx form (from ctan.org), and then run it through
LaTeX. This produces a huge boring document that is several |
|
r****t 发帖数: 10904 | 35 前两天惊艳了一把,忘了上来表杨一下。
现在装 MiKTex (俺是 2.7) 是按最小安装装好,然后 tex file 里面需要什么
package 会在编译的时候自动检测到并安装。都不用懂什么 local/texmf/ 的就行了。
以前装 MikTex 好像是 2.2 还是 2.3 的时候可费了老劲儿了。 |
|
r****t 发帖数: 10904 | 36 How long is it being like this? At least many years ago when I tried MikTex
2.2 or maybe 2.3, I did not get that feature and have to figure out texmf
stuff by myself. |
|
l******n 发帖数: 9344 | 37 安装了beamer,xcolor,pgf,translator
但是还是有问题
给出的错误信息是:
\teXMF\tex\latex\miktex\color.cfg
undefined control sequence
\set@color ->pdfliteral
{\current@color }\aftergroup\reset@color
1.1095 \color{black}
?
这是怎么回事?
谢谢 |
|
d****r 发帖数: 1017 | 38 我下周要用beamer-latex做一个报告.xp系统,emacs编辑器.不是pdflatex,就是一般的latex.
1. 我先下载了beamer的package.但他里面自带的install不能用.xp不认识,只会问我用
什么软件打开?
2. 没办法,我自己创建一个目录 E:\Work\Tex\Beamer\texmf\tex\latex\beamer
然后把所有.sty, .cls 等等都copy进去.这中间还copy了好多xcolor和pgf的文件.
3. 现在的情况是,用emacs编辑一个现成的example.tex文件, emacs一直要求安装
beamer这个package! 可是我不知道怎么装: 用internet,说找不到. 用local disk,我
指定了本地文件夹,说不是local repository. 到底什么是local repository啊?为什么
我已经把所有.sty文件都复制在当地目录了,还要安装beamer这个package呢?
4. 如果忽略安装,能生成一个.dvi文件,转化成.pdf文件后,完全不对.不全.
请问大侠们,到底怎么才能在xp上安 |
|
d****r 发帖数: 1017 | 39 接着问.
我又copy了几个.pdf文件到E:\Work\Tex\Beamer\texmf\tex\latex\beamer.
现在emacs不要我安装beamer了.能生成.dvi文件.而且好像没有错误.
但是.dvi显示不对.
经过dvips时能生成.ps文件,但是ps2pdf是有unrecoverable error, 生成的.pdf也不全.
如果直接用dvipdfm, 产生的.pdf更不对,有一大堆ignore.
那该怎么把由beamer产生的.dvi转化成.pdf呢? |
|
T*********r 发帖数: 11175 | 40 需要装latex-beamer package,放在你的texmf目录
miktex/texlive的管理软件应该会帮你装
texlive只是个基本平台
如果你定义新的东西,还是需要装的
当然如果你安装的时候选了最大安装,可能已经有beamer之类了 |
|
q**j 发帖数: 10612 | 41 thanks a lot! it works quite well. the only problem is that my latex (TeXmf)
does not understand commands like \toprule, so i have to delete them
manually. how to deal with it? thanks a lot. |
|
b*****n 发帖数: 71 | 42 \usepackage{booktabs}
TeXmf) |
|
D****g 发帖数: 2860 | 43 I installed a tex package in my own dir, I set TEXINPUT to my local
texmf dir, but latex can't find standard packages. How shall I
set up? Thanks. |
|
s**s 发帖数: 242 | 44 偶的FC3在/usr/share/texmf/tex/generic/misc下.
拷贝后执行texhash
文 |
|
s**s 发帖数: 242 | 45 偶的FC3在/usr/share/texmf/tex/generic/misc下.
拷贝后执行texhash
文 |
|
gw 发帖数: 2175 | 46 为什么不能显示 latex 里的想欠的eps文件呀?
用dvipdf生成的PDF文件里也没有图.其他正常.
同样的latex文件在 linux 下 latex + dvipdf能显示图形.
logbook里有这样的信息:
....
phvr8r: checksum mismatch
32: no glyph!
Sending D:\Program Files\texmf\dvips\base\tex.pro...
d:\PROGRA~1\gs\gs8.11\bin\gswin32c.exe -I"d:\program
files\gs\gs8.11\lib;d:\program files\gs\fonts;d:\program
files\gs\gs8.11\Resource" -r75.000000x75.000000 -g876x619 -sDEVICE=bmp256 -q
-DBATCH -dNOPAUSE -dSAFER -sOutputFile=andle -start:
d:\PROGRA~1\gs\gs8.11\bin\gswin32c.exe -I"d:\progra |
|
F****r 发帖数: 151 | 47 谢谢楼上。 核心步骤就是 R CMD SHLIB a.c
DUMMY 级详细步骤如下(牛人可直接飘过):
WindowXP 系统, R 2.7.1 已经下载安装 在c:文件路径c:\R
1.从http://www.murdoch-sutherland.com/Rtools/下载安装Rtools28.exe ,存为c:\Rtools
2.在MS-DOS的prompt下,把路径改为 c:\R\bin
3.在c:\R\bin>后输入路径
PATH=c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;c:\texmf\miktex\
bin;c:\progra~1\htmhe~1;c:\R\bin;c:\windows;c:\windows\system32
注意你的路径可能会不同,要因人制宜。 参考 page 54 Appendix E of R
Installation and Administration , 尤其注意以下两段:
First:
Your PATH may include ‘.’ first, then the ‘bi |
|