~ubuntu-branches/ubuntu/precise/latexila/precise

« back to all changes in this revision

Viewing changes to HACKING

  • Committer: Bazaar Package Importer
  • Author(s): Tanguy Ortolo
  • Date: 2010-04-26 22:13:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100426221300-6pa79a1yk5tino7y
Tags: upstream-0.2.0
ImportĀ upstreamĀ versionĀ 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Guidelines for LaTeXila
 
2
=======================
 
3
 
 
4
LaTeXila source code is maintained using the Git version control system
 
5
and is available at the following location:
 
6
 
 
7
    git://latexila.git.sourceforge.net/gitroot/latexila/latexila
 
8
 
 
9
A Web Interface is available at:
 
10
 
 
11
    http://latexila.git.sourceforge.net/
 
12
 
 
13
You can download the source code from the Git repository by doing:
 
14
 
 
15
    $ git clone git://latexila.git.sourceforge.net/gitroot/latexila/latexila
 
16
 
 
17
Later, to take the new commits you just have to do:
 
18
 
 
19
    $ git pull
 
20
 
 
21
 
 
22
If you want to contribute to LaTeXila, contact the main developer (see the file AUTHORS).
 
23
Here is how you can generate a patch:
 
24
 
 
25
    $ git diff origin > patch
 
26
 
 
27
There are some rules to follow when coding:
 
28
    - tab width: 4
 
29
    - lines: 80 characters maximum (in some cases it can be a little more)
 
30
    - same coding style everywhere
 
31
 
 
32
If you use vim, you can put this in your .vimrc:
 
33
 
 
34
    au BufEnter *.c set tabstop=4 shiftwidth=4 cindent textwidth=80 formatoptions=croq
 
35
    au BufEnter *.h set tabstop=4 shiftwidth=4 cindent textwidth=80 formatoptions=croq