--- MPIWGWeb/bibliography.py 2005/11/22 17:58:27 1.7.2.4 +++ MPIWGWeb/bibliography.py 2005/11/23 14:05:10 1.7.2.6 @@ -40,7 +40,10 @@ def formatBiblHelp(self,found,table,id,f ret+=": "+foundIB.pages+"." elif foundIB.reference_type.lower()=='edited book': - ret+=CRListToSemicolon(foundIB.author)+" (Editor/s). "+foundIB.title+"." + if foundIB.author: + ret+=CRListToSemicolon(foundIB.author)+" (Editor/s)." + if foundIB.title and (not foundIB.title==""): + ret+=""+foundIB.title+"." if foundIB.place_published and (not foundIB.place_published==''): ret+=foundIB.place_published+": " if foundIB.publisher and (not foundIB.publisher==''): @@ -59,7 +62,8 @@ def formatBiblHelp(self,found,table,id,f if foundIB.publisher and (not foundIB.publisher==''): ret+=foundIB.publisher+", " ret+=getBib(foundIB.year)+"." - + + elif foundIB.reference_type.lower()=='book': ret+=getBib(CRListToSemicolon(foundIB.author))+". "+getBib(foundIB.title)+". " if foundIB.pages and (not foundIB.pages==''):