From mboxrd@z Thu Jan 1 00:00:00 1970 From: "o.castillo.felisola@gmail.com" Subject: Re: How to use ox-bibtex Date: Tue, 28 Jan 2014 09:33:23 -0300 Message-ID: References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113312eab82b8504f107070c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W87r6-0001VV-17 for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:33:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W87r4-0005dD-7E for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:33:27 -0500 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]:44370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W87r3-0005c5-Nm for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:33:26 -0500 Received: by mail-pd0-f174.google.com with SMTP id z10so297721pdj.19 for ; Tue, 28 Jan 2014 04:33:23 -0800 (PST) In-Reply-To: <87r47tv5tq.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --001a113312eab82b8504f107070c Content-Type: text/plain; charset=ISO-8859-1 Hello again, I'm still having the problem... please correct me if I'm wrong: 1) In a terminal: $ cd path/to/org-mode $ make vanilla an emacs window (without the personal configuration but with the org-mode conf. opens) 2) I run the command you suggest using =M-: (add-to-list 'load-path "contrib/lisp/")= and again =M-: (require 'ox-bibtex)= 3) Open the =ox-bibtex-example.org= and export it with =C-c C-e l o= After all that I get "Wrong type argument: arrayp, nil" Am I doing something wrong? Best wishes On Mon, Jan 27, 2014 at 11:36 AM, Eric Schulte wrote: > "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 > -- _____________________________________ Oscar Castillo-Felisola. Grupo de Fisica Teorica. UTFSM -- CCTVal. Av. Espana, 1680, Valparaiso-Chile. ______________________________________ --001a113312eab82b8504f107070c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello again,

I'm still having the problem... please correct me if I'm wrong:=

1) In a terminal:
$ cd path/to/org-mode
$ make vanilla

an emacs window (without the personal configura= tion but with the org-mode conf. opens)

2) I run the command y= ou suggest using =3DM-: (add-to-list 'load-path "contrib/lisp/&quo= t;)=3D and again =3DM-: (require 'ox-bibtex)=3D

3) Open the =3Dox-bibtex= -example.org=3D and export it with =3DC-c C-e l o=3D


<= div>After all that I get "Wrong type argument: arrayp, nil"
Am I doing something wrong?

Best wishes



=
On Mon, Jan 27, 2014 at 11:36 AM, Eric Schulte <= span dir=3D"ltr"><schulte.eric@gmail.com> wrote:
"o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.co= m> 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 t= ype
> 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. =A0Please try the following to
reproduce.

1. launch a version of Emacs with Org-mode loaded but without your
=A0 =A0personal config, this may be conveniently done by running

=A0 =A0 =A0make vanilla

=A0 =A0from the base of your Org-mode installation.

2. evaluate the following

=A0 =A0(add-to-list 'load-path "contrib/lisp/")
=A0 =A0(require 'ox-bibtex)

3. open the example .org file attached previously (with the example .bib =A0 =A0file in the same directory), and export to latex.

You should now see appropriate \cite{ref} and \bibliography elements in
the exported latex. =A0This 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@g= mail.com> wrote:
>
>> Thank you Eric, I'll try it asap! Cheers!
>> On Jan 26, 2014 4:20 PM, "Eric Schulte" <schulte.eric@gmail.com> wrote:
>>
>>> "o.casti= llo.felisola@gmail.com" <o.castillo.felisola@gmail.com> writes:
>>>
>>> > Dear community,
>>> >
>>> > I'm using org-mode to draft most of my activities, an= d day after day I
>>> get
>>> > closer to managing my paper writing. Nonetheless, there i= s a point still
>>> > drives me crazy.
>>> >
>>> > All over the web I find post about using such or what too= l 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 insta= llation 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 t= ool, including
>>> the
>>> > configuration (if needed), and the necessary external (no= n-org) files?
>>> >
>>>
>>> The attached two files (.org and .bib) provide an example of u= sage.
>>>
>>>
>>>
>>> Best,
>>>
>>>
>>> >
>>> > Thank you!
>>> >
>>> > [1]
>>> >
>>> http://orgmod= e.org/w/?p=3Dorg-mode.git;a=3Dblob_plain;f=3Dcontrib/lisp/ox-bibtex.el;hb= =3DHEAD
>>>
>>> --
>>> Eric Schulte
>>> htt= ps://cs.unm.edu/~eschulte
>>> PGP: 0x614CA05D
>>>
>>>

--
Eric Schulte
https://cs.unm.e= du/~eschulte
PGP: 0x614CA05D



--
_____________________________________
Oscar Castillo-Felisola.
Grupo de Fisica Teo= rica.
UTFSM -- CCTVal.
Av. Espana, 1680, Valparaiso-Chile.
________________= ______________________=A0
--001a113312eab82b8504f107070c--