diff --git a/ccd-infos/policy_formatierung.lyx b/ccd-infos/policy_formatierung.lyx index f6cfe3a..546d579 100644 --- a/ccd-infos/policy_formatierung.lyx +++ b/ccd-infos/policy_formatierung.lyx @@ -119,31 +119,6 @@ textit > \layout Subsubsection -Links werden nur umgewandelt, wenn -\layout Standard - -die lyx-Datei folgende Preamble definiert hat: ' -\backslash -usepackage{html}' und ' -\backslash -usepackage{hyperref}'. - Hinzufügen kannst du diese unter Layout --> Document --> Preamble. -\layout Standard - -einen Link erzeugst du mit einer ERT-Umgebung (tex-Kommandos) mit folgendem - Inhalt: -\begin_inset ERT -status Open - -\layout Standard - -\backslash -htmladdnormallink{Beschreibung}{Adresse} -\end_inset - - -\layout Subsubsection - Bilder zentriert mit Beschreibung darstellen \layout Standard @@ -161,7 +136,7 @@ collapsed false \begin_inset Graphics - filename doku/_bilder/winpt_systray.png + filename /home/phil/daten/sao/svn/cryptocd/trunk/documents/winpt/winpt_systray.png \end_inset @@ -193,4 +168,82 @@ Men Das Bild wird im html innerhalb einer Tabelle dargestellt - diese ist genauso breit wie das Bild selber. Lange Beschreibungen werden also umgebrochen, was mitunter unschön aussieht. +\layout Subsection + +latex2html - Einstellungen und Formatierungen +\layout Standard + +Damit der latex2html-Konverter ein tex-Dokument korrekt umwandelt, muss + zuerst in Menü +\emph on +Layout --> Document --> Preamble +\emph default + folgendes eingetragen werden: +\layout Itemize + + +\backslash +usepackage{html} +\layout Itemize + + +\backslash +usepackage{hyperref} +\layout Standard + +Bestimmte Formatierungen werden nur umgewandelt, wenn sie dem Konverter + direkt übergeben werden. + Das erfordert die Eingabe von sogenannten +\emph on +Evil Red Text (ERT) +\emph default +. + Dieses Erfolgt über das Menü und den Button +\emph on +TEX +\emph default +. +\layout Standard + +Eine Dokumentation zu den latex2html-Befehlen findest du unter +\emph on +http://www-texdev.mpce.mq.edu.au/l2h/docs/manual/ +\emph default +. +\layout Subsubsection + +Links einfügen +\layout Standard + + +\begin_inset ERT +status Open + +\layout Standard + +\backslash +htmladdnormallink{Beschreibung}{Adresse} +\end_inset + + +\layout Subsubsection + +Eine horizontale Linie einfügen +\layout Standard + +Die Dokumentation enthält zusätzliche Optionen zur Formatierung einer Linie. + Ohne Optionen wird sie wie folgt dargestellt: +\layout Standard + + +\begin_inset ERT +status Open + +\layout Standard + +\backslash +htmlrule +\end_inset + + \the_end diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index 359c48b..751efbf 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -49,7 +49,7 @@ try: content=string.replace(content,footer,"") #rename footnotes into Fussnoten - content = string.replace(content,"Footnotes","Fussnoten") + #content = string.replace(content,"Footnotes","Fussnoten") #rename content into Inhalt content = string.replace(content,"Contents","Inhalt")