diff --git a/doc/Makefile b/doc/Makefile index 65f53784..36bdfccf 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,13 +2,17 @@ SRC = guide_en.tex wmii.tex Odvi = ${SRC:.tex=.dvi} Opdf = ${SRC:.tex=.pdf} +Ohtml = ${SRC:.tex=.html} -all: ${Odvi} ${Opdf} - @echo finished doc +all: ${Odvi} ${Opdf} #${Ohtml} %.dvi: %.tex latex -interaction=batchmode $< latex -interaction=batchmode $< %.pdf: %.tex pdflatex $< + pdflatex $< +%.html: %.tex + latex2html $< clean: rm -f *.pdf *.dvi *.log *.aux *.out *.toc + rm -rf guide_en diff --git a/doc/guide_en.tex b/doc/guide_en.tex index 83eb19f1..8b05534d 100644 --- a/doc/guide_en.tex +++ b/doc/guide_en.tex @@ -18,14 +18,21 @@ \documentclass[12pt,a4paper]{article} %options given to article are inherited to all packages \usepackage[latin1]{inputenc} \usepackage[left=3cm,top=2cm,right=2cm,bottom=3cm]{geometry} -%\usepackage[dvipdfm]{hyperref} %uncomment to disable clickable links %\usepackage{ngerman} \usepackage{times} \usepackage{indentfirst,html,moreverb} % remove this if you want, it's just a matter of imposed imperialist cultures -% so if I'm given the chance to choose i choose to indent the first paragraph +% so if I'm given the chance to choose I choose to indent the first paragraph % (I learn this way in the school, and don't want to relearn the british way) -\newcommand{\hrefx}[1]{\href{#1}{#1}} % hrefs and 's' for simple and explicit + +%% welcome to the the dirty hacks section +\newcommand{\hrefx}[1]{\href{#1}{#1}} % explicit \href +% un'% below so latex2html can handle refs correctly (until a better solution is found) +%\renewcommand{\href}[2]{\htmladdnormallink{#2}{#1}} +%\renewcommand{\hrefx}[1]{\htmladdnormallink{#1}{#1}} +%\renewcommand{\verbatiminput}[1]{\input{#1}} +%\usepackage[dvipdfm]{hyperref} % disable clickable refs + \newenvironment{itemize*} {\begin{itemize} \setlength{\itemsep}{0pt}