TeX and LaTeX produce impeccably laid-out documents, and are the only practical way to show some mathematical equations. This GUI tool acts as an "integrated development environment" for the command-line document preparation tools.
Discerning typesetters have long relied on Tex and LaTeX for impeccable-looking documents. Now they have a front-end that works under Linux and BSD and brings control of the compilers and related utilities under the comprehensive graphical user interface. Authors and editors who use Kile can get increased productivity in the document creation business. This article will highlight some of Kile's key features which make it so attractive to newcomers to LaTeX.
开头开始
Typesetting in LaTeX takes the user through several stages on the way to the ultimate document. First, the user prepares a LaTeX file or files using a text editor, checking syntax and the LaTeX commands and keywords. The next step is compiling the prepared LaTeX document, followed by reading of error messages and taking necessary actions on their correction, before compiling the document again. Once the error messages are gone, check the document visually and, if necessary, revise the input file again. For example, edit the file to chane settings for an image or table formatting, then compile the LaTeX file once more.
的情况下,经过几次迭代,一切最终如所期望地布置,该文档可以被印刷或存储到电子格式,包括“独立于设备的格式”(DVI),后记,PDF或HTML。这与传统的工具,包括dvi2ps,dvi2pdf和latex2html完成。
LaTeX is a document preparation system based on the TeX typesetting language. TeX, LaTeX, and related tools are integrated into theteTeX套件,维持由托马斯·埃塞尔。但是,尽管这些工具是易于安装和适用于所有常见的Linux发行版,这个过程可以阻止出现了许多新的LaTeX的用户。然而,创建的文档的特殊印刷质量是非常值得的努力。但是,这并不是说,TeX和LaTeX的社会应该被剥夺了由图形工作环境所带来的好处。在Linux和BSD,在乳胶排版是提高生产力的追求已经导致了从teTeX套件众多单机公用事业集成编译器的功能,几个受欢迎的节目。
Competition among LaTeX front ends, a Software Darwinism theory, could explain why Kile (KDE Integrated LaTeX Editor, latest stable version 1.9.3) is a number one choice for many existing users. It is fair to say that the term "LaTeX editor" does not do all the justice to Kile in view of its distinctive set of features. Instead, we could refer to it as a complex, yet easy to use, working environment that, among other things, centralizes access to LaTeX and related tools, including Postscript and PDF translators.
Kile is published under GPL, and source code can be downloaded from theKile home page。Debian GNU/Linux users can, of course, most readily fetch Kile with:
sudo易于得到的kile安装
Kile is also packages for Ubuntu and for RPM-based distributions including OpenSUSE, Mandriva, and Fedora. Check your distribution's package manager, or search rpmfind.net.
Interface Impressions
With the complete suite of teTeX applications already installed, KILE takes the user for a ride in the fastest lane immediately after the first run. With the exhibited level of integration, it is easy to forget that it is an external front-end to teTeX and not a native part. Of course, the largest portion of Kile's work space is occupied by the text editor where the input files are displayed. Below the text editor is the area reserved for the stream of information provided by various external applications, and there is also a shell console for the quick communication with the operating system.
图1:主要Kile的编辑窗口包括一个项目,一个文本编辑区和从外部程序的消息显示中管理文件窗格。
垂直对齐旁边的文本编辑区域是图标的多功能面板上的主Kile的窗口左侧更远的变更内容。随着对基本观点,面板列出构成当前乳胶项目所有打开的文件。当写长篇出版物它始终是更好的文本拆分成几个较小的章节/部分文件,这更易于操作。同时,可以选择的情况下,选择编码时其文本写作和在非英语语言的文本的显示是提上议事日程。
Apart from the last one, all other views for this panel are related to the hundreds of supported mathematical symbols for which Kile will insert the right LaTeX reserved word into the editor. TeX and LaTeX are all about math, and a whole branch of the Kile's menu supports the mathematical environments and symbols defined by the American Mathematical Society (AMS). This should provide all the coverage that the majority of users may ever need when typesetting technical texts. In rare circumstances when that may not be the case, one can always consult Scott Pakin's work "The Comprehensive LaTeX Symbol List" with references to the corresponding LaTeX packages containing more than three thousand symbols.

