我正在运行 Windows 7,并且必须为我的论文运行一个特殊的类文件。我尝试将文件“tutthesis.cls”保存在与 .tex 文件本身相同的目录中,但没有成功。我还尝试使用此处给出的方法安装该类:http://docs.miktex.org/2.8/manual/localadditions.html
我的代码如下所示
\documentclass[12pt,a4paper,finnish]{tutthesis}
它给出了错误
! LaTeX Error: File `tutthesis.cls' not found.
使用本地添加方法,我的根文件夹是
C:\Local TeX Files
它本身看起来像
C:\Local TeX Files\tex\latex\misc\tutthesis.cls
正如示例中所示。我尝试过以不同的方式命名目录(misc -> tutthesis),但到目前为止没有任何效果,尽管我已在此网站上遇到过各种类似的问题。
我希望我没有忘记任何重要信息。有什么想法可以解决吗?
**
编辑:位于同一文件夹中的一个小型测试文档的日志文件(希望这是您所要求的):
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.7.1) 2 JUL 2014 18:08
entering extended mode
**testi.tex
(C:\KOULU\Kandi\LaTeX\testi.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size12.clo"
File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
LaTeX Warning: Unused global option(s):
[finnish].
(C:\KOULU\Kandi\LaTeX\testi.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
[1
{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}] (C:\KOULU\Kandi\LaTeX\tes
ti.aux) )
Here is how much of TeX's memory you used:
206 strings out of 493921
2276 string characters out of 3144874
49031 words of memory out of 3000000
3584 multiletter control sequences out of 15000+200000
3938 words of font info for 15 fonts, out of 3000000 for 9000
841 hyphenation exceptions out of 8191
22i,4n,21p,137b,107s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr1
2.pfb>
Output written on testi.pdf (1 page, 10414 bytes).
PDF statistics:
10 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)