Author: mwiegand
Date: 2008-10-21 10:02:48 +0200 (Tue, 21 Oct 2008)
New Revision: 1589

Modified:
   trunk/openvas-compendium/ChangeLog
   trunk/openvas-compendium/Makefile
   trunk/openvas-compendium/openvas-compendium.de.tex
Log:
Created de-html target to make building of an HTML version of the
German compendium possible.

* openvas-compendium.de.tex: Fixed a few bugs that blocked the
hyperhtml build process.

* Makefile: Updated to support de-html target.


Modified: trunk/openvas-compendium/ChangeLog
===================================================================
--- trunk/openvas-compendium/ChangeLog  2008-10-21 07:56:57 UTC (rev 1588)
+++ trunk/openvas-compendium/ChangeLog  2008-10-21 08:02:48 UTC (rev 1589)
@@ -1,3 +1,13 @@
+2008-10-21  Michael Wiegand <[EMAIL PROTECTED]>
+
+       Created de-html target to make building of an HTML version of the
+       German compendium possible.
+
+       * openvas-compendium.de.tex: Fixed a few bugs that blocked the
+       hyperhtml build process.
+
+       * Makefile: Updated to support de-html target.
+
 2008-10-20  Michael Wiegand <[EMAIL PROTECTED]>
 
        Post release version bump.

Modified: trunk/openvas-compendium/Makefile
===================================================================
--- trunk/openvas-compendium/Makefile   2008-10-21 07:56:57 UTC (rev 1588)
+++ trunk/openvas-compendium/Makefile   2008-10-21 08:02:48 UTC (rev 1589)
@@ -26,6 +26,7 @@
 DOC_DIR=/usr/local/share/doc/OpenVAS
 INSTALL_DIR=/usr/bin/install -c -d
 INSTALL=/usr/bin/install -c
+HTML_DIR=html
 
 latexfile = openvas-compendium
 TEX = latex
@@ -79,13 +80,13 @@
 
 hyperhtml:
        $(HYPERLATEX) $(latexfile)