The last icon with MP (Metapost) label presents another gem: a complete list of Metapost commands. According to the its creator John Hobby, Metapost is a language for creating technical figures based on professor Knuth's earlier Metafont. Metapost, as the name suggests, produces the output in Postscript and facilitates access to specialized features including the integration of graphics and text. Speaking of Postscript, a higher-level approach to its integration with LaTeX is undertaken with the most interesting package calledPSTricks。PSTricks允许你包含代码片段后记直接图纸到文档中。
In the meantime we continue the tour of the Kile's user interface. The mission critical toolbar controls are there to invoke programs, external to Kile, that will perform a certain action on the active LaTeX document. With almost everything in the interface being configurable, the controls can be easily customized through a set of options accessed from the main menu "Settings/Configure Shortcuts/Toolbars/Kile".
Behind the dialog "Configure Kile" is the true connection with the underlying compilers and the DVI drivers/translators/previewers. The user can choose the default compiler (pdftex, pdflatex) or the DVI tool for a particular task and they will become available through the designated icon on the Kile toolbar. Apart from the toolbar, all mandatory tasks like the compilation of the current document, translation from DVI into Postscript or PDF and the preview of created documents are represented individually in the menu "Build". The "QuickBuild" includes the entire process from compilation to the document preview stage, releasing the user from obligation of running each one separately. "Selection Build" is an option that is especially useful when a lot of editing is done over a large document. In order to save the compilation time over the entire project, it will only compile and display the selected part of the input file where the last changes were made.
图3:在幕后,凯乐允许您设置options that you pass to external format conversion, spell checking, and other tools.
然而,通过提供Kile的另一次转换效用latex2html,这将产生从胶乳项目相互关联的HTML页面,准备在线发布。Latex2html单独安装,虽然它不是teTeX套件的一部分,它是必不可少的,当技术著作需要在网络上迅速呈现,如以同样的方式轻松获得后记或LaTeX的文档的HTML版本PDF文件。最重要的特点是数学公式转换成纳入与网页源静态图像文件。关在排版上交易是不可避免的在这一点上,但即使是最复杂的公式将足够令人满意的品质显示。
When checking the accuracy of the user's input, Kile can also help with tracing LaTeX command syntax errors and can point to the documents segments where the so-called bad boxes are detected in the LaTeX input files. Bad boxes are areas where the compiler thinks that the text has not be typeset to its high standards. Whenever these messages occur, Kile jumps to the incriminated lines with the forward/backward navigation toolbar buttons.
You can check that all the necessary external tools are installed, using the menu item "Settings/System Check". Its purpose is to test-run the TeX/LaTeX compilers, the DVI translators and graphical previewers. Once the test is completed, you'll see a full trouble-shooting report about the current configuration.
As stated earlier, the menu "Settings/Configure Kile" leads to the main configuration window. A set of items found on the "Build" tab reveals the actual shell command and the name of the console application executed when some action is performed within Kile. Where possible (and practical), the predefined programs can be substituted with other applications. For example, the preview of DVI, Postscript and PDF files is done by default with the external programs KDVI, KGhostview or KPDF (for this purpose, Kile temporarily switches from the basic "text editing" into "preview" mode; for return, the "Editor View" button becomes available).
But, for those preferring non-KDE previewers (or in the situation when they are not available with the KDE bundle) programs such as Xdvi, Xpdf, gv or Adobe Acrobat Reader can be used instead. Depending on the type of these applications, the "Advanced" tab can offer a clue about the extra settings which need to be adjusted when you change the default programs.
Figure 4: Preview mode shows pages as they will be printed.
凯勒是一个文本编辑器
如果它没有被考虑到开发出的TeX和LaTeX,在Kile的编辑器将是最好的通用文本编辑器中可今天排在Unix / BSD和Linux平台。Kile的的编辑功能击败轻量级编辑器,如凯特或Gedit的。TeX的和LaTeX编译器的正式语法将以彩色显示传统在常规的文本内容,但支持不仅排版语言。制备含出版物时菜单“工具/亮点”的访问将要阐述带来超过100种支持的编程和象征性的语言,包括C,Perl,Python和MATLAB,倍频和R.源代码高亮的列表就派上用场了冗长的源代码列表。
在菜单中的每个条目的“编辑”和“查看”,无论任务如何进行普通的,是经过深思熟虑和实施,许多这些将吸引程序员。对于普通的文本编辑设置,后面的“设置/配置编辑器”对话框将提供大量的设计工作期间提供舒适的选择。
However, it is Kile's numerous editing features specifically for LaTeX typesetting that had attracted its large army of fans in the first place. These include help for quick navigation around the current LaTeX document, indexing, cross-referencing, adding graphics and working with bibliography entries. To spoil the users (and save them from laborious typing) every time when the beginning of a new command is recognized in the input file, Kile's editor will bring a list of all matching LaTeX commands for auto-completion. Needless to say, the entire list of all standard reserved keywords can be accessed from the menu branches "LaTeX". And the menu "Wizard" will offer a time-efficient way of including the environmental block commands which define tables, mathematical equations or graphics which abound in complex technical publication.
对于任何新的出版物,Kile的可开球从菜单中选择“向导/快速入门”访问的综合性文件设置对话框的作品。在这里,文档类(文章,书籍,报告)和基本属性(编码,字体大小,默认的公式对齐,文本列的数量等)都成立,你可以选择将用于创建出版物的附加软件包。支持LaTeX的包的列表并不在此对话框详尽,但它仍然会迅速形成文档的基本结构,并允许您直接专注于创作。文档的结构可以在以后的任何阶段来修改通过手动添加可从任何其他乳胶包,以适应最终项目Comprehensive TeX Archive Network (CTAN)。


