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 12:19:54 -0300 Message-ID: References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> <52E7A4BF.8060507@krugs.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1136229635cb5204f1095b21 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8ASF-0003CQ-0l for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 10:20:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8ASB-0005lo-FB for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 10:19:58 -0500 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:57835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8ASB-0005lZ-1x for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 10:19:55 -0500 Received: by mail-pb0-f44.google.com with SMTP id rq2so474919pbb.31 for ; Tue, 28 Jan 2014 07:19:54 -0800 (PST) In-Reply-To: <52E7A4BF.8060507@krugs.de> 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: Rainer@krugs.de Cc: emacs-orgmode@gnu.org, Eric Schulte --001a1136229635cb5204f1095b21 Content-Type: text/plain; charset=ISO-8859-1 My problem continues... however, It seems has to be with the exportation, because if I open de file before evaluating =(requier 'ox-bibtex)= the links are not recognised. I tried using the latest git code $ git fetch origin $ make all $ make install Then I repeated the =vanilla= calling of emacs, and nothing. If I try to export something (no ox-bibtex), obtain the same error. If I uninstall the newest =org-mode=.... the 6.XX version does extort! :-S On Tue, Jan 28, 2014 at 9:38 AM, Rainer M Krug wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/28/14, 09:32 , Rainer M Krug wrote: > > > > > > On 01/27/14, 15:36 , 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. > > > > 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) > > > > Export to LaTeX gives the attached .tex file, but the pdf contains > > corrupt citations "[?]" and no bibliograhy. > > > > Is this my setup? Bibliographies work in LaTex here. > > OK - I have to run pdflatex - bibtex - pdflatex manually after .tex > file creation. Then I get the references in. But is this intended? > > I thought that this would be done automatically? > > Rainer > > > > > Cheers, > > > > Rainer > > > > > >> 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 > >>>>> > >>>>> > > > > > > > > - -- > 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/ > > iQEcBAEBAgAGBQJS56S+AAoJENvXNx4PUvmC6S4H/37H8xH4kFFaEF3etvlUyLSc > nLQTJVuD1T9lCCPBDlurtzC6uubeamd8XvNY6lfgNhwJe8Oe24lw8xIOzD8yeITy > apryBkCnPmQHzqIrsDXmN3i/+LaNurkhjBqEaD4tUggJ2xOz4LGnCjmNZcNPpc1g > BrR+H6WLMTir23GIk035Y5/NVmnfjlU6dVBV8of6q8anmM7xboyqM44TXqzd4xSn > ++zXuRFA9SrMjy6Pbxslonk6wdPfK2pf3b6BsudkqnLhqDfdvDJTcxr1LoL+X0MO > VBNjp20Oy5Qxkywcw/6zOKfsxvoiYow4Ja1LsOGEFDxUj1kjISe7e1/Rv797zBU= > =wIOA > -----END PGP SIGNATURE----- > -- _____________________________________ Oscar Castillo-Felisola. Grupo de Fisica Teorica. UTFSM -- CCTVal. Av. Espana, 1680, Valparaiso-Chile. ______________________________________ --001a1136229635cb5204f1095b21 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
My problem continues...= however, It seems has to be with the exportation, because if I open de fil= e before evaluating =3D(requier 'ox-bibtex)=3D the links are not recogn= ised.

I tried using the latest git code

$ git fetch origin=
$ make all
$ make install

Then I repeated t= he =3Dvanilla=3D calling of emacs, and nothing.

If I try to ex= port something (no ox-bibtex), obtain the same error. If I uninstall the ne= west =3Dorg-mode=3D.... the 6.XX version does extort!

:-S


On Tue, Jan 28, 2014 at 9:38 AM, Rainer M Krug = <Rainer@krugs.de> wrote:
-----BEGIN PGP SIGNED MESS= AGE-----
Hash: SHA1

On 01/28/14, 09:32 , Rainer M Krug wrote:
>
>
> On 01/27/14, 15:36 , Eric Schulte wrote:
>> "
o.castillo.= felisola@gmail.com" <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 o= f 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<= br> >> =A0Org-mode or your personal config. =A0Please try the following t= o
>> 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 &#= 39;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. =A0This all works for me, if you >> get an error please send the whole debug trace along with version<= br> >> info for your Org-mode and Emacs.
>
> 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-bib= tex)
> 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)
>
> Export to LaTeX gives the attached .tex file, but the pdf contains
> corrupt citations "[?]" and no bibliograhy.
>
> Is this my setup? Bibliographies work in LaTex here.

