emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Eric Schulte <schulte.eric@gmail.com>,
	"o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to use ox-bibtex
Date: Tue, 28 Jan 2014 09:32:47 +0100	[thread overview]
Message-ID: <52E76B2F.1040109@krugs.de> (raw)
In-Reply-To: <87r47tv5tq.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4309 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



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

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" <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 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/

iQEcBAEBAgAGBQJS52svAAoJENvXNx4PUvmCQeIH/2H0k9onPCLugYkcY5v2kF7b
lD1KEDPK6oMwvvjbP7BpX/nf5SjnNi8F5vV/VMTfcxgTrq8Nzn+Vacyh7JmkGQVO
bKBl6LyyZjHVobUzLxWzGeaIKX8WHmsssMnIu3GAvyuQw9sniYdwz2T45SpEXNjn
t6+2mf/3tczO3OiBG0DR32lUnCFdkxDR6y24MQ4eVxaPpn3j4wSev/B+n+td6Hij
EafRF9ElP4wt5xOkeCFfliqG6sxNkZ7m4q7lwsoMn3sEXiGbZ55KZDtbvuAtzngt
SKvqXHly2OMEcexzlsIzpzHXx9Ah90tq2Ydxipo6Fi39h4OOVFhcUOonRc6mahs=
=TE2t
-----END PGP SIGNATURE-----

[-- Attachment #2: ox-bibtex-example.tex --]
[-- Type: application/x-tex, Size: 3650 bytes --]

  reply	other threads:[~2014-01-28  8:33 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 13:41 How to use ox-bibtex o.castillo.felisola
2014-01-26 18:02 ` Eric Schulte
2014-01-26 19:37   ` o.castillo.felisola
2014-01-27 13:52     ` o.castillo.felisola
2014-01-27 14:36       ` Eric Schulte
2014-01-28  8:32         ` Rainer M Krug [this message]
2014-01-28  9:04           ` Christian Moe
2014-01-28 10:08             ` Rainer M Krug
2014-01-28 12:38           ` Rainer M Krug
2014-01-28 15:19             ` o.castillo.felisola
2014-01-29  2:16               ` Eric Schulte
2014-01-29 14:16                 ` o.castillo.felisola
2014-01-29 14:46                   ` Nick Dokos
2014-01-30 10:02                     ` Ahmadou Dicko
2014-01-28 12:33         ` o.castillo.felisola
2014-01-28 12:01       ` Rainer M Krug
2014-01-28 13:23 ` Clojure Code Block Results not Tabularized Soapy Smith
2014-01-29  7:57   ` Christian Moe
2014-01-29 12:36     ` Soapy Smith
2014-01-29 12:58       ` Christian Moe
2014-01-29 13:06         ` Soapy Smith
2014-01-29 15:02           ` Eric Schulte
2014-01-29 15:28             ` Bastien
2014-01-29 23:40               ` Phill Wolf
2014-01-30 11:11   ` Bastien
2014-01-30 13:46     ` Soapy Smith
2014-01-31  1:58     ` Soapy Smith
2014-01-31  9:11       ` Bastien

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=52E76B2F.1040109@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=o.castillo.felisola@gmail.com \
    --cc=schulte.eric@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).