From 6ff55d19beaa741ae30abf92d1dd5dabfa89be92 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 12 Jun 2006 13:40:15 +0000 Subject: [PATCH] * Erzwungene Absaetze aus lyx-Dokument entfernt - html-code nun valid - dadurch wird footer korrekt platziert * Skript angepasst - Fussnoten haben nun eine id und koennen per css formatiert werden --- documents/gpg/gpg.lyx | 197 ++++++++++++++++++++---------------- documents/mod_html_files.py | 4 + 2 files changed, 116 insertions(+), 85 deletions(-) diff --git a/documents/gpg/gpg.lyx b/documents/gpg/gpg.lyx index 453f52c..5a16380 100644 --- a/documents/gpg/gpg.lyx +++ b/documents/gpg/gpg.lyx @@ -1,5 +1,7 @@ -#LyX 1.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 221 +#LyX 1.4.1 created this file. For more info see http://www.lyx.org/ +\lyxformat 245 +\begin_document +\begin_header \textclass article \begin_preamble \usepackage{hyperref} @@ -11,76 +13,113 @@ \fontscheme times \graphics default \paperfontsize default -\spacing single +\spacing single \papersize a4paper -\paperpackage a4 -\use_geometry 0 -\use_amsmath 0 -\use_natbib 0 -\use_numerical_citations 0 +\use_geometry false +\use_amsmath 1 +\cite_engine basic +\use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english -\quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default +\tracking_changes false +\output_changes true +\end_header -\layout Standard - +\begin_body +\begin_layout Standard \begin_inset ERT -status Open +status open -\layout Standard +\begin_layout Standard -\backslash + +\backslash begin{rawhtml} -\layout Standard +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Standard +
-\layout Standard +\end_layout -\backslash +\begin_layout Standard + +\end_layout + +\begin_layout Standard + + +\backslash end{rawhtml} -\end_inset +\end_layout + +\end_inset -\layout Standard - +\end_layout +\begin_layout Standard \begin_inset Include \input{menue.inc} preview false -\end_inset +\end_inset -\layout Standard - +\end_layout +\begin_layout Standard \begin_inset ERT -status Open +status open -\layout Standard +\begin_layout Standard -\backslash + +\backslash begin{rawhtml} -\layout Standard +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Standard +
-\layout Standard +\end_layout -\backslash +\begin_layout Standard + +\end_layout + +\begin_layout Standard + + +\backslash end{rawhtml} -\end_inset +\end_layout + +\end_inset -\layout Title +\end_layout +\begin_layout Title Installation von GnuPG -\layout Standard +\end_layout +\begin_layout Standard GnuPG oder kurz gpg ist das Programm, mit dem deine Daten verschlüsselt und signiert werden. Es ist ein Kommandozeilenprogramm. @@ -88,90 +127,78 @@ GnuPG oder kurz gpg ist das Programm, mit dem deine Daten verschl Ein exzellentes ist z.B. Enigmail. Damit du später Enigmail nutzen kannst, musst du nun erstmal gpg installieren. -\layout Standard +\end_layout +\begin_layout Standard Wie bei der Thunderbird Installation kannst du die passende Anleitung für dein Betriebssystem auswählen: -\layout Itemize - +\end_layout +\begin_layout Itemize \begin_inset ERT -status Collapsed +status collapsed -\layout Standard +\begin_layout Standard -\backslash + +\backslash htmladdnormallink{Installation in Linux}{gpg_installation_linux.html} -\end_inset +\end_layout + +\end_inset -\layout Itemize - +\end_layout +\begin_layout Itemize \begin_inset ERT -status Collapsed +status collapsed -\layout Standard +\begin_layout Standard -\backslash + +\backslash htmladdnormallink{Installation in Windows}{gpg_installation_win.html} -\end_inset +\end_layout + +\end_inset -\layout Itemize - +\end_layout +\begin_layout Itemize \begin_inset ERT -status Collapsed +status collapsed -\layout Standard +\begin_layout Standard -\backslash + +\backslash htmladdnormallink{Installation in Mac OS X}{gpg_installation_macos.html} -\end_inset +\end_layout + +\end_inset -\layout Standard +\end_layout +\begin_layout Standard Wenn gpg auf deinem Computer schon installiert ist, kannst du auch gleich zur \begin_inset ERT -status Open +status open -\layout Standard +\begin_layout Standard -\backslash + +\backslash htmladdnormallink{Enigmail Installation}{enigmail.html} -\end_inset +\end_layout + +\end_inset springen. - -\newline +\end_layout -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\newline - -\the_end +\end_body +\end_document diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index fb4e816..0de05c0 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -49,6 +49,10 @@ try: # replace "./filename.png" references with "filename.png" # (this avoids validation warnings) content = string.replace(content,'HREF="./','HREF="') + + # Unnoetige Linien vor den Fussnoten wird entfernt + # Fussnoten bekommen id, damit sie per css formatierbar sind + content = string.replace(content,'

Fußnoten

\n
','

Fußnoten

\n
') #all done, writing tuned files writeFile(content,sys.argv[1])