OK - I have to run pdflatex - bibtex - pdflatex manually after = .tex
file creation. Then I get the references in. But is this intended?

I thought that this would be done automatically?

Rainer

>
> Cheers,
>
> Rainer
>
>
>> Best,
>
>>>
>>>
>>> On Sun, Jan 26, 2014 at 4:37 PM, o.castillo.felisola@gmail.com
>>> < o.castil= lo.felisola@gmail.com> wrote:
>>>
>>>> Thank you Eric, I'll try it asap! Cheers! On Jan 26, 2= 014
>>>> 4:20 PM, "Eric Schulte" <schulte.eric@gmail.com> wrote:
>>>>
>>>>> "o.castillo.felisola@gmail.com"
>>>>> <o= .castillo.felisola@gmail.com> writes:
>>>>>
>>>>>> Dear community,
>>>>>>
>>>>>> I'm using org-mode to draft most of my activit= ies, 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 w= hat
>>>>>> tool to get emacs org-mode to work with Bibtex... = all of
>>>>>> them seems complex to execute. I found the exporte= d
>>>>>> ox-bibtex.el [1] (included in my installation from=
>>>>> git),
>>>>>> which 'It also introduces "cite" syn= tax 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 exter= nal
>>>>>> (non-org) files?
>>>>>>
>>>>>
>>>>> The attached two files (.org and .bib) provide an exam= ple
>>>>> of usage.
>>>>>
>>>>>
>>>>>
>>>>> Best,
>>>>>
>>>>>
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> [1]
>>>>>>
>>>>> http:= //orgmode.org/w/?p=3Dorg-mode.git;a=3Dblob_plain;f=3Dcontrib/lisp/ox-bibtex= .el;hb=3DHEAD
>>>>>
>>>>>
>>>>>
>
>>>>>
- --
>>>>> Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
>>>>>
>>>>>
>
>
>

- --
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 : =A0 =A0 =A0 +33 - (0)9 53 10 27 44
Cell: =A0 =A0 =A0 +33 - (0)6 85 62 59 98
Fax : =A0 =A0 =A0 +33 - (0)9 58 10 27 44

Fax (D): =A0 =A0+49 - (0)3 21 21 25 22 44

email: =A0 =A0 =A0Rainer@krugs.de
Skype: =A0 =A0 =A0RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS56S+AAoJENvXNx4PUvmC6S4H/37H8xH4kFFaEF3etvlUyLS= c
nLQTJVuD1T9lCCPBDlurtzC6uubeamd8XvNY6lfgNhwJe8Oe24lw8xIOzD8yeITy
apryBkCnPmQHzqIrsDXmN3i/+LaNurkhjBqEaD4tUggJ2xOz4LGnCjmNZcNPpc1g
BrR+H6WLMTir23GIk035Y5/NVmnfjlU6dVBV8of6q8anmM7xboyqM44TXqzd4xSn
++zXuRFA9SrMjy6Pbxslonk6wdPfK2pf3b6BsudkqnLhqDfdvDJTcxr1LoL+X0MO
VBNjp20Oy5Qxkywcw/6zOKfsxvoiYow4Ja1LsOGEFDxUj1kjISe7e1/Rv797zBU=3D
=3DwIOA
-----END PGP SIGNATURE-----



--
_____________________________________
Oscar Castillo-Felisola.
Grupo de Fisica Teorica.
UTFS= M -- CCTVal.
Av. Espana, 1680, Valparaiso-Chile.
____________________________________= __=A0
--001a1136229635cb5204f1095b21--