From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: How to use ox-bibtex Date: Mon, 27 Jan 2014 07:36:50 -0700 Message-ID: <87r47tv5tq.fsf@gmail.com> References: <871tzuy2k3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7nWf-0003dg-Tl for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:51:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7nWV-0007Nv-CV for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:51:01 -0500 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:33734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7nWU-0007Nj-SO for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 09:50:51 -0500 Received: by mail-pa0-f48.google.com with SMTP id kx10so5974602pab.7 for ; Mon, 27 Jan 2014 06:50:49 -0800 (PST) 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: "o.castillo.felisola@gmail.com" Cc: emacs-orgmode@gnu.org "o.castillo.felisola@gmail.com" writes: > Hello Eric. I finally try the examples you attached above, and I'm getting > a problem. The file is not imported, because of an error "Wrong type > argument arrayp, nil". > > Does anyone know what I am missing? > > Cheers > My guess is that something is messed up in either your version of Org-mode or your personal config. Please try the following to reproduce. 1. launch a version of Emacs with Org-mode loaded but without your personal config, this may be conveniently done by running make vanilla from the base of your Org-mode installation. 2. evaluate the following (add-to-list 'load-path "contrib/lisp/") (require 'ox-bibtex) 3. open the example .org file attached previously (with the example .bib file in the same directory), and export to latex. You should now see appropriate \cite{ref} and \bibliography elements in the exported latex. This all works for me, if you get an error please send the whole debug trace along with version info for your Org-mode and Emacs. Best, > > > On Sun, Jan 26, 2014 at 4:37 PM, o.castillo.felisola@gmail.com < > o.castillo.felisola@gmail.com> wrote: > >> Thank you Eric, I'll try it asap! Cheers! >> On Jan 26, 2014 4:20 PM, "Eric Schulte" wrote: >> >>> "o.castillo.felisola@gmail.com" writes: >>> >>> > Dear community, >>> > >>> > I'm using org-mode to draft most of my activities, and day after day I >>> get >>> > closer to managing my paper writing. Nonetheless, there is a point still >>> > drives me crazy. >>> > >>> > All over the web I find post about using such or what tool to get emacs >>> > org-mode to work with Bibtex... all of them seems complex to execute. I >>> > found the exported ox-bibtex.el [1] (included in my installation from >>> git), >>> > which 'It also introduces "cite" syntax for Org links.', but no >>> examples of >>> > the usage are included in this document. >>> > >>> > *Question* >>> > >>> > Can anyone provide a minimal example of the use to this tool, including >>> the >>> > configuration (if needed), and the necessary external (non-org) files? >>> > >>> >>> The attached two files (.org and .bib) provide an example of usage. >>> >>> >>> >>> Best, >>> >>> >>> > >>> > Thank you! >>> > >>> > [1] >>> > >>> http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/ox-bibtex.el;hb=HEAD >>> >>> -- >>> Eric Schulte >>> https://cs.unm.edu/~eschulte >>> PGP: 0x614CA05D >>> >>> -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D