diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 45d0c3e..ae5b1cb 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -740,6 +740,10 @@ function latex2html($line) { $line = str_replace('\\c{C}','Ç', $line); $line = str_replace('\\cc','ç', $line); $line = str_replace('\\cC','Ç', $line); + $line = str_replace('\\c c','ç', $line); + $line = str_replace('\\c C','Ç', $line); + $line = str_replace('\\ae','æ', $line); + $line = str_replace('\\ss','ß', $line); $line = str_replace('\\o','ø', $line); $line = str_replace('\\O','Ø', $line); @@ -865,7 +869,9 @@ class BibEntry { if ($this->getType()=="mastersthesis") { return $this->getField(SCHOOL); } - + if ($this->getType()=="bachelorsthesis") { + return $this->getField(SCHOOL); + } if ($this->getType()=="techreport") { return $this->getField("institution"); } @@ -1796,7 +1802,7 @@ class AcademicDisplay extends BibtexBrowserDisplay { $this->search2html(array(Q_TYPE=>'inproceedings',Q_SEARCH=>'workshop'),'Refereed Workshop Papers'); // misc and thesis - $this->search2html(array(Q_TYPE=>'misc|phdthesis|mastersthesis|techreport'),'Other Publications'); + $this->search2html(array(Q_TYPE=>'misc|phdthesis|mastersthesis|bachelorsthesis|techreport'),'Other Publications'); echo $this->poweredby(); }