Kile Setup
==========

Settings->Configure Kile

Fonts
-----
[Editor]
  Fonts & Colors
    [font] select desired font and size

Encodings
---------
[Editor]
  Open/Save
Encoding: <select your desired encodings>
Same examples:
western european (ISO-8859-1)
  Portuguese version of windows use it.
  On latex document, put
  \usepackage[latin1]{inputenc}
Unicode (UTF-8)
  linux use it as default. If using latex outside linux, put 
  \usepackage[utf8x]{inputenc}

Spell Check
-----------
[Editor]
    Editing
    [spellcheck]
    Default language: <select your desired one>
    [v] automatic spell checking enabled by default

forward/inverse search on DVI/PDF
---------------------------------
[tools]
  build
    latex
      select: modern
      Note: The default is to support only the source specials on DVI.
        If desired to support syncTeX for PDF converted from DVI, add "-synctex=1" on options. When options becames
        -synctex=1 -src-specials -interaction=nonstopmode '%source'    
    pdflatex
      select: modern

Setup Okular
------------
settings->configure okular
[editor]
  editor: kile

Use <ctrl> <left button> for inverse search on DVI or PDF.

TeXMaker
========
See
http://www.xm1math.net/texmaker/doc.html

spell checker: use Open Office ones. "Configure Texmaker" -> "Editor" -> "Spelling dictionary" -> click on the button at the end of the line to select the dictionary with the file browser.
Folder to put/set dictionary
/usr/share/texmaker/

TeXMaker on linux
=================
Options->Configure TeXMaker


Fonts, Encodings, and spell checking
------------------------------------
[Editor]
  Editor font family: <your desired ones>
  Editor font size: {your desired size like 12>
  Editor font encoddings: <your desired ones>
    Same examples:
      western european (ISO-8859-1)
        Portuguese version of windows use it.
        On latex document, put
      \usepackage[latin1]{inputenc}
      Unicode (UTF-8)
        linux use it as default. If using latex outside linux, put 
        \usepackage[utf8x]{inputenc}
  spelling dictionary: add your desired
  [v] inline (keep checked)
  Obs.: To install new dictionary, get openoffice one from suggested link 
  http://wiki.services.openoffice.org/wiki/Dictionaries
  and put into /usr/share/texmaker
  (or your own, if not super user)


forward/inverse search on DVI/PDF
--------------------------------------------

[commands]
LaTeX: latex -synctex=1 -src -interaction=nonstopmode %.tex
PDFLaTeX: pdflatex -synctex=1 -interaction=nonstopmode %.tex
Note: synctex optiions create auxiliar file need to sync PDF viewer and source editor. The -src is used to produce special DVI that permit DVI viewer and editor sync.
The synctex=1 on latex is necessary to sync viewer/editor for PDF converted from DVI (dvipdfm ou dvips+ps2pdf).
When use -synctex=1 (or --synctex=1), apply gzip compression on info file geneated by synctex in way to reduce their size. If use "--synctex=-1" (or "--synctex=-1") with "-1" instead of "1", no compresion performed.

DVI viewer: okular --unique "file:%.dvi#src:@ %.tex"
PDF viewer: okular --unique "file:%.pdf#src:@ %.tex"

If prefer xdvi than okular, set
DVI viewer: xdvi -editor "texmaker %f -line" %.dvi -sourceposition @:%.tex

Note: the case that use old kdvi, the parameter is same as okular, but not works for PDF )of course).
Note: texmaker+xdvi  solutions does not work as desired (sync works only in one direction).

Setup Okular
------------
Settings->Configure Okular
[editor]
  editor: custon text editor
  command: texmaker %f -line %l
  
Use <ctrl> <left button> for inverse search on DVI or PDF (okular, xdvi, and kdvi)

Note: The case that use kdvi (old), the parameter is same as okular, but not works for PDF (of course).

TeXMaker on windows
===================
Only difference is for viewer settings

forward/inverse search for DVI
------------------------------
[commands]
DVI viewer:"C:/Program Files/MiKTeX 2.8/miktex/bin/yap.exe" -1 -s @%.tex %.dvi
Obs.: adjust path accordings to your installation.

setup yap
---------
view->options
  [source sopecials]
     editor: "C:\Program Files\Texmaker\texmaker.exe" "%f" -line %l (the program arguments : "%f" -line %l )
The form to put it on yap settings depend on the version on use.
  
syncTeX (forward/inverse search on PDF)
---------------------------------------
syncTeX is supported by sumatraPDF, but TeXMaker+sumatraPDF does not works with syncTeX.
If working on PDF, use TeXmakerX (enhaced version of TeXMaker). TeXMakerX+sumatraPDF support syncTeX. Other open source solution is to use TeXNicCenter+sumatraPDF. 
Remember that on windows, only the sumatraPDF support syncTeX (2010-05-16).


