@@ -12,11 +12,37 @@ Developers guide for QGIS
12
12
%! PostProc(txt): '(?i)(\t)' ' '
13
13
%! encoding: iso-8859-1
14
14
15
+ %
16
+ % Tex processing
17
+ %
18
+ % Make sure this is first
19
+ %! PostProc(tex): '\\includegraphics' '\\includegraphics[width=100mm]'
20
+ % scartcl is from the koma script document class (apt-get install texlive-latex-recommended ttf-komatuna)
21
+ % setlength parindent suppresses first line of paragraph idents
22
+ % parskip puts blank space between paragraphs
23
+ % title pic stuff used to put a logo on the front page
24
+ %! PostProc(tex): '\\documentclass{article}' '\\documentclass{scrartcl}\n\\setlength{\\parindent}{0pt}\n\\setlength{\\parskip}{2ex}'
25
+ % use the color table and table packages so we can pimp the tables a little
26
+ %! PostProc(tex): '\\usepackage{style.css} % user defined' '\\usepackage{fancyvrb}\n\\usepackage{colortbl} \n\\usepackage [table]{xcolor}\n\\definecolor{tableShade}{HTML}{cecece}\n\\definecolor{qgis-green}{HTML}{0E7300}\n\\usepackage{wallpaper}\n\\LRCornerWallPaper{1}{WALLPAPER-IMAGE}\n\\usepackage{hyperref}\n\\hypersetup{linkcolor=qgis-green,urlcolor=qgis-green}\\renewcommand\\thesection{\\color{qgis-green}\\thechapter\\arabic{section}}'
27
+ % Make the header row of tables have a dark background. light text
28
+ %! PostProc(tex): '\\hline \\textbf' '\\hline \\rowcolor[rgb]{0,0,0} \\color{white} \\textbf'
29
+ %! PostProc(tex): '& \\textbf' '& \\color{white} \\textbf'
30
+ % Make verbatim text a little smaller and use fancyvrb package to draw it in a box
31
+ % Note Verbatim with capital V for fancyvrb to work
32
+ %! PostProc(tex): '\\begin{verbatim}' '{\\scriptsize\\begin{Verbatim}[frame=single,rulecolor=\\color{qgis-green}, framesep=4mm, label=\\fbox{\\small\\emph{Listing}}]'
33
+ %! PostProc(tex): '\\end{verbatim}' '\\end{Verbatim}\n}'
34
+ %! PostProc(tex): '\\section' '\\newpage\\section'
35
+ %! PostProc(tex): 'section{' 'section{\\color{qgis-green}'
36
+ %! PostProc(tex): NEWPAGE '\\newpage'
37
+ % Give alternating table rows different colours and use a smaller font in tables (\tiny)
38
+ %! PostProc(tex): '\\begin{tabular}' '\\rowcolors{2}{tableShade}{white} \n\\tiny\\begin{tabular}'
39
+ %! encoding: iso-8859-1
15
40
41
+ %! PostProc(tex): WALLPAPER-IMAGE 'qgis-footer.png'
16
42
% These are comments and will not be generated in any output
17
43
% -------------------
18
44
19
- %This document is in text2tags format. You can generate html, plain text and
45
+ %This document is in txt2tags format. You can generate html, plain text and
20
46
%moinmoin formatted documentation by running txt2tags on this document. See the
21
47
%txt2tags home page for more details. Please insert manual line breaks in this
22
48
%document as it makes diffing for changes much easier. To do this in vim
@@ -26,12 +52,13 @@ Developers guide for QGIS
26
52
27
53
% To generate the text version of this document:
28
54
% txt2tags -t txt -o CODING CODING.t2t
29
- % To generate the moinmoin version of this document:
30
- % txt2tags -t moin - o CODING.moin CODING.t2t
55
+ % To generate the mediawiki version of this document:
56
+ % txt2tags -t wiki --no-enum-title - o CODING.wiki CODING.t2t
31
57
% To generate the html version of this document:
32
58
% txt2tags -t html -o CODING.html CODING.t2t
33
59
% To generate the LaTeX version of this document:
34
- % txt2tags -t tex -o CODING.tex CODING.t2t
60
+ % txt2tags -t tex -o CODING.tex CODING.t2t; pdflatex CODING.tex
61
+
35
62
%
36
63
% End of comments
37
64
% -------------------
0 commit comments