From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Bibtex and latex export Date: Wed, 6 Oct 2010 18:40:12 +0200 Message-ID: <88409B9D-24D7-4F5C-9C21-7FB73300F22C@gmail.com> References: <4C9122FE.1080306@ccbr.umn.edu> <87aamra78p.fsf@mundaneum.com> <87pqvntldc.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=39313 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3X2R-0001Ud-KM for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 12:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3X2P-0003Xi-GH for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 12:40:18 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:52799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3X2P-0003Xb-AW for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 12:40:17 -0400 Received: by ewy6 with SMTP id 6so79801ewy.0 for ; Wed, 06 Oct 2010 09:40:16 -0700 (PDT) In-Reply-To: <87pqvntldc.wl%ucecesf@ucl.ac.uk> 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: e.fraga@ucl.ac.uk Cc: =?ISO-8859-1?Q?S=E9bastien_Vauban?= , emacs-orgmode@gnu.org On Oct 6, 2010, at 5:02 PM, Eric S Fraga wrote: > On Wed, 06 Oct 2010 13:30:30 +0200, S=E9bastien 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 =20 >>>> having a >>>> problem with bibtex. When I export to pdf with C-c C-e p, =20 >>>> pdflatex runs and >>>> everything works gracefully with respect to the latex code (the =20 >>>> output is >>>> even prettier than I used to have patience to do only with =20 >>>> latex), but >>>> bibtex isn't called. >>> >>> I've just now looked into the org-latex.el file, and found: >>> >>> (defcustom org-latex-to-pdf-process >>> '("pdflatex -interaction nonstopmode -output-directory %o %f" >>> "pdflatex -interaction nonstopmode -output-directory %o %f") >>> "Commands to process a LaTeX file to a PDF file. >>> [...] >>> Looks like you can just customize that variable, easy! >> >> FYI, this should be fixed now. >> >> Best regards, >> Seb >> >> --=20 >> S=E9bastien Vauban >> >> >> _______________________________________________ >> 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 > > Hello, > > between yesterday and today, something changed that no longer allows > me to create PDFs from my org files, causing momentary panic as I > making the final changes to a lecture I had to give this morning -- > luckily, latex export worked just fine. > > 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: > > ,---- > | /usr/bin/texi2dvi: Processing /home/ucecesf/.../file.tex ... > | egrep: Invalid range end > | /usr/bin/texi2dvi: cannot read .//home/ucecesf/.../file.tex, =20 > skipping. > `---- > That is bad - I have no idea here. Maybe a non-standard version of egrep? But I am really guessing here. Lets see if this affects more people - for the time being you might =20 just change the variable to have it make 2-3 pdflatex runs. - Carsten > The current value of that variable is: > > ,---- > | org-latex-to-pdf-process is a variable defined in `org-latex.el'. > | Its value is > | ("texi2dvi -p -b -c -V %f") > `---- > > I can obviously change back to the setting that was the default before > but I do like the idea of using texi2dvi. Can anybody suggest what > may be wrong on my system or my configuration? > > Thanks, > eric > --=20 > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > _______________________________________________ > 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