Guidelines for LaTeXila
=======================

LaTeXila source code is maintained using the Git version control system
and is available at the following location:

    git://github.com/swilmet/latexila.git

A Web Interface is available at:

    http://github.com/swilmet/latexila

You can download the source code from the Git repository by doing:

    $ git clone git://github.com/swilmet/latexila.git

Later, to take the new commits you just have to do:

    $ git pull


If you want to contribute to LaTeXila, contact the main developer (see the file AUTHORS).
Here is how you can generate a patch:

    $ git diff origin > patch

But a pull request is better.

There are some rules to follow when coding:
    - indentation: 4 spaces
    - lines: 90 characters maximum (in some cases it can be a little more)
    - same coding style everywhere


Translations
============

How to generate latexila.pot?

$ xgettext -k_ -kN_ -d latexila -s -o po/sources.pot src/*.vala
$ xgettext -o po/glade.pot --language=Glade --omit-header src/*.ui
$ cd po/ ; msgcat -o latexila.pot --use-first sources.pot glade.pot

How to create a new *.po for a new language?

$ cd po/ ; msginit -l xx -o xx.po -i latexila.pot

How to update the *.po files with latexila.pot file?

$ cd build/ ; cmake ../
$ make
