From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Bibtex and latex export Date: Thu, 07 Oct 2010 19:30:53 +0200 Message-ID: <878w29ucz6.fsf@Rainer.invalid> References: <4C9122FE.1080306@ccbr.umn.edu> <87aamra78p.fsf@mundaneum.com> <87pqvntldc.wl%ucecesf@ucl.ac.uk> <87d3rni6ea.fsf@Rainer.invalid> <87mxqqpjcf.wl%ucecesf@ucl.ac.uk> <18908.1286458199@gamaville.dokosmarshall.org> <87zkuqdrzr.wl%ucecesf@ucl.ac.uk> <21850.1286461345@gamaville.dokosmarshall.org> <87vd5edqjf.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33969 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3uJJ-0005Fl-23 for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 13:31:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3uJG-0003E7-H5 for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 13:31:16 -0400 Received: from lo.gmane.org ([80.91.229.12]:53618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3uJG-0003DE-B6 for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 13:31:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P3uJ8-0003jG-Ty for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 19:31:06 +0200 Received: from p57aade47.dip.t-dialin.net ([87.170.222.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 19:31:06 +0200 Received: from Stromeko by p57aade47.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 19:31:06 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric S Fraga writes: > I think I will do so. The thing is that the check is very much for > DOS file names so I don't actually care what that part of the regex is > doing! Since texi2dvi is not fixing a locale this is clearly a bug that you should report. It should use character classes instead. Why your version of egrep complains about the range expression is not clear to me (it may be locale dependent behaviour, but not syntactically an invalid range expression), but you could check LC_COLLATE if "z" gets sorted before "A". I have an older version of egrep that will simply ignore the range in this case and never match, but it certainly doesn't throw an error. Maybe this was changed to weed out bad regex's... :-) > but this may have unexpected side effects? I'm not sure if any of the > latex suite use the locale... I'd be wary of that, too. If anything you might precede just the call to egrep by "LC_ALL=C". Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables