| 1 |
% notapg.tex; nota programming guide |
| 2 |
% Time-stamp: <2010-02-24 15:28:08 (dbinnema)> |
| 3 |
|
| 4 |
\documentclass[11pt,a4paper]{book} |
| 5 |
|
| 6 |
|
| 7 |
%%%%%% |
| 8 |
\date{2009.06.18} %% set the document date |
| 9 |
%%%%% |
| 10 |
|
| 11 |
|
| 12 |
\usepackage{cite} |
| 13 |
\usepackage{verbatim} |
| 14 |
\usepackage{amssymb} |
| 15 |
\usepackage{graphicx} |
| 16 |
\usepackage{float} |
| 17 |
\usepackage{wrapfig} |
| 18 |
\usepackage{url} |
| 19 |
\usepackage{bbding} |
| 20 |
|
| 21 |
|
| 22 |
\usepackage{color} |
| 23 |
\definecolor{Brown}{cmyk}{0,0.81,1,0.60} |
| 24 |
\definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40} |
| 25 |
\definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0} |
| 26 |
|
| 27 |
\usepackage{listings} |
| 28 |
\lstset{numbers=left,language=[ISO]C++,tabsize=4, |
| 29 |
frame=single, |
| 30 |
basicstyle=\footnotesize, |
| 31 |
showspaces=false,showstringspaces=false, |
| 32 |
showtabs=false |
| 33 |
keywordstyle=\color{blue}\bfseries |
| 34 |
commentstyle=\color{DarkGreen} |
| 35 |
backgroundcolor=\color{LightGray} |
| 36 |
} |
| 37 |
|
| 38 |
%% my 'Note:'-macr |
| 39 |
\newcommand{\Note}[1]{{\fbox{\parbox[b]{\textwidth}{\HandRight \textbf{Note:} #1}}}} |
| 40 |
|
| 41 |
%%% fancy headers %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 42 |
\usepackage{fancyhdr} |
| 43 |
\pagestyle{fancy} |
| 44 |
\usepackage{fancyhdr} |
| 45 |
\setlength{\headheight}{15pt} |
| 46 |
|
| 47 |
\pagestyle{fancy} |
| 48 |
\renewcommand{\chaptermark}[1]{\markboth{#1}{}} |
| 49 |
\renewcommand{\sectionmark}[1]{\markright{#1}{}} |
| 50 |
|
| 51 |
\fancyhf{} \fancyhead[LE,RO]{\thepage} |
| 52 |
\fancyhead[RE]{\textit{\nouppercase{\leftmark}} \includegraphics[height=13pt]{image/logo.png}} |
| 53 |
\fancyhead[LO]{\includegraphics[height=13pt]{image/logo.png} |
| 54 |
\textit{\nouppercase{\rightmark}}}% |
| 55 |
\fancypagestyle{plain}{ % |
| 56 |
\fancyhf{} % remove everything |
| 57 |
\renewcommand{\headrulewidth}{0pt} % remove lines as well |
| 58 |
\renewcommand{\footrulewidth}{0pt}} |
| 59 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 60 |
\usepackage{makeidx} |
| 61 |
\makeindex |
| 62 |
|
| 63 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 64 |
% if you don't have fontspec, you'll probably want to comment out the |
| 65 |
% stuff in this block. |
| 66 |
\usepackage{fontspec} |
| 67 |
% don't forget: |
| 68 |
% https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/364627 |
| 69 |
\usepackage{geometry} \geometry{a4paper, textwidth=5.5in, textheight=8.5in, |
| 70 |
marginparsep=7pt, marginparwidth=.6in} |
| 71 |
|
| 72 |
% FONTS |
| 73 |
\defaultfontfeatures{Mapping=tex-text} |
| 74 |
%\setromanfont{Gentium} |
| 75 |
\setromanfont [Ligatures={Common}, BoldFont={Gentium Basic Bold}, |
| 76 |
ItalicFont={Gentium Basic Italic}]{Gentium Basic} \setsansfont{Charis SIL} |
| 77 |
\setmonofont[Scale=0.8]{DejaVu Sans Mono} |
| 78 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 79 |
%%%% |
| 80 |
\setlength{\parskip}{6pt}% |
| 81 |
\setlength\parindent{0in} |
| 82 |
|
| 83 |
\author{Dirk-Jan C. Binnema\\dirk-jan.binnema@nokia.com} |
| 84 |
\title{NoTA Programming Guide} |
| 85 |
\date{\today} |
| 86 |
\begin{document} |
| 87 |
\include{titlepage} |
| 88 |
\section*{ChangeLog/TODO} |
| 89 |
\verbatiminput{TODO.org} |
| 90 |
%%%%%%%%%%%%% |
| 91 |
\chapter*{Warning} |
| 92 |
|
| 93 |
This guide and the accompanying code is incomplete, may be outdated and is |
| 94 |
likely to contain errors. You have been warned. |
| 95 |
|
| 96 |
In particular, the discussions of the Resource Manager and the Stub-generator |
| 97 |
are only a starting point. |
| 98 |
|
| 99 |
Updates and suggestions are very welcome. |
| 100 |
%%%%%%%%%%%%% |
| 101 |
\chapter*{COPYING} |
| 102 |
\verbatiminput{COPYING} |
| 103 |
%%%%%%%%%%%%% |
| 104 |
|
| 105 |
\setcounter{tocdepth}{1} |
| 106 |
\tableofcontents |
| 107 |
\include{introduction} |
| 108 |
\include{overview} |
| 109 |
%\include{l-in} |
| 110 |
|
| 111 |
% no numbers in the listings in these chapters |
| 112 |
\lstset{numbers=none} |
| 113 |
\include{h-in} |
| 114 |
\include{messages} |
| 115 |
\include{h-in-example} |
| 116 |
|
| 117 |
\lstset{numbers=left} |
| 118 |
\include{stubgen} |
| 119 |
\include{stubgen-example} |
| 120 |
|
| 121 |
\include{rm} |
| 122 |
\include{rm-example} |
| 123 |
|
| 124 |
\include{development} |
| 125 |
\appendix |
| 126 |
\include{installation} |
| 127 |
\include{building} |
| 128 |
\include{running} |
| 129 |
\include{example} |
| 130 |
\include{rm-wsdl} |
| 131 |
%\include{l-in} |
| 132 |
\include{answers} |
| 133 |
\include{abbrevs} |
| 134 |
\bibliographystyle{plain} |
| 135 |
\bibliography{notapg} |
| 136 |
\printindex |
| 137 |
\end{document} |