Hi Eric,

On Tue, 01 Mar 2011 20:41:20 +0000
Eric S Fraga <e.fr...@ucl.ac.uk> wrote:

> Ah, very interesting.  What I don't understand is why this is
> affecting you.  I can see it affecting you if the aux file cannot be
> found but not if the first pdflatex step worked okay.  Do you still
> have the problem if the first step worked?
> 

Before the first pdflatex run the working directory seems correct:

> Invoked in dir  /home/jallad/org/masters-thesis

In the output for this run I see some lines like these:

> [6]
> No file msthesis.bbl.
> [7] (./msthesis.aux)

I guess that means the .aux files are created?

> If so, and if you still have the sh file I sent to the list yesterday,
> can you add the following line to the top:
> 
> echo 'Invoked in dir ' $PWD
> 
> and post the output (the first few lines only) of the export to PDF
> when you get the error with bibtex?

Despite the above, for bibtex I get the following:

> --------------------------------- running bibtex next
> 
> Invoked in dir  /home/jallad/org/masters-thesis
> 
> bibtex: Not writing to /home/jallad/org/masters-thesis/msthesis.blg
> (openout_any = p). I couldn't open file name
> `/home/jallad/org/masters-thesis/msthesis.blg'


Explicitly calling the texlive 2007 bibtex resolves the problem.

As per one of Tom's suggestions earlier in the thread, if I set

(setq org-export-pdf-remove-logfiles nil)

I can see the .aux files present after the final pdflatex run. Not
sure why bibtex overlooks that since the working directory seems
correct.

-- 
Suvayu

Open source is the future. It sets us free.

_______________________________________________
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

Reply via email to