From 1b3a1088152ac5e2eaa4a835d536217a343a5dbc Mon Sep 17 00:00:00 2001 From: crep Date: Wed, 27 Oct 2010 21:50:17 +0200 Subject: [PATCH] Utils: add rules --- utils/latex-preprocessing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/latex-preprocessing.py b/utils/latex-preprocessing.py index 6cdbdb22..42f9ca78 100755 --- a/utils/latex-preprocessing.py +++ b/utils/latex-preprocessing.py @@ -23,8 +23,11 @@ word_dic = { "Ca ": "Ça ", "...": "\\dots ", "…": "\\dots", +#replace tabs with two spaces +" ": " ", ##: Typo "New-York": "New York", +" i ": " I ", "avant hier": "avant-hier", ##: Conversion from anglo-saxon conventions "\\[A": "\\[La",