Changeset 32129 for main/trunk/greenstone2/perllib/plugins/BibTexPlugin.pm
- Timestamp:
- 2018-02-13T10:38:29+13:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BibTexPlugin.pm
r32122 r32129 704 704 705 705 # remove {} around a single character (eg \'{e}) 706 $text =~ s@(\\[`'="^~\.]) {(\w)}@{$1$2}@g; #`706 $text =~ s@(\\[`'="^~\.])\{(\w)}@{$1$2}@g; #` 707 707 708 708 # \, is another way of doing cedilla \c … … 711 711 # remove {} around a single character for special 1 letter commands - 712 712 # need to insert a space. Eg \v{s} -> {\v s} 713 $text =~ s@(\\[uvcH]) {(\w)}@{$1 $2}@g;713 $text =~ s@(\\[uvcH])\{(\w)}@{$1 $2}@g; 714 714 715 715 # only do if the text contains a '\' character.
Note:
See TracChangeset
for help on using the changeset viewer.