[Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Achim Gratz
Nick Dokos writes: > I also found out to my surprise from the previously posted bug-texinfo > thread, that the ASCII characters between 'Z' and 'a' are (or were) legal > drive letters, but the assumption is that nobody would be so foolish as > to use them any more, so not checking for them is OK.

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Nick Dokos
Achim Gratz wrote: > Otherwise you can't really use range expressions or character classes at > all since they either permit illegal drive letters or might not work > with due to the bugs in older versions of grep... it would however be > possible to spell out each drive letter bot in upper and l

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Eric S Fraga
On Fri, 08 Oct 2010 13:27:15 -0400, Nick Dokos wrote: > > There is a thread in the bugs-texinfo mailing list on the egrep > problem in texi2dvi: > > http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00031.html > > Nick > Yeah, it sure looks like we're not the only runs bitten by this

[Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Achim Gratz
Nick Dokos writes: > There is a thread in the bugs-texinfo mailing list on the egrep > problem in texi2dvi: > > http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00031.html They came to the same conclusion... :-) Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blof

[Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Achim Gratz
I'm pretty sure that this behaviour of egrep has been introduced with GNU grep version 2.6 (which says it fixed some long-standing bugs with regards to locale handling and character classes if you care to read the release notes). Unfortunately, as we see here, fixing bugs in one place often uncove

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Nick Dokos
There is a thread in the bugs-texinfo mailing list on the egrep problem in texi2dvi: http://lists.gnu.org/archive/html/bug-texinfo/2010-03/msg00031.html Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-or

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread suvayu ali
Hi Nick, On 8 October 2010 08:51, Nick Dokos wrote: > Eric S Fraga wrote: > >> This is a solution in one sense but the real bug is the egrep >> expression in texi2dvi which is why it is suggested that a bug report >> be filed. >> > > texi2dvi includes the following address for bug reports: > >  

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Nick Dokos
Eric S Fraga wrote: > This is a solution in one sense but the real bug is the egrep > expression in texi2dvi which is why it is suggested that a bug report > be filed. > texi2dvi includes the following address for bug reports: bug-texi...@gnu.org so maybe *one* of the people filing a

[Orgmode] Re: Bibtex and latex export

2010-10-08 Thread suvayu ali
Hi Bernt, On 8 October 2010 05:01, Bernt Hansen wrote: > suvayu ali writes: > >> >> >> I have the exact same problem ever since I updated org today. (from >> commit 344785b 2010-10-03 Bernt Hansen to commit 0901585 2010-10-06 >> Eric Schulte) >> >> My locale is en_IN.utf8, and I am on Fedor

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread suvayu ali
On 8 October 2010 04:35, Eric S Fraga wrote: > On Fri, 8 Oct 2010 01:43:25 -0700, suvayu ali > wrote: > > [...] > Suvayu, > > the bug is due to the expression in the texi2dvi script used in an > egrep command.  The reason it is hitting you now and not before is > that the default sequence of com

[Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Bernt Hansen
suvayu ali writes: > On 7 October 2010 06:58, Eric S Fraga wrote: >> On Thu, 07 Oct 2010 09:29:59 -0400, Nick Dokos wrote: >>> >>> Eric S Fraga wrote: >>> >>> > On Wed, 06 Oct 2010 19:21:33 +0200, Achim Gratz wrote: >>> > > >>> > > Hi Eric, >>> > > >>> > > Eric S Fraga writes: >>> > > > | /u

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Eric S Fraga
On Fri, 8 Oct 2010 01:43:25 -0700, suvayu ali wrote: [...] > > I have the exact same problem ever since I updated org today. (from > commit 344785b 2010-10-03 Bernt Hansen to commit 0901585 2010-10-06 > Eric Schulte) > > My locale is en_IN.utf8, and I am on Fedora 13. I couldn't quite > under

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread suvayu ali
On 7 October 2010 06:58, Eric S Fraga wrote: > On Thu, 07 Oct 2010 09:29:59 -0400, Nick Dokos wrote: >> >> Eric S Fraga wrote: >> >> > On Wed, 06 Oct 2010 19:21:33 +0200, Achim Gratz wrote: >> > > >> > > Hi Eric, >> > > >> > > Eric S Fraga writes: >> > > > | /usr/bin/texi2dvi: Processing /home

Re: [Orgmode] Re: Bibtex and latex export

2010-10-08 Thread Eric S Fraga
On Thu, 07 Oct 2010 16:11:32 -0400, Nick Dokos wrote: > > Eric S Fraga wrote: > > > > echo /foo | egrep '^(/|[A-z]:/)' > > > > > > do you get the bad range end error message? If so, then your egrep > > > is indeed stricter than mine. > > > > I do indeed: > > > > : egrep: Invalid range e

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Nick Dokos
Eric S Fraga wrote: > > echo /foo | egrep '^(/|[A-z]:/)' > > > > do you get the bad range end error message? If so, then your egrep > > is indeed stricter than mine. > > I do indeed: > > : egrep: Invalid range end. > > Very strange. > > > > > LC_ALL=C texi2dvi ... > > > > > > but this

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Eric S Fraga
On Thu, 07 Oct 2010 10:37:52 -0400, Nick Dokos wrote: > > Eric S Fraga wrote: > > > > ... 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 actua

[Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Achim Gratz
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

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Eric S Fraga
On Thu, 07 Oct 2010 10:43:21 +0200, Sébastien Vauban wrote: > > Hi Eric, > > Eric S Fraga wrote: > > As far as I know, there is nothing out of the ordinary with my paths etc > > (please note that the /.../ above was an edit on my part to hide a rather > > long path). Any hints as to what I can

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Nick Dokos
Eric S Fraga wrote: > > ... 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! > M$ will get you one

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Eric S Fraga
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

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Nick Dokos
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=.

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Eric S Fraga
On Thu, 07 Oct 2010 09:29:59 -0400, Nick Dokos wrote: > > Eric S Fraga wrote: > > > On Wed, 06 Oct 2010 19:21:33 +0200, Achim Gratz wrote: > > > > > > Hi Eric, > > > > > > Eric S Fraga writes: > > > > | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... > > > > | egrep: Invalid ra

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Nick Dokos
Eric S Fraga wrote: > On Wed, 06 Oct 2010 19:21:33 +0200, Achim Gratz wrote: > > > > Hi Eric, > > > > Eric S Fraga writes: > > > | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... > > > | egrep: Invalid range end > > > | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex,

[Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Sébastien Vauban
Hi Eric, Eric S Fraga wrote: > As far as I know, there is nothing out of the ordinary with my paths etc > (please note that the /.../ above was an edit on my part to hide a rather > long path). Any hints as to what I can do to explore this would be most > helpful. How can I get a trace on what tex

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Eric S Fraga
On Wed, 6 Oct 2010 18:40:12 +0200, Carsten Dominik wrote: > On Oct 6, 2010, at 5:02 PM, Eric S Fraga wrote: [...] > > Reading between the lines, I gather it is the change to > > org-latex-to-pdf-process that has caused me problems. The output I > > get when the export takes place is: > > > > ,

Re: [Orgmode] Re: Bibtex and latex export

2010-10-07 Thread Eric S Fraga
On Wed, 06 Oct 2010 19:21:33 +0200, Achim Gratz wrote: > > Hi Eric, > > Eric S Fraga writes: > > | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... > > | egrep: Invalid range end > > | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex, skipping. > > Something somewhere tr

[Orgmode] Re: Bibtex and latex export

2010-10-06 Thread Achim Gratz
Hi Eric, Eric S Fraga writes: > | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... > | egrep: Invalid range end > | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex, skipping. Something somewhere tries to make a local path from an absolute one by prepending "./", which fai

Re: [Orgmode] Re: Bibtex and latex export

2010-10-06 Thread Carsten Dominik
On Oct 6, 2010, at 5:02 PM, Eric S Fraga wrote: On Wed, 06 Oct 2010 13:30:30 +0200, Sébastien Vauban > wrote: Hi Rafael and Erik, Erik Iverson wrote: Rafael Calsaverini wrote: Hi there, I'm trying to use org-mode to compose latex documents and I'm having a problem with bibtex. When I exp

Re: [Orgmode] Re: Bibtex and latex export

2010-10-06 Thread Eric S Fraga
I should have added: , | org-version: release_7.01h-638-gd9e44 | Org-mode version 7.01trans (release_7.01h.638.gd9e44) | | GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of | 2010-08-14 on raven, modified by Debian ` Thanks again, eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E1

Re: [Orgmode] Re: Bibtex and latex export

2010-10-06 Thread Eric S Fraga
On Wed, 06 Oct 2010 13:30:30 +0200, Sébastien Vauban wrote: > > Hi Rafael and Erik, > > Erik Iverson wrote: > > Rafael Calsaverini wrote: > >> Hi there, > >> > >> I'm trying to use org-mode to compose latex documents and I'm having a > >> problem with bibtex. When I export to pdf with C-c C-e p

[Orgmode] Re: Bibtex and latex export

2010-10-06 Thread Sébastien Vauban
Hi Rafael and Erik, Erik Iverson wrote: > Rafael Calsaverini wrote: >> Hi there, >> >> I'm trying to use org-mode to compose latex documents and I'm having a >> problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and >> everything works gracefully with respect to the latex code