Changeset 31780 for main/trunk/greenstone2/perllib/plugins/BibTexPlugin.pm
- Timestamp:
- 2017-07-07T19:19:14+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BibTexPlugin.pm
r31492 r31780 791 791 792 792 # quoted { } chars 793 $text =~ s@\\ {@{@g;793 $text =~ s@\\\{@{@g; 794 794 $text =~ s@\\}@}@g; 795 795 … … 805 805 806 806 $text =~ s@\\infty@infinity@g; # or unicode 0x221E... 807 $text =~ s@\^ {(.*?)}@<sup>$1</sup>@g; # superscript807 $text =~ s@\^\{(.*?)}@<sup>$1</sup>@g; # superscript 808 808 $text =~ s@\^([^\{])@<sup>$1</sup>@g; 809 $text =~ s@\_ {(.*?)}@<sub>$1</sub>@g; # subscript809 $text =~ s@\_\{(.*?)}@<sub>$1</sub>@g; # subscript 810 810 $text =~ s@\_([^\{])@<sub>$1</sub>@g; 811 811
Note:
See TracChangeset
for help on using the changeset viewer.