3 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7 -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
8 -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
10 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
17 diff -Nur ion3-20061015.orig/doc/artikel3.hva ion3-20061015/doc/artikel3.hva
18 --- ion3-20061015.orig/doc/artikel3.hva 1970-01-01 01:00:00.000000000 +0100
19 +++ ion3-20061015/doc/artikel3.hva 2006-10-17 18:20:49.000000000 +0200
22 diff -Nur ion3-20061015.orig/doc/gpl.tex ion3-20061015/doc/gpl.tex
23 --- ion3-20061015.orig/doc/gpl.tex 2006-10-15 20:00:49.000000000 +0200
24 +++ ion3-20061015/doc/gpl.tex 2006-10-17 18:20:49.000000000 +0200
26 \xchapter{The GNU General Public License}
35 Copyright \copyright\ 1989, 1991 Free Software Foundation, Inc.
41 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
47 Everyone is permitted to copy and distribute verbatim copies
48 of this license document, but changing it is not allowed.
55 diff -Nur ion3-20061015.orig/doc/ionconf.tex ion3-20061015/doc/ionconf.tex
56 --- ion3-20061015.orig/doc/ionconf.tex 2006-10-15 20:00:51.000000000 +0200
57 +++ ion3-20061015/doc/ionconf.tex 2006-10-17 18:20:49.000000000 +0200
59 \markboth{\MakeUppercase{List of functions}}%
60 {\MakeUppercase{List of functions}}%
65 \def\fnlisti#1{\@dottedtocline{1}{0em}{1.5em}{\lstinline!#1!}{\pageref{fn:#1}}}
66 {\parskip\z@\input{fnlist}}
74 \newcommand{\fnlisti}[1]{\fnref{#1}\\}
82 diff -Nur ion3-20061015.orig/doc/macros.tex ion3-20061015/doc/macros.tex
83 --- ion3-20061015.orig/doc/macros.tex 2006-10-15 20:00:50.000000000 +0200
84 +++ ion3-20061015/doc/macros.tex 2006-10-17 18:20:49.000000000 +0200
86 \usepackage[a4paper]{geometry}
90 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
97 + {\chapter}{-1}{chapter}
98 + {\@open{H1}{}}{\thechapter}{\quad}{\@close{H1}}
99 +\setcounter{tocdepth}{3}
100 +\setcounter{indexcols}{1}
101 +\renewcommand{\@table@attributes}{CELLSPACING=10 CELLPADDING=0}
109 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
113 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
117 \usepackage{listings}
128 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130 \newcommand{\spec}[1]{#1}
131 \newcommand{\indextype}[1]{\index{#1@\type{#1}}}
135 \newcommand{\key}[1]{\mbox{\textbf{#1}}}
136 \newcommand{\code}[1]{\lstinline!#1!}
137 \newcommand{\var}[1]{\lstinline!#1!}
139 \newcommand{\fnrefx}[2]{\hyperlink{fn:#1.#2}{\code{#2}}}
140 \newcommand{\fnref}[1]{\hyperlink{fn:#1}{\code{#1}}}
141 \newcommand{\myhref}[2]{\hyperlink{#1}{#2}}
149 \newcommand{\key}[1]{\textbf{#1}}
150 \newcommand{\code}[1]{\texttt{#1}}
151 \newcommand{\var}[1]{\texttt{#1}}
152 \newcommand{\command}[1]{\texttt{#1}}
154 -\newcommand{\hyperlabel}[1]{\label{#1}}
155 -\newcommand{\fnref}[1]{\htmlref{\texttt{#1}}{fn:#1}}
156 -\newcommand{\fnrefx}[2]{\htmlref{\texttt{#2}}{fn:#1.#2}}
157 -\newcommand{\myhref}[2]{\htmlref{#2}{#1}}
158 +% docode is not present nor needed in hevea
159 +\newcommand{\docode}{}
161 +\newcommand{\hyperlabel}[1]{\label{#1}}
162 +\newcommand{\fnref}[1]{\aname{fn:#1}{\texttt{#1}}}
163 +\newcommand{\fnrefx}[2]{\aname{fn:#1.#2}{\texttt{#1}}}
164 +\newcommand{\myhref}[2]{\ahref{#2}{#1}}
169 \newcommand{\tabhead}[1]{\hline #1 \\ \hline}
172 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
177 \newcommand{\funclistlabel}[1]{#1\hfill}
178 \newenvironment{function}{
190 \newenvironment{function}{
201 \newcommand{\synopsis}[1]{
203 % While rapport3/artikel3 are otherwise nice classes,
204 % itemize looks awful.
205 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
209 \renewenvironment{itemize}{%
210 \ifnum \@itemdepth >3
213 {\global\@ignoretrue \endlist}
217 diff -Nur ion3-20061015.orig/doc/Makefile ion3-20061015/doc/Makefile
218 --- ion3-20061015.orig/doc/Makefile 2006-10-15 20:00:50.000000000 +0200
219 +++ ion3-20061015/doc/Makefile 2006-10-17 18:21:16.000000000 +0200
222 ######################################
227 include $(TOPDIR)/build/system-inc.mk
232 L2H=latex2html -show_section_numbers -short_index -local_icons -noaddress \
233 -up_url http://iki.fi/tuomov/ion/ -up_title "Ion homepage" -nofootnode\
234 ## -style greyviolet.css
236 makeindex ionconf.idx
240 - $(L2H) -split 3 ionconf
242 + $(HEVEA) -fix ionconf 2>&1 | grep -v 'occuring outside math mode'
245 + cd ionconf && $(HACHA) ../ionconf.html
250 rm -f $(FNTEXES) fnlist.tex
251 rm -f *.aux *.toc *.log
252 rm -f *.idx *.ild *.ilg *.ind
253 + rm -f *.haux *.hind *.htoc *.html .log
256 rm -f *.ps *.pdf *.dvi
257 diff -Nur ion3-20061015.orig/doc/rapport3.hva ion3-20061015/doc/rapport3.hva
258 --- ion3-20061015.orig/doc/rapport3.hva 1970-01-01 01:00:00.000000000 +0100
259 +++ ion3-20061015/doc/rapport3.hva 2006-10-17 18:20:49.000000000 +0200