From mboxrd@z Thu Jan  1 00:00:00 1970
From: Achim Gratz <Stromeko@nexgo.de>
Subject: Re: Karl Berry: Re: Nick Dokos: texi2dvi egrep regexp
Date: Sat, 09 Oct 2010 18:59:52 +0200
Message-ID: <87fwwfuws7.fsf@Rainer.invalid>
References: <17038.1286563867@gamaville.dokosmarshall.org>
	<AANLkTikVGwLzqzfUpPMhPu8fE6Y8xLwTbDpSE2be37Jy@mail.gmail.com>
	<87sk0fk6eo.wl%ucecesf@ucl.ac.uk>
	<3B502F70-93E5-485E-B4B9-4850A06B7925@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from [140.186.70.92] (port=48419 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1P4d1U-00087Q-P9
	for emacs-orgmode@gnu.org; Sat, 09 Oct 2010 13:15:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1P4cmG-0002BZ-9o
	for emacs-orgmode@gnu.org; Sat, 09 Oct 2010 13:00:09 -0400
Received: from lo.gmane.org ([80.91.229.12]:46219)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1P4cmG-0002B3-3t
	for emacs-orgmode@gnu.org; Sat, 09 Oct 2010 13:00:08 -0400
Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1P4cmB-0005YO-RN
	for emacs-orgmode@gnu.org; Sat, 09 Oct 2010 19:00:03 +0200
Received: from p57aab183.dip.t-dialin.net ([87.170.177.131])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Sat, 09 Oct 2010 19:00:03 +0200
Received: from Stromeko by p57aab183.dip.t-dialin.net with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <emacs-orgmode@gnu.org>; Sat, 09 Oct 2010 19:00:03 +0200
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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

Carsten Dominik <carsten.dominik@gmail.com> writes:
> I am looking for a way out which will allow pdf compilation of Org
> work out of the box, and still allow texi2dvi to be used where possible.

All is well as long as GNU grep is not at version 2.6 or later, so maybe
check for that first.  Even for later versions it likely only breaks
when the sort order is set to sort lower case letters before upper case
ones _and_ grep produces an error code on that rather than silently
reversing the range expression as it apparently did until version 2.5.

> 1.  I could set the environment variable LC_ALL
>    for the duration of the texi2dvi command to some value
>    like C?  That should fix the egrep call, but could
>    it have adverse effects on the pdflatex and bibtex runs or
>    any other stuff used in texi2dvi?

That would most likely wreak serious havoc with path / file names that
contain UTF-8 characters if they are not just passed through.  But one
could use LC_COLLATE=C (or LC_COLLATE=POSIX) in the environment that
calls texi2dvi and that should fix it.  Maybe someone with one of the
newer grep versions could try it and report if this indeed helps.


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds