summaryrefslogtreecommitdiffstats
path: root/src/bib2xhtml.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/bib2xhtml.pl')
-rwxr-xr-xsrc/bib2xhtml.pl29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/bib2xhtml.pl b/src/bib2xhtml.pl
index 146435f..da6dc62 100755
--- a/src/bib2xhtml.pl
+++ b/src/bib2xhtml.pl
@@ -88,6 +88,35 @@ sub html_ent {
s/\\([cC]hi)\b/&$1;/g;
s/\\([pP]si)\b/&$1;/g;
s/\\([oO]mega)\b/&$1;/g;
+ s/\\S\b/§/g;
+ s/^\\circ\b/°/g;
+ s/\\infty\b/∞/g;
+ s/\\emptyset\b/∅/g;
+ s/\\pm\b/±/g;
+ s/\\times\b/×/g;
+ s/\\cdot\b/⋅/g;
+ s/\\partial\b/∂/g;
+ s/\\nabla\b/∇/g;
+ s/\\surd\b/√/g;
+ s/\\perp\b/⊥/g;
+ s/\\sum\b/∑/g;
+ s/\\int\b/∫/g;
+ s/\\prod\b/∏/g;
+ s/\\sim\b/∼/g;
+ s/\\approx\b/≈/g;
+ s/\\ne\b/≠/g;
+ s/\\equiv\b/≡/g;
+ s/\\propto\b/∝/g;
+ s/\\le\b/≤/g;
+ s/\\ge\b/≥/g;
+ s/\\leftarrow\b/←/g;
+ s/\\rightarrow\b/→/g;
+ s/\\in\b/∈/g;
+ s/\\notin\b/∉/g;
+ s/\\lceil\b/⌈/g;
+ s/\\rceil\b/⌉/g;
+ s/\\lfloor\b/⌊/g;
+ s/\\rfloor\b/⌋/g;
}
foreach (@ARGV) {
if (/\.bib$/) {