Kile : User Manual

Contents:


 The LaTeX editor

In addition to the usual commands of an editor, Kile proposes others commands in order to facilitate the edition of your source files.

The preamble

To define the preamble of the source file, you can:

Structure of your document

With the toolbar or the "LaTeX/Sectionning" menu, you can insert the title of a section or of a paragraph thanks to a dialog box. Then, the "Structure" view is automatically refreshed. While clicking on one item in the "Structure" view, the cursor is placed on the corresponding line in the editor. (Note: for the file names, it is necessary to double-click).

Latex tags and Mathematical symbols

 The LaTeX Shell

The commands of the "Tools" menu enable you to directly launch the standard programs associated with LaTeX. To configure these tools, use the "Configure Kile" command of the "Options" menu.

About the "log" file

After each compilation the "log" file is displayed. The "Next Latex Error" and "Previous LaTeX Error" commands allow to reach the errors detected during compilation. While clicking on the number of a line in the "log" file , the cursor is placed on the corresponding line in the editor.

The "Quick Build" command

With this command, the compilation and the display of the document are automatically launched unless a LaTeX error is detected in the "log" file . (Note: only the errors stop the process, the warnings are ignored)

For the documents separated in several files

After having defined your "master" document (with the corresponding command of the "Options" menu), all the commands of the "Tools" menu will apply only to this document even when you work on the "children" documents . (Note: you can even close the "master" document)

Use of the "Watch File" mode

Example of use with Kdvi:

Use of the "Kdvi Forward Search" command

With this command, Kdvi displays the "dvi" document directly in the place corresponding to the position of the cursor in Kile. This command is not available if a "master" document is defined in Kile. You must also insert the following command in the preamble to your document:
\usepackage[active]{srcltx } 
Note: the "srcltx.sty" and "srctex.sty" files (provided with the documentation of Kdvi) must be copied in the current directory of your document.

Use of the "Kdvi Inverse Search" command with Kile

Thanks to this command of Kdvi, with a middle-mouse click in the "dvi" document, Kile will open the "tex" document automatically and will propose to go to the corresponding line.
(Note: the document "tex" must be compiled as for the "Kdvi Forward Search" command)
To select Kile as the default editor in Kdvi, use the command "kile %f --line %l" (Menu "Settings" - "DVI options" - "DVI specials").

 The GnuPlot front end

The Gnuplot front end provided with Kile is an adaptation of the Xgfe program created by David Ishee. The use of this tool requires a good knowledge of Gnuplot.
Example: Layout of the function "sinus"

 Credits

Kile - Copyright © Pascal Brachet 2002 - http://perso.club-internet.fr/pascal.brachet/kile/

Kile contains source code from this free (GPL) program :
Xgfe (X Windows GUI front end to Gnuplot) : Copyright (C) 1998 David Ishee


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.