From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: How to use ox-bibtex Date: Tue, 28 Jan 2014 11:08:55 +0100 Message-ID: <52E781B7.10905@krugs.de> References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W85bQ-0007p0-FD for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 05:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W85bH-0002DS-LB for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 05:09:08 -0500 Received: from mail-wg0-f41.google.com ([74.125.82.41]:47379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W85bH-0002Cz-FW for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 05:08:59 -0500 Received: by mail-wg0-f41.google.com with SMTP id n12so5672969wgh.4 for ; Tue, 28 Jan 2014 02:08:57 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Moe Cc: emacs-orgmode@gnu.org, Eric Schulte , "o.castillo.felisola@gmail.com" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/28/14, 10:04 , Christian Moe wrote: > > Rainer M Krug writes: > >> >> Thanks for this thread - very interesting. Just one correction >> (or is it a bug?): Even the export to text - ASCII aborts the >> bibtex2htlm installation. >> >> But also: I don't get it to work. I evaluated (require >> 'ox-bibtex) which worked, but export to te4xt and html gives the >> following error: >> >> org-babel-exp process emacs-lisp at line 78... if: Executing >> bibtex2html failed >> >> >> but bibtex2html is installed (homebrew) > > Check if b2h is working from the command line at all. > > bibtex2html ox-bibtex-example.bib It doesn't - that seems to be the problem. I am using TeXLive 2013 The workaround: I created a shell script changing the TMPDIR to .: #!/bin/bash export TMPDIR=. /usr/local/bin/bibtex2html "$@" and saved it in ~/bin/bibtex2html As ~/bin is first in my path, this script is called and it is working for html and ascii. The .tex looks fine, but the bibliography is still not included. I get the following warnings when compiling the .tex file: LaTeX Warning: Citation `dominik2010org' on page 1 undefined on input line 32. LaTeX Warning: Citation `schulte2012multi' on page 1 undefined on input line 34. Is this a problem on my side here? Cheers, Rainer > > In my case (homebrew install on OSX 10.6.8), it doesn't. It fails > to write to a temporary folder. > > The documentation (https://www.lri.fr/~filliatr/bibtex2html/) > suggests it's due to interference from TexLive 2010 on the Mac > (doesn't say if later versions fix it, and I don't have time right > now to check). > > Yours, Christian > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS54G3AAoJENvXNx4PUvmCQSAH/2khaNs7GnzF1nsSg08tM2Fy 3tu+hk78lsY47+Uo5JkwS4cFI99jJZb5pzIP6qNY23LXNkVX3oCO9FL5UG2V9BuR 2RkDt5Hl/xO8INvSAbUs7SBjhXJMBpxo0hLDo/piMqIr9VuXyGHV7Ztxwi4T/+2L aO9FNodMXmHIzOgdjs7hqtt3CZSf7P2/FF4FG4f2ccDVK2lC1W94Wy3YXRn3Oiro aroBWcpnacrwwlhKCy3XWTYxgQml795xf4aLqEDMVIrL9STp+mwgitO1BvvVuUEc Dq5b9uLkMoOTxInTsAL+XCms4FwGGTMRf06FXduWFcX6TyQ5Kc/jFQlFeeW+ezU= =sS0z -----END PGP SIGNATURE-----