blob: 343134d21993c414af5b055978e3555f8eabb067 (
plain)
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
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% LaTeX me first!!!
%
% This is 00README.tex of the invoice package. LaTeX this file
% and it will reveal everything... Software you need, software
% you have, etc.
%
% Author: Oliver Corff
% Date: October 1st, 2011
%
\def\myabstract{%
The invoice package provides an environment for
writing invoices with an arbitrary number of
billed items like fees (with taxes, if applicable),
as well as expenses in local and foreign currencies.}%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt]{ltxdoc}
%\usepackage{hyperref}
\newif\ifBadNews
\IfFileExists{diagnose.sty}{\usepackage{diagnose}}{\BadNewstrue}
\title{\texttt{invoice 0.9}\\Installation Notes}
\author{Oliver Corff}
\date{October 1st, 2011}
\begin{document}
\maketitle
\thispagestyle{empty}
\begin{abstract}\myabstract\end{abstract}
\ifBadNews
\vskip 1cm
\begin{sloppypar}
{\large
Before you do anything else pick up the diagnose package
(\texttt{CTAN:macros/latex/contrib/supported/diagnose})
and latex this file again.}
\end{sloppypar}
\else
% Your official text comes here.
\newcounter{AllInPlace}
\section{Site Status and Installation}
\begin{sloppy}
The \texttt{invoice} package requires additional %CTAN
software for meaningful operation. These packages are
\texttt{fp}, \texttt{calc} and \texttt{longtable}.
\PackageDiagnostics%
{calc.sty} % Package tested for
{CalcAvailable} % Associated counter
{Infix Arithmetics Available!} % Yes! message
{Infix Arithmetics Not Available!} % No! message
\ifnum\theCalcAvailable=1
Your site installation contains the required \texttt{calc}
package. No further action is necessary.
\else
\textbf{Nota Bene:} Please fetch and install \texttt{calc}
from
\texttt{CTAN:macros/latex/required/tools/calc.dtx} before
continuing!
\fi
\PackageDiagnostics%
{fp.sty} % Package tested for
{CrunchingAvailable} % Associated counter
{Number Crunching Possible!} % Yes! message
{Number Crunching Not Possible!} % No! message
\ifnum\theCrunchingAvailable=1
Your site installation contains the required
\texttt{fp}
package. No further action is necessary.
\else
\textbf{Nota Bene:} Please fetch and install \texttt{fp}
from \texttt{CTAN:macros/latex/contrib/fp} before continuing!
\fi
\PackageDiagnostics%
{longtable.sty} % Package tested for
{LongTableAvailable} % Associated counter
{Long Tables Possible!} % Yes! message
{Long Tables Not Possible!} % No! message
\ifnum\theLongTableAvailable=1
Your site installation contains the required
\texttt{longtable}
package. No further action is necessary.
\else
\textbf{Nota Bene:} Please fetch and install \texttt{longtable}
from \texttt{CTAN:macros/latex/required/tools/longtabl.dtx}
before continuing!
\fi
\addtocounter{AllInPlace}{\theCalcAvailable}
\addtocounter{AllInPlace}{\theCrunchingAvailable}
\addtocounter{AllInPlace}{\theLongTableAvailable}
\ifnum\theAllInPlace=3
\section{The \texttt{invoice} Package}
The \texttt{invoice} package was conceived in late 2000
when the author had to dig through a truly aweful pile
of expense bills without having a \LaTeXe-capable
spreadsheet (or any spreadsheet) available. After several
miscalculations with a pocket calculator due to forgotten
entries or double entries the idea came up to have \LaTeXe\
do the calculation work. As such, the package in its present
stage is highly specialized with regard to the documents it
generates. The \texttt{invoice} package is basically a
tailor-made solution for a consultant who charges fees and
claims all sorts of expenses, sometimes working on different
assignments for the same client.
Comments and suggestions are highly welcome and
should be directed to the author at
\texttt{corff@zedat.fu-berlin.de} or
\texttt{oliver.corff@email.de}.
The \texttt{invoice} package is put under the GNU
Public Licence.
\else
\vspace{1cm}
\textbf{Attention:} Please install whatever is
specified above, and recompile this document.
\fi
\end{sloppy}
\fi
\end{document}
|