-       for f in `ls html/*.html` ; do sed -e 
"s/file:\/usr\/share\/hyperlatex\/icons\///g" -e "s/\.\.\/images/images/g" $$f 
> $$f.tmp ; mv $$f.tmp $$f ; done
-       cp /usr/share/hyperlatex/icons/previous.png html
-       cp /usr/share/hyperlatex/icons/next.png html
-       cp /usr/share/hyperlatex/icons/up.png html
-       cp /usr/share/hyperlatex/icons/blank.png html
-       mkdir -p html/images
-       cp images/*.png html/images
+       for f in `ls $(HTML_DIR)/*.html` ; do sed -e 
"s/file:\/usr\/share\/hyperlatex\/icons\///g" -e "s/\.\.\/images/images/g" $$f 
> $$f.tmp ; mv $$f.tmp $$f ; done
+       cp /usr/share/hyperlatex/icons/previous.png $(HTML_DIR)
+       cp /usr/share/hyperlatex/icons/next.png $(HTML_DIR)
+       cp /usr/share/hyperlatex/icons/up.png $(HTML_DIR)
+       cp /usr/share/hyperlatex/icons/blank.png $(HTML_DIR)
+       mkdir -p $(HTML_DIR)/images
+       cp images/*.png $(HTML_DIR)/images
 
 ps: dvi
        $(PS) $(latexfile).dvi
@@ -98,11 +99,11 @@
 install: pdf hyperhtml
        test -d ${DOC_DIR} || $(INSTALL_DIR) -m 755 ${DOC_DIR}
        $(INSTALL) -m 644 openvas-compendium.pdf ${DOC_DIR}/
-       test -d ${DOC_DIR}/html/ || $(INSTALL_DIR) -m 755 ${DOC_DIR}/html
-       $(INSTALL) -m 644 html/* ${DOC_DIR}/html
+       test -d ${DOC_DIR}/$(HTML_DIR)/ || $(INSTALL_DIR) -m 755 
${DOC_DIR}/$(HTML_DIR)
+       $(INSTALL) -m 644 $(HTML_DIR)/* ${DOC_DIR}/$(HTML_DIR)
 
 clean:
-       rm -rf *.aux *.toc *.dvi *.ps *.log *.pdf html/ images/*eps
+       rm -rf *.aux *.toc *.dvi *.ps *.log *.pdf $(HTML_DIR)/ images/*eps
 
 distclean: clean
 
@@ -122,3 +123,7 @@
 
 de-pdf: latexfile = openvas-compendium.de
 de-pdf: pdf
+
+de-html: latexfile=openvas-compendium.de
+de-html: HTML_DIR=html-de
+de-html: hyperhtml

Modified: trunk/openvas-compendium/openvas-compendium.de.tex
===================================================================
--- trunk/openvas-compendium/openvas-compendium.de.tex  2008-10-21 07:56:57 UTC 
(rev 1588)
+++ trunk/openvas-compendium/openvas-compendium.de.tex  2008-10-21 08:02:48 UTC 
(rev 1589)
@@ -17,8 +17,8 @@
 
 \documentclass[a4paper,11pt,twoside,titlepage,dvips]{scrbook}
 % German hyphenation
-\usepackage[ngerman]{babel}
 \usepackage{hyperlatex}
+\T\usepackage[ngerman]{babel}
 \usepackage{a4wide}
 \usepackage{times}
 \usepackage[latin1]{inputenc}
@@ -31,7 +31,7 @@
 \usepackage{fancyhdr}
 %\W\usepackage{rhxpanel}
 \W\usepackage{sequential}
-\W\htmldirectory{./html}
+\W\htmldirectory{./html-de}
 
 
 
@@ -77,9 +77,10 @@
 OpenVAS Kompendium}
 
 \author{\htmlonly{\xml{p}\small
-\xlink{List of PDF Download 
Versions}{http://wald.intevation.org/frs/?group_id=29}\xml{br}
+\xlink{Download des Kompendiums als
+PDF}{http://wald.intevation.org/frs/?group_id=29}\xml{br}
 %To \xlink{OpenVAS online Compendium}{openvas-compendium.html}\xml{br}
-To \xlink{OpenVAS Homepage}{http://www.openvas.org/}\xml{p}
+Zur \xlink{OpenVAS-Website}{http://www.openvas.org/}\xml{p}
 }%
 Eine Ver�ffentlichung des OpenVAS Projektes\\
   \small Autoren der englischen Version: Jan-Oliver Wagner, Michael Wiegand, 
Tim
@@ -257,7 +258,7 @@
 \chapter{Planung eines OpenVAS-basierten Netzwerk Audits}
 \compendiumauthor{Jan-Oliver Wagner}
 
-\xname{analyse-der-abdeckung-der-verf�gbaren-sicherheitstests}
+\xname{analyse-der-abdeckung-der-verfuegbaren-sicherheitstests}
 \section{Analyse der Abdeckung der verf�gbaren Sicherheitstests}
 \label{sec:NVT feed}
 
@@ -1658,6 +1659,7 @@
 Zugriffsregel, von der Wissensbasis gel�ste Scans) werden sp�ter im Kapitel 
�ber
 spezielle Funktionen erl�utert
 
+\xname{scan-optionen-allgemein}
 \subsection{Allgemein}
 
 Diese Karte enth�lt alle allgemeinen Scan-Einstellungen, vergleichen Sie dazu
@@ -2018,6 +2020,7 @@
 
 Folgende Einstellungen sind verf�gbar:
 
+\xname{benutzerschnittstelle}
 \subsection{Benutzerschnittstelle}
 
 \paragraph{Automatisches Aufklappen der Baumelemente}
@@ -2038,6 +2041,7 @@
 sinnvoller sein; etwa wenn Sie sich einen �berblick verschaffen wollen, welche
 Rechner in Ihrem Netzwerk einen m�glicherweise anf�lligen Dienst anbieten.
 
+\xname{verbindung-mit-dem-openvas-server}
 \subsection{Verbindung mit dem OpenVAS Server}
 
 \paragraph{Automatisch verbinden}
@@ -4244,7 +4248,7 @@
 Der Ablauf der Abstimmung ist noch nicht vollst�ndig formalisiert und kann sich
 �ndern; Ideen oder Anregungen sind herzlich willkommen.
 
-\xname{patches erstellen}
+\xname{patches-erstellen}
 \section{Patches erstellen}
 
 Falls Sie einen Fehler im OpenVAS-Quelltext gefunden (und beseitigt) haben,
@@ -4296,7 +4300,7 @@
 unkoordinierte �nderungen k�nnen dazu f�hren, dass Ihre �nderungen von anderen
 Entwicklern wieder r�ckg�ngig gemacht (``reverted'') werden.
 
-\xname{changelog-f�hren}
+\xname{changelog-fuehren}
 \section{ChangeLog f�hren}
 
 In jedem Hauptmodul von OpenVAS wird im Wurzelverzeichnis ein ChangeLog
@@ -5227,5 +5231,5 @@
 \end{latexonly}
 
 \W \hyperurl{http://creativecommons.org/licenses/by-sa/3.0/}
-\W \xname{footnotes}
+\W \xname{fussnoten}
 \end{document}

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to