emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: customising org-latex-to-pdf-process for bibtex
Date: Wed, 02 Mar 2011 06:55:54 +0000	[thread overview]
Message-ID: <87bp1uxb7p.fsf@ucl.ac.uk> (raw)
In-Reply-To: <20110301133250.06f3436a@kuru.homelinux.net> (Suvayu Ali's message of "Tue, 1 Mar 2011 13:32:50 -0800")

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> Hi Eric,
>
> On Tue, 01 Mar 2011 20:41:20 +0000
> Eric S Fraga <e.fraga@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?

Well, actually, this indicates that the aux file is being read by
pdflatex.  But obviously it must exist therefore...

>> 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'

Oh well, there goes that theory.  The web link you gave yesterday would
seem to indicate that the problem is present if you invoke the bibtex
command from another directory and this does not appear to be the case
here.  Very strange.

> Explicitly calling the texlive 2007 bibtex resolves the problem.

Well, at least you can get this working for now but obviously there is a
problem we are going to have to sort out as more users move to 2010.  I
am using texlive 2009 on Debian and that version doesn't have this
problem.  Texlive 2010 isn't available (yet) for Debian even in unstable
so I cannot easily test this out unfortunately.  I'll have a look to see
if it's in Debian's experimental distribution when I get a chance.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.576.g99675)

  reply	other threads:[~2011-03-02  8:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25 23:30 customising org-latex-to-pdf-process for bibtex suvayu ali
2011-02-26  0:23 ` Eric S Fraga
2011-02-26  2:18   ` Suvayu Ali
2011-02-28  9:23     ` Eric S Fraga
     [not found] ` <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com>
2011-02-26  2:10   ` Suvayu Ali
     [not found]     ` <192D7D99-6918-424A-A047-6D6D1C1AF1DA@tsdye.com>
2011-02-26  2:48       ` Suvayu Ali
2011-02-28 16:06     ` Eric S Fraga
2011-02-28 20:45       ` Suvayu Ali
2011-02-28 20:51         ` Suvayu Ali
2011-03-01  8:54           ` Eric S Fraga
2011-03-01  4:31         ` Thomas S. Dye
2011-03-01  8:52           ` Eric S Fraga
2011-03-01 12:26             ` Suvayu Ali
2011-03-01 12:51               ` Eric S Fraga
2011-03-01 18:43                 ` Suvayu Ali
2011-03-01 20:41                   ` Eric S Fraga
2011-03-01 21:32                     ` Suvayu Ali
2011-03-02  6:55                       ` Eric S Fraga [this message]
2011-03-01 12:33             ` Carsten Dominik
2011-03-01 12:49               ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bp1uxb7p.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).