diff --git a/cd-template/doku/cryptocd.css b/cd-template/doku/cryptocd.css index f4de05e..0c6282d 100644 --- a/cd-template/doku/cryptocd.css +++ b/cd-template/doku/cryptocd.css @@ -133,6 +133,12 @@ caption { letter-spacing: 0.1em; } +#footnotes { + font-size: small; + margin-top: 3em; + padding-left: 1em; +} + /* Footer */ /* Fix fuer den IE, damit der footer zentriert wird */ diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index c481c08..f83b4ff 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -50,9 +50,15 @@ try: # (this avoids validation warnings) content = string.replace(content,'HREF="./','HREF="') + # Fussnoten finden und Ende ersetzen + fussnoten = string.find(content,"

Fußnoten

") + startoffset = string.find(content,"\n

",fussnoten) + endoffset = startoffset + len("\n

") + content = content[:startoffset] + "\n" + content[endoffset:] + # Linie vor Fussnoten wird entfernt # Fussnoten bekommen id, damit sie per css formatierbar sind - content = string.replace(content,'

Fußnoten

\n
','

Fußnoten

\n
') + content = string.replace(content,'

Fußnoten

','\n
\n

Fußnoten

') # Sonderzeichen in Fussnoten werden ersetzt (Hotfix fuer einen latex2html-Bug) content = string.replace(content,'ä','ä')