mod_html_files angepasst: Uebersetzungen entfernt, da diese bei korrekter lyx-Sprache unnoetig sind
This commit is contained in:
parent
dca1477be2
commit
9f3e140cc6
1 changed files with 6 additions and 3 deletions
|
@ -28,10 +28,13 @@ try:
|
||||||
f=open(sys.argv[1],"r")
|
f=open(sys.argv[1],"r")
|
||||||
content=f.read()
|
content=f.read()
|
||||||
f.close()
|
f.close()
|
||||||
#zu_manipulierende_variable=string.replace(zu_manipulierende_variable,alter_string,neuer_string)
|
|
||||||
content=string.replace(content,'Table of Contents','Inhalt')
|
|
||||||
|
|
||||||
#recently switched to latex2html, now cutting of headers
|
# zu_manipulierende_variable=string.replace(zu_manipulierende_variable,alter_string,neuer_string)
|
||||||
|
|
||||||
|
# nicht notwendig, wenn die Sprache im lyx-Dokument korrekt gesetzt ist
|
||||||
|
# content=string.replace(content,'Table of Contents','Inhalt')
|
||||||
|
|
||||||
|
# recently switched to latex2html, now cutting of headers
|
||||||
# dieser abschnitt muss ueberarbeitet werden!
|
# dieser abschnitt muss ueberarbeitet werden!
|
||||||
startoffset=string.find(content,"<HR>\n<ADDRESS>")
|
startoffset=string.find(content,"<HR>\n<ADDRESS>")
|
||||||
endoffset=string.find(content,"</ADDRESS>",startoffset)+len("</ADDRESS>")
|
endoffset=string.find(content,"</ADDRESS>",startoffset)+len("</ADDRESS>")
|
||||||
|
|
Loading…
Reference in a new issue