diff --git a/cd-template/doku/cryptocd.css b/cd-template/doku/cryptocd.css index 4dcfb57..f020d5b 100644 --- a/cd-template/doku/cryptocd.css +++ b/cd-template/doku/cryptocd.css @@ -41,7 +41,7 @@ blockquote { font-style: italic; } -/* Bildbeschreibung */ +/* Bildbeschreibungen*/ caption { font-size: small; } diff --git a/documents/Makefile b/documents/Makefile index 01d40f0..2384eb9 100644 --- a/documents/Makefile +++ b/documents/Makefile @@ -7,7 +7,7 @@ TARGET_FILES := $(foreach dir,$(DOCUMENT_NAMES),_output/$(dir).html) ASC_FILES := $(wildcard *.asc) LINE_STATUS = offline -LATEX2HTMLPREFIX := -no_auto_link -split 0 -no_navigation -no_subdir -dir _output -info 0 -style cryptocd.css -local_icons +LATEX2HTMLPREFIX := -no_auto_link -split 0 -no_navigation -no_subdir -dir _output -info 0 -style cryptocd.css -local_icons -address 0 .PHONY : clean online offline clean-targets install @@ -34,7 +34,7 @@ offline: LINE_STATUS=offline online offline: clean-targets $(TARGET_FILES) $(TARGET_FILES): $(HTML_FILES) $(ASC_FILES) - cat nav.$(LINE_STATUS).asc $(notdir $(basename $@))/$(notdir $@) footer.asc >$@ + cat nav.$(LINE_STATUS).asc $(notdir $(basename $@))/$(notdir $@) >$@ # create tex files from lyx diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index 751efbf..19becc9 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -30,18 +30,9 @@ try: f.close() #zu_manipulierende_variable=string.replace(zu_manipulierende_variable,alter_string,neuer_string) content=string.replace(content,'Table of Contents','Inhalt') - # now cut off the hevea footer: - footer="""
-
This document was translated from LATEX by -HEVEA. -
""" - content=string.replace(content,footer,"") - #hevea inserts font tags, and - #we don't want none fuken redneck messin wid our stylez!!@!#$!!1 - content = string.replace(content,'','') - content = string.replace(content,'','') - #recently switched to latex2html, now cutting of headers + #recently switched to latex2html, now cutting of headers + # dieser abschnitt muss ueberarbeitet werden! startoffset=string.find(content,"
\n
") endoffset=string.find(content,"
",startoffset)+len("") if (startoffset >10) and (endoffset>startoffset): @@ -49,16 +40,13 @@ 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") - #delete everything till tag - #content = content[string.find(content,""):] - #put whole content into div tags - content = string.replace(content,"",'\n
') + content = string.replace(content,"",'\n\n
') content = string.replace(content,"",'
') content = string.replace(content,"",'')