From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Bibtex and latex export Date: Thu, 07 Oct 2010 15:29:56 +0100 Message-ID: <87vd5edqjf.wl%ucecesf@ucl.ac.uk> 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> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Thu_Oct__7_15:29:56_2010-1" Return-path: Received: from [140.186.70.92] (port=59554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3rTz-00055o-Ba for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 10:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3rTy-0007jJ-0k for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 10:30:07 -0400 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:64464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3rTx-0007j5-So for emacs-orgmode@gnu.org; Thu, 07 Oct 2010 10:30:05 -0400 In-Reply-To: <21850.1286461345@gamaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --Multipart_Thu_Oct__7_15:29:56_2010-1 Content-Type: text/plain; charset=US-ASCII On Thu, 07 Oct 2010 10:22:25 -0400, Nick Dokos wrote: > > Eric S Fraga wrote: > > > : (setq org-latex-to-pdf-process '("sh -x /usr/bin/texi2dvi -p -b -c -V %f")) > > > > the following is a snippet of the output: > > > > ,---- > > | + echo /home/ucecesf/s/teaching/cape/lectures/matlab.tex+ egrep ^(/|[A-z]:/) > > | egrep: Invalid range end > > | + command_line_filename=.//home/ucecesf/s/teaching/cape/lectures/matlab.tex > > | + test -r .//home/ucecesf/s/teaching/cape/lectures/matlab.tex > > | + error 1 cannot read .//home/ucecesf/s/teaching/cape/lectures/matlab.tex, skipping. > > `---- > > > > What's that '+' sign at the end of the path? I think that's "sh -x" indicating a | between commands; it's not actually in the file name. Mind you, even if it were part of the file name, things should work (well, maybe not latex itself...). > > I don't understand why the egrep is failing although it definitely has > > something to do with A-z range; if I try the egrep at the shell and > > use "A-Za-z" instead of "A-z", the command works fine. Does it work > > for anybody else on Linux? > > > I'm using en_US.UTF-8 on Ubuntu 8.10 and it seems to work for me. Interesting. > The regexp does look funny: there are non-letters included in the > range and it may be that different versions of egrep are more or less > strict in checking it. I would change the texi2dvi script to use [A-Za-z] > and submit a bug report to texinfo. 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! > You can always change the LOCALE just for the texi2dvi invocation. > I believe that the following works (untested): > > LANG=C texi2dvi .... > > or maybe > > LC_ALL=C texi2dvi ... but this may have unexpected side effects? I'm not sure if any of the latex suite use the locale... Thanks again, eric --Multipart_Thu_Oct__7_15:29:56_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Thu_Oct__7_15:29:56_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Thu_Oct__7_15:29:56_2010-1--