Browse Source

included contributions of Sebastian Schoeps

replace/c24a8d1de403113542ba0936e844151de2785013
Martin Monperrus 15 years ago
parent
commit
51be608176
  1. 10
      bibtexbrowser.php

10
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();
}

Loading…
Cancel
Save