因此,我刚刚在 Ubuntu 11.10 64 位上从网站上手动安装了最新的 TeX Live。我保留了所有路径的默认路径,安装了所有软件包。然后我安装了最新版本的 Texmaker。
我只需要手动修复选项中的所有命令,让它们指向
/usr/local/texlive/2012/bin/x86_64-linux/'command'
到目前为止一切都很好,F2LaTeX 工作正常;没有问题;PDF 预览也很好。当我尝试添加参考书目时出现问题:
\bibliographystyle{plain}
\bibliography{/home/elect/Dropbox/Poli/toptesi/Ref}
它不起作用。我遇到了问题。我不知道是哪些问题,因为它没有显示出来。
然后我尝试手动运行该命令:
elect@elect-desktop:/usr/local/texlive/2012/bin$ bibtex /home/elect/Dropbox/Poli/toptesi/References
I couldn't open file name `/home/elect/Dropbox/Poli/toptesi/References.aux'
为什么它正在寻找.aux
文件?
编辑:正如 Guido 所建议的,我在 tex 文件上运行:
elect@elect-desktop:~$ bibtex /home/elect/Dropbox/Poli/toptesi/toptesi-example.aux
bibtex: Not writing to /home/elect/Dropbox/Poli/toptesi/toptesi-example.blg (openout_any = p).
I couldn't open file name `/home/elect/Dropbox/Poli/toptesi/toptesi-example.blg'
编辑2:
elect@elect-desktop:~/Dropbox/Poli/toptes$ pdflatex toptesi-example
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
restricted \write18 enabled.
entering extended mode
(./toptesi-example.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, uk
english, usenglishmax, italian, loaded.
(./toptesi.cls
Document Class: toptesi 2012/10/06 v.5.61b Class for typesetting university the
ses
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2012/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/english.ldf
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/babel.def))
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/italian.ldf)))
(./toptesi.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(./topfront.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty))
(./toptesi.cfg)) (./topcoman.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/ts1enc.def))))
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(/usr/local/texlive/2012/texmf-dist/tex/latex/url/url.sty))
Package hyperref Message: Driver (autodetected): hpdftex.
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/latin1.def))
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2012/texmf-dist/tex/latex/lm/lmodern.sty)
(./toptesi-example.aux)
(/usr/local/texlive/2012/texmf-dist/tex/generic/babel/lgrcmr.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/lm/t1lmr.fd)
(/usr/local/texlive/2012/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
Messaggio Toptesi: Ricalcolo i margini
(/usr/local/texlive/2012/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2012/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/local/texlive/2012/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2012/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./toptesi-example.out) (./toptesi-example.out)
(/usr/local/texlive/2012/texmf-dist/tex/latex/lm/ot1lmr.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/lm/omllmm.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/lm/omslmsy.fd)
(/usr/local/texlive/2012/texmf-dist/tex/latex/lm/omxlmex.fd)
Overfull \vbox (2.16994pt too high) has occurred while \output is active
[1{/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
[2] (./toptesi-example.toc)
! I can't write on file `toptesi-example.toc'.
<to be read again>
\relax
\@starttoc ... tf@#1\endcsname \jobname .#1\relax
\fi \@nobreakfalse \endgroup
\tableofcontents ...contentsname }\@starttoc {toc}
\clearpage \if@restonecol ...
\indici ... \frontmattertrue \fi \tableofcontents
\iftablespage {\addvspace ...
l.127 \indici
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name:
编辑3:
现在在 >pdflatex 上我得到:
! LaTeX Error: Something's wrong--perhaps a missing \item.
我的参赛号码如下:
\bibliographystyle{plain} \bibliography{References}