]> git.immae.eu Git - perso/Immae/Projets/Scripts/Public.git/blobdiff - parse_bibtex_html
Add configuration examples for script
[perso/Immae/Projets/Scripts/Public.git] / parse_bibtex_html
index 35575723bd922beed1b666fbb1e893b2fcee3630..9ee6e8def6f9901917a3351547727fed6e6a4b62 100755 (executable)
@@ -106,10 +106,10 @@ sub echap {
 
     $t =~ s/{?\\~n}?/ñ/g;
 
-    $t =~ s/{?\\c{?c}?}? ?/ç/g;
-    $t =~ s/{?\\'{?c}?}? ?/ć/g;
+    $t =~ s/{?\\c\{?c\}?}? ?/ç/g;
+    $t =~ s/{?\\'\{?c\}?}? ?/ć/g;
 
-    $t =~ s/{?\\v{? ?s}?}? ?/š/g;
+    $t =~ s/{?\\v\{? ?s\}?}? ?/š/g;
 
     $t =~ s/{?\^({[^}]+}|.)}?/<sup>$1<\/sup>/g;
     $t =~ s/{(.*)}/$1/g;