diff --git a/songbook/build.py b/songbook/build.py index 8ba065ea..e8ad8592 100644 --- a/songbook/build.py +++ b/songbook/build.py @@ -179,7 +179,6 @@ def buildsongbook(sb, basename, library): # Make index sxdFiles = glob.glob("%s_*.sxd" % basename) - print sxdFiles for sxdFile in sxdFiles: print "processing " + sxdFile idx = processSXD(sxdFile) diff --git a/songbook/plastex-patchedbabel.py b/songbook/plastex-patchedbabel.py index abfe920f..5d39fa62 100644 --- a/songbook/plastex-patchedbabel.py +++ b/songbook/plastex-patchedbabel.py @@ -4,7 +4,7 @@ """Patch pour le paquet Babel de PlasTeX Un bug dans PlasTeX intervient lorsqu'on essaye d'analyser une commande LaTeX -\selectlanguage{}, que nouv voulons utiliser ici. Un patch a été proposé aux +\selectlanguage{}, que nous voulons utiliser ici. Un patch a été proposé aux développeurs de plasTeX, et accepté. Mais il faut que cette correction arrive en production. En attendant, nous utilisons cette version modifiée. diff --git a/songbook/plastex.py b/songbook/plastex.py index 245974c4..c326d600 100755 --- a/songbook/plastex.py +++ b/songbook/plastex.py @@ -53,7 +53,7 @@ def parsetex(filename): # To see if you can delete those lines, set your LC_TIME locale to French, # during a month containing diacritics (e.g. Février), and run songbook. If # no plasTeX bug appears, it is safe to remove those lines. - oldlocale = locale.getlocale() + oldlocale = locale.getlocale(locale.LC_TIME) locale.setlocale(locale.LC_TIME, 'C') # plasTeX patch END */