latex 写作

一、下载:http://www.ctex.org/CTeXDownload

二、bst文件的作用

在tex文件调用bib时,如

ibliographystyle{Science}
ibliography{QAHE}

其中,Science.bst文件,指定了生产references的书写格式(具体生产文件为bbl)。投稿时,当然可以把tex和bib文件一起投稿。也可以把bbl文件中的内容粘贴到tex中,并且注释掉前面两行,如

%ibliographystyle{Science}
%ibliography{QAHE}

三、错误:

1、This is BibTeX, Version 0.99d (TeX Live 2012)

The top-level auxiliary file: ***.aux

I found no ibdata command---while reading file ***.aux

I found no ibstyle command---while reading file ***.aux

(There were 2 error messages)

出现这个错误的原因是在文中未引用bibliographystyle,在论文末尾增加以下语句即可解决该问题:
ibliographystyle{IEEEtran}
ibliography{IEEEabrv,REFS}

2、写完一些代码后编译出了错误,然后把它改好了,再点击编译按钮,结果出现以下提示:
Another application is currently  running in WinEdt's Console.
Wait for the execution to finish or else terminate the application.
每次我都是把WinEdt程序关闭然后重新打开,有没有好的办法呢?


下方编译信息窗口的左上有一个红色的×,点击终止当前未完的编译即可

3、latex 中可以使用.eps的图片,许多文档都介绍了怎么引用这种格式的图片,但没有给出使用过程中的注意事项。我在使用MIKTEX的时候,latex文档中引 入.eps图片遇到了这样的问题。编译的时候显示:“!LaTex Error:Unknown graphics extension:.eps”,并且即使编译得到了.pdf文件,但是其中所引用的.eps图片却显示不出来。经过仔细研究发现主要是编译的步骤和使用 的命令引起的。

网上其它的答案:

编译过程如下:

latex eps.tex

dvipdfm eps.dvi

或者,

latex eps.tex

dvips eps.dvi

ps2pdf eps.ps

注意的是千万不能使用latexpdf,因为这个命令无法读入.eps文档。

选择L (Latex),按下L,然后选择DIVpreview

 4、生成的参考文献不是1,2,3,4顺序

ibliographystyle{unsrt}

原文地址:https://www.cnblogs.com/james1207/p/3265469.html