anpassung an deutsche spracheinstellung in den lyx-dokumenten
This commit is contained in:
parent
4d19119b6f
commit
acf2906f61
1 changed files with 2 additions and 5 deletions
|
@ -40,10 +40,7 @@ try:
|
|||
content=string.replace(content,footer,"")
|
||||
|
||||
#rename footnotes into Fussnoten
|
||||
#content = string.replace(content,"Footnotes","Fussnoten")
|
||||
|
||||
#rename content into Inhalt
|
||||
#content = string.replace(content,"Contents","Inhalt")
|
||||
content = string.replace(content,"Fooßnotes","Fussnoten")
|
||||
|
||||
#put whole content into div tags
|
||||
content = string.replace(content,"<BODY >",'<BODY>\n<!-- main starts here -->\n<div id="main">')
|
||||
|
@ -51,7 +48,7 @@ try:
|
|||
content = string.replace(content,"</HTML>",'<!-- end of main -->')
|
||||
|
||||
#remove empty image subtitles
|
||||
content = string.replace(content,"<STRONG>Figure:</STRONG>","")
|
||||
content = string.replace(content,"<STRONG>Abbildung:</STRONG>","")
|
||||
|
||||
#all done, writing tuned files
|
||||
writeFile(content,sys.argv[1])
|
||||
|
|
Loading…
Reference in a new issue