[go: up one dir, main page]

File: dibbler-user.tex

package info (click to toggle)
dibbler 0.7.3-1.3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,148 kB
  • ctags: 8,720
  • sloc: cpp: 54,863; sh: 9,389; ansic: 8,659; yacc: 2,570; makefile: 1,061; lex: 842; perl: 49; xml: 6
file content (140 lines) | stat: -rw-r--r-- 3,349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
%%
%% Dibbler - a portable DHCPv6
%%
%% authors: Tomasz Mrugalski <thomson@klub.com.pl>
%%          Marek Senderski <msend@o2.pl>
%%
%% released under GNU GPL v2 only licence
%%
%% $Id: dibbler-user.tex,v 1.20 2008-08-29 00:07:38 thomson Exp $
%%

\documentclass[11pt]{article}
\usepackage[latin2]{inputenc}
\usepackage[dvips]{graphicx}
\usepackage{float}
\usepackage{makeidx}
\usepackage{fancyhdr}
\usepackage{indentfirst}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{url}
\usepackage[usenames]{color}
\usepackage[colorlinks=true,linkcolor=myLinkColor,urlcolor=myUrlColor]{hyperref}

%\setlength{\topmargin}{-1.0cm}
\usepackage[twoside=true,
            left={2cm},
            right={2cm},
            top={2cm},
            bottom={2cm},
            footskip={1cm},
            headheight={1cm},
%%            twosideshift={0.5cm},
            headsep={0.5cm}]{geometry}

%%%%%% \dzis macro by Lupan %%%%%%
\newcommand{\dzis}{
\the\year-%
\ifnum\month<10{}0\fi
\the\month-%
\ifnum\day<10{}0\fi
\the\day
}

\author{Tomasz Mrugalski\\ \small{\href{mailto:thomson(at)klub.com.pl}{thomson(at)klub.com.pl}}}
\date{\dzis}
\title{Dibbler -- a portable DHCPv6\\User's guide}

\definecolor{myBgColor}{rgb}{1.0,1.0,1.0}
\definecolor{myLinkColor}{rgb}{0.0,0.4,0.0}
\definecolor{myUrlColor}{rgb}{0.7,0.2, 0.4}
\definecolor{myBgTableColor}{rgb}{0.9, 0.9, 0.9}
\pagecolor{myBgColor}

\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\bfseries Dibbler -- a portable DHCPv6}
\fancyhead[C]{\small\bfseries User's Guide}
\fancyhead[R]{\small\bfseries\thepage}
%%\fancyhead[C]{\small\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{%
\fancyhead{} %
\renewcommand{\headrulewidth}{0pt} %
}

%%\newenvironment{Cfg}{ \Verbatim }{ \endVerbatim }

\makeindex

\newcommand{\Q}{ \textbf{Q:} }
\newcommand{\A}{ \textbf{A:} }
\newcommand{\Note}{ \textbf{Note:} }

\newcommand{\msg}[1]{\emph{#1}}
\newcommand{\opt}[1]{\emph{#1}}
\newcommand{\IA}{ \textbf{\emph{IA}} }
\newcommand{\duid} { DUID }
\newcommand{\code}[1]{\textbf{#1}}
\newcommand{\subsubsubsection}[1]{\subsubsection{#1}}
\newcommand{\CfgBegin}{\begin{lstlisting}}
\newcommand{\CfgEnd}{\end{lstlisting}}

%% this does not work... yet
\newenvironment{Cfg}{\begin{lstlisting}}{\end{lstlisting}}

%% for Verbatim environment
%%\RecustomVerbatimEnvironment{Verbatim}{Verbatim}{frame=single,framesep=3mm}

%%\renewcommand{\FancyVerbFormatLine}[1]{\colorbox{red}{#1}}
\usepackage{listings}
\lstset{basicstyle=\ttfamily, columns=flexible, backgroundcolor=\color{myBgTableColor},frame=lines} 
%or columns=fullflexible

%% include auto-generated version number
\input{version.tex}

%% message names should be printed this way: \msg{SOLICIT}
%% options should be printed this way:       \opt{Option Request}

\begin{document}

\vspace{-4cm}
\maketitle
\vspace{-1cm}

\begin{center}
\version
\end{center}

\newpage
\tableofcontents

\newpage

%% INTRO, OVERVIEW
\input{dibbler-user-intro.tex}

%% INSTALLATION and USAGE
\input{dibbler-user-usage.tex}

%% FEATURES
\input{dibbler-user-features.tex}

%% CONFIG FILES
\input{dibbler-user-config.tex}

%% FAQ
\input{dibbler-user-faq.tex}

%% HISTORY, CONTACT
\input{dibbler-user-epilogue.tex}

%% BIBLIOGRAPHY
\input{dibbler-common-bibliography.tex}


\end{document}