From mboxrd@z Thu Jan 1 00:00:00 1970 From: "o.castillo.felisola@gmail.com" Subject: How to use ox-bibtex Date: Fri, 24 Jan 2014 10:41:37 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5299453661c0c04f0b7841b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6h0v-00020L-Rc for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 08:41:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6h0u-0000nf-Ag for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 08:41:41 -0500 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:56418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6h0u-0000n2-2z for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 08:41:40 -0500 Received: by mail-pb0-f44.google.com with SMTP id rq2so3279894pbb.3 for ; Fri, 24 Jan 2014 05:41:38 -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: emacs-orgmode@gnu.org --bcaec5299453661c0c04f0b7841b Content-Type: text/plain; charset=ISO-8859-1 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? Thank you! [1] http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/ox-bibtex.el;hb=HEAD -- _____________________________________ Oscar Castillo-Felisola. Grupo de Fisica Teorica. UTFSM -- CCTVal. Av. Espana, 1680, Valparaiso-Chile. ______________________________________ --bcaec5299453661c0c04f0b7841b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear community,

I= 9;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 dr= ives 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 g= it), which 'It also introduces "cite" syntax for Org links.&#= 39;, but no examples of the usage are included in this document.

*Question*

Can anyone provide a minimal example of t= he use to this tool, including the configuration (if needed), and the neces= sary external (non-org) files?

Thank you!

[1] http://orgmode.org/w/?p=3Dorg-mode.= git;a=3Dblob_plain;f=3Dcontrib/lisp/ox-bibtex.el;hb=3DHEAD

--
_______________________________= ______
Oscar Castillo-Felisola.Grupo de Fisica Teorica.
UTFSM -- CCTVal.
Av. Espana, 1680, Valpara= iso-Chile.
______________________________________=A0
--bcaec5299453661c0c04f0b7841b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: How to use ox-bibtex Date: Sun, 26 Jan 2014 11:02:42 -0700 Message-ID: <871tzuy2k3.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7VG8-0006r7-4f for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 14:20:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7VG2-0007Yv-RO for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 14:20:44 -0500 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:59373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7VG2-0007Y3-93 for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 14:20:38 -0500 Received: by mail-pd0-f175.google.com with SMTP id w10so4905952pde.34 for ; Sun, 26 Jan 2014 11:20:37 -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 --=-=-= Content-Type: text/plain "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. --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=ox-bibtex-example.org #+Title: An Example Demonstrating ox-bibtex Usage #+Author: Eric Schulte #+Options: toc:nil ^:{} An example document demonstrating generation of bibliographies for LaTeX, HTML and ASCII export using Org-mode cite:dominik2010org with the =ox-bibtex= contributed package. Included code blocks are executable for reproducibility cite:schulte2012multi. (taken from the comments at the top of =ox-bibtex.el=) * Introduction and Requirements Use =cite= syntax for Org links (e.g., =cite:bibtexid=). For HTML and ascii it uses the bibtex2html software from http://www.lri.fr/~filliatr/bibtex2html/, and for ascii it uses the pandoc software from http://johnmacfarlane.net/pandoc/. * Usage The usage is as follows: : #+BIBLIOGRAPHY: bibfilebasename stylename optional-options e.g. given =foo.bib= and using style "plain": : #+BIBLIOGRAPHY: foo plain option:-d "stylename" can also be "nil", in which case no style will be used. Optional options are of the form: : option:-foobar pass '-foobar' to bibtex2html e.g., | =option:-d= | sort by date | | =option:-a= | sort as BibTeX (usually by author) *default* | | =option:-u= | unsorted i.e. same order as in .bib file | | =option:-r= | reverse the sort | See the bibtex2html man page for more. Multiple options can be combined like: : option:-d option:-r Limiting to only the entries cited in the document: : limit:t For LaTeX export this simply inserts the lines : \bibliographystyle{plain} : \bibliography{foo} into the TeX file when exporting. For HTML export it: 1) converts all =\cite{foo}= and =[[cite:foo=]] to links to the bibliography, 2) creates a =foo.html= and =foo_bib.html=, 3) includes the contents of =foo.html= in the exported HTML file. For ascii export it: 1) converts all =\cite{foo}= and =[[cite:foo=]] to links to the bibliography, 2) creates a =foo.txt= and =foo_bib.html=, 3) includes the contents of foo.txt in the exported ascii file. For LaTeX export it: 1) converts all =[[cite:foo=]] to =\cite{foo}=. * Emacs Configuration The =.emacs= configuration is simple. With path to Org-mode's =contrib/= repository in your load path, require =ox-bibtex= as in the following example. #+begin_src emacs-lisp (add-to-list 'load-path "~/.emacs.d/src/org-mode/contrib/lisp/") (require 'ox-bibtex) #+end_src #+BIBLIOGRAPHY: ox-bibtex-example plain --=-=-= Content-Type: text/x-bibtex Content-Disposition: attachment; filename=ox-bibtex-example.bib @book{dominik2010org, title={The Org Mode 7 Reference Manual-Organize your life with GNU Emacs}, author={Dominik, Carsten}, year={2010}, publisher={Network Theory Ltd.} } @article{schulte2012multi, title={A multi-language computing environment for literate programming and reproducible research}, author={Schulte, Eric and Davison, Dan and Dye, Thomas and Dominik, Carsten}, journal={Journal of Statistical Software}, volume={46}, number={3}, pages={1--24}, year={2012}, publisher={American Statistical Association} } --=-=-= Content-Type: text/plain 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 --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "o.castillo.felisola@gmail.com" Subject: Re: How to use ox-bibtex Date: Sun, 26 Jan 2014 16:37:30 -0300 Message-ID: References: <871tzuy2k3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0e064cba3b004f0e4b8d3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7VWU-00041z-PT for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 14:37:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7VWO-0003qN-Mw for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 14:37:38 -0500 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:60475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7VWO-0003q0-G3 for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 14:37:32 -0500 Received: by mail-pa0-f50.google.com with SMTP id kp14so5134573pab.9 for ; Sun, 26 Jan 2014 11:37:30 -0800 (PST) In-Reply-To: <871tzuy2k3.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 --047d7bf0e064cba3b004f0e4b8d3 Content-Type: text/plain; charset=ISO-8859-1 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 > > --047d7bf0e064cba3b004f0e4b8d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Thank you Eric, I'll try it asap! Cheers!

On Jan 26, 2014 4:20 PM, "Eric Schulte"= ; <schulte.eric@gmail.com&= gt; 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 d= ay I get
> closer to managing my paper writing. Nonetheless, there is a point sti= ll
> drives me crazy.
>
> All over the web I find post about using such or what tool to get emac= s
> 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.&#= 39;, but no examples of
> the usage are included in this document.
>
> *Question*
>
> Can anyone provide a minimal example of the use to this tool, includin= g 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=3Dorg-mode.git;a=3Dblob_plain;f=3Dcontrib/lisp/ox-bibtex.el;hb=3DHEAD

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

--047d7bf0e064cba3b004f0e4b8d3-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "o.castillo.felisola@gmail.com" Subject: Re: How to use ox-bibtex Date: Mon, 27 Jan 2014 10:52:27 -0300 Message-ID: References: <871tzuy2k3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b677b20ab7a8c04f0f404d2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7mcM-00069m-99 for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 08:52:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7mcE-0005vk-VB for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 08:52:50 -0500 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:58875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7mcE-0005vf-II for emacs-orgmode@gnu.org; Mon, 27 Jan 2014 08:52:42 -0500 Received: by mail-pa0-f42.google.com with SMTP id kl14so5925070pab.15 for ; Mon, 27 Jan 2014 05:52:41 -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: Eric Schulte Cc: emacs-orgmode@gnu.org --047d7b677b20ab7a8c04f0f404d2 Content-Type: text/plain; charset=ISO-8859-1 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 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 >> >> -- _____________________________________ Oscar Castillo-Felisola. Grupo de Fisica Teorica. UTFSM -- CCTVal. Av. Espana, 1680, Valparaiso-Chile. ______________________________________ --047d7b677b20ab7a8c04f0f404d2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Eric. I finally try the examples you attac= hed 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


On Sun, Jan 26, 2014 at 4:37 PM, o.castillo.felisola@gmail.com <= ;o.casti= llo.felisola@gmail.com> wrote:

Thank you Eric, I'll try it asap! Che= ers!

On Jan 26, 2014 4:20 PM, = "Eric Schulte" <schulte.eric@gmail.com> wrote:
"o.= castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com> wri= tes:

> Dear community,
>
> I'm using org-mode to draft most of my activities, and day after d= ay I get
> closer to managing my paper writing. Nonetheless, there is a point sti= ll
> drives me crazy.
>
> All over the web I find post about using such or what tool to get emac= s
> 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.&#= 39;, but no examples of
> the usage are included in this document.
>
> *Question*
>
> Can anyone provide a minimal example of the use to this tool, includin= g the
> configuration (if needed), and the necessary external (non-org) files?=
>

The attached two files (.org and .bib) provide an example of usage.



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




--
_____________________________________
Oscar Castillo-Felisola.
Grupo de Fisica Teorica.
UTFS= M -- CCTVal.
Av. Espana, 1680, Valparaiso-Chile.
____________________________________= __=A0
--047d7b677b20ab7a8c04f0f404d2-- 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 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 09:32:47 +0100 Message-ID: <52E76B2F.1040109@krugs.de> References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060009010600060903060908" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W846M-00057X-1x for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 03:33:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W846H-0007Dn-Dx for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 03:32:57 -0500 Received: from mail-wg0-f54.google.com ([74.125.82.54]:38099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W846H-0007DO-4O for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 03:32:53 -0500 Received: by mail-wg0-f54.google.com with SMTP id x13so154811wgg.9 for ; Tue, 28 Jan 2014 00:32:52 -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 , "o.castillo.felisola@gmail.com" Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------060009010600060903060908 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. 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/ iQEcBAEBAgAGBQJS52svAAoJENvXNx4PUvmCQeIH/2H0k9onPCLugYkcY5v2kF7b lD1KEDPK6oMwvvjbP7BpX/nf5SjnNi8F5vV/VMTfcxgTrq8Nzn+Vacyh7JmkGQVO bKBl6LyyZjHVobUzLxWzGeaIKX8WHmsssMnIu3GAvyuQw9sniYdwz2T45SpEXNjn t6+2mf/3tczO3OiBG0DR32lUnCFdkxDR6y24MQ4eVxaPpn3j4wSev/B+n+td6Hij EafRF9ElP4wt5xOkeCFfliqG6sxNkZ7m4q7lwsoMn3sEXiGbZ55KZDtbvuAtzngt SKvqXHly2OMEcexzlsIzpzHXx9Ah90tq2Ydxipo6Fi39h4OOVFhcUOonRc6mahs= =TE2t -----END PGP SIGNATURE----- --------------060009010600060903060908 Content-Type: application/x-tex; name="ox-bibtex-example.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ox-bibtex-example.tex" % Created 2014-01-28 Tue 09:29 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{rotating} \usepackage[normalem]{ulem} \usepackage{amsmath} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage{color} \usepackage{listings} \author{Eric Schulte} \date{\today} \title{An Example Demonstrating ox-bibtex Usage} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs 24.3.1 (Org mode 8.2.5g)}} \begin{document} \maketitle An example document demonstrating generation of bibliographies for \LaTeX{}, HTML and ASCII export using Org-mode \cite{dominik2010org} with the \texttt{ox-bibtex} contributed package. Included code blocks are executable for reproducibility \cite{schulte2012multi}. (taken from the comments at the top of \texttt{ox-bibtex.el}) \section{Introduction and Requirements} \label{sec-1} Use \texttt{cite} syntax for Org links (e.g., \texttt{cite:bibtexid}). For HTML and ascii it uses the bibtex2html software from \url{http://www.lri.fr/~filliatr/bibtex2html/}, and for ascii it uses the pandoc software from \url{http://johnmacfarlane.net/pandoc/}. \section{Usage} \label{sec-2} The usage is as follows: \begin{verbatim} #+BIBLIOGRAPHY: bibfilebasename stylename optional-options \end{verbatim} e.g. given \texttt{foo.bib} and using style "plain": \begin{verbatim} #+BIBLIOGRAPHY: foo plain option:-d \end{verbatim} "stylename" can also be "nil", in which case no style will be used. Optional options are of the form: \begin{verbatim} option:-foobar \end{verbatim} pass '-foobar' to bibtex2html e.g., \begin{center} \begin{tabular}{ll} \texttt{option:-d} & sort by date\\ \texttt{option:-a} & sort as BibTeX (usually by author) \textbf{default}\\ \texttt{option:-u} & unsorted i.e. same order as in .bib file\\ \texttt{option:-r} & reverse the sort\\ \end{tabular} \end{center} See the bibtex2html man page for more. Multiple options can be combined like: \begin{verbatim} option:-d option:-r \end{verbatim} Limiting to only the entries cited in the document: \begin{verbatim} limit:t \end{verbatim} For \LaTeX{} export this simply inserts the lines \begin{verbatim} \bibliographystyle{plain} \bibliography{foo} \end{verbatim} into the \TeX{} file when exporting. For HTML export it: \begin{enumerate} \item converts all \texttt{\textbackslash{}cite\{foo\}} and =\cite{foo=} to links to the bibliography, \item creates a \texttt{foo.html} and \texttt{foo\_bib.html}, \item includes the contents of \texttt{foo.html} in the exported HTML file. \end{enumerate} For ascii export it: \begin{enumerate} \item converts all \texttt{\textbackslash{}cite\{foo\}} and =\cite{foo=} to links to the bibliography, \item creates a \texttt{foo.txt} and \texttt{foo\_bib.html}, \item includes the contents of foo.txt in the exported ascii file. \end{enumerate} For \LaTeX{} export it: \begin{enumerate} \item converts all \texttt{[[cite:foo=]] to =\textbackslash{}cite\{foo\}}. \end{enumerate} \section{Emacs Configuration} \label{sec-3} The \texttt{.emacs} configuration is simple. With path to Org-mode's \texttt{contrib/} repository in your load path, require \texttt{ox-bibtex} as in the following example. \lstset{language=Lisp,numbers=none} \begin{lstlisting} (add-to-list 'load-path "~/.emacs.d/src/org-mode/contrib/lisp/") (require 'ox-bibtex) \end{lstlisting} \bibliographystyle{plain} \bibliography{ox-bibtex-example} % Emacs 24.3.1 (Org mode 8.2.5g) \end{document} --------------060009010600060903060908-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: How to use ox-bibtex Date: Tue, 28 Jan 2014 10:04:36 +0100 Message-ID: References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W84Y2-00083A-P1 for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:01:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W84Xv-0006w0-LV for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:01:34 -0500 Received: from mail-forward5.uio.no ([2001:700:100:10::37]:43843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W84Xv-0006vr-AX for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 04:01:27 -0500 Received: from exim by mail-out5.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1W84Xt-0002vV-1Q for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 10:01:25 +0100 In-reply-to: <52E76B2F.1040109@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 , "o.castillo.felisola@gmail.com" 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 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 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----- 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 13:01:27 +0100 Message-ID: <52E79C17.9000306@krugs.de> References: <871tzuy2k3.fsf@gmail.com> 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]:56739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W87MK-00078X-44 for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:01:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W87MA-000510-Be for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:01:40 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:60250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W87MA-00050V-3r for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:01:30 -0500 Received: by mail-wg0-f47.google.com with SMTP id m15so573176wgh.2 for ; Tue, 28 Jan 2014 04:01:29 -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: "o.castillo.felisola@gmail.com" , Eric Schulte Cc: emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/27/14, 14:52 , o.castillo.felisola@gmail.com wrote: > 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". I get this error message, when clicking on the link in org: Debugger entered--Lisp error: (void-function nil) nil(#("schulte2012multi" 0 16 (org-attr nil))) org-open-at-point() org-open-at-mouse((mouse-2 (# 346 (277 . 92) 108393393 nil 346 (46 . 8) nil (1 . 8) (6 . 12)))) call-interactively(org-open-at-mouse nil nil) Strange. Rainer > > Does anyone know what I am missing? > > Cheers > > > On Sun, Jan 26, 2014 at 4:37 PM, 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 > > > > > -- _____________________________________ Oscar Castillo-Felisola. > Grupo de Fisica Teorica. UTFSM -- CCTVal. Av. Espana, 1680, > Valparaiso-Chile. ______________________________________ - -- 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/ iQEcBAEBAgAGBQJS55wXAAoJENvXNx4PUvmCu84IALzV8aEfGMltp5tz8pszekIj KEs2oDXMglCEAuIX0VZ1p2G3YMxRhwJD0BBKxkY94xc5OK+N5Vl+NpAcd8R8sLcm f80nE5od81OoGW5L4PoOPsyUDL32q2GFnm7iaWG17Am5KCQ6kcF9E6T1iBNuJrfn YGIyWzGbkgtXwiDYZP2YA39GsZFaDMeaifGDgo2D7Axe+yVH9HAk5FSfPu5cFjDP TImwMIIctyyPSUVTxLEAQtbJDOlMOhfcqrJDNswXLATQvNgrlFZzgLcTExo4p6OD Q6fp8Vtd/UiLjr/Thde5kx17ri8lis3lgGulrl+jFDxuMAKIsZuWUKqKWh0APOs= =uknP -----END PGP SIGNATURE----- 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-- 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 13:38:23 +0100 Message-ID: <52E7A4BF.8060507@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]:35158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W87vy-00043z-NU for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:38:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W87vt-00071k-RG for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:38:30 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:39002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W87vt-00071N-IH for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 07:38:25 -0500 Received: by mail-wg0-f49.google.com with SMTP id a1so641593wgh.28 for ; Tue, 28 Jan 2014 04:38:24 -0800 (PST) In-Reply-To: <52E76B2F.1040109@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: Eric Schulte , "o.castillo.felisola@gmail.com" Cc: emacs-orgmode@gnu.org -----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----- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soapy Smith Subject: Clojure Code Block Results not Tabularized Date: Tue, 28 Jan 2014 08:23:04 -0500 Message-ID: <1390915384.2241.11.camel@raven-CM5571> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W88dR-0007Id-5O for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 08:23:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W88dI-0002pD-U0 for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 08:23:25 -0500 Received: from qmta01.westchester.pa.mail.comcast.net ([76.96.62.16]:59384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W88dI-0002oj-P3 for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 08:23:16 -0500 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: emacs-orgmode@gnu.org Hello to the list, my first message here. This is in regards to code blocks in the Clojure language. The problem is that the results inserted into the org document should be tabularized. This is not happening using the latest version of org. Here is the simplest possible example: #+begin_src clojure :results value raw [1 2 3 4] #+end_src #+RESULTS: [1 2 3 4] The result block is not tabularized. In an older system, the result block is properly changed to an org table: #+RESULTS: | 1 | 2 | 3 | 4 | Here is a comparison of the systems, old and new, which produced the above results: Platform Old New emacs 24.3.1 24.3.1 Leiningen 2.3.4 2.3.4 Java 1.7._51 1.6.0_27 (both are OpenJDK 64 bit server VM) org 7.9 8.2.4 Old REPL: nrepl 0.1.8-preview New REPL: cider 0.6.0alpha The only thing strange I discovered about my new system is that it is using an older version of Java than the old system. Regards, Greg 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: How to use ox-bibtex Date: Tue, 28 Jan 2014 19:16:06 -0700 Message-ID: <87ppnb4jo9.fsf@gmail.com> References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> <52E7A4BF.8060507@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8KjL-0005Qh-0x for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 21:18:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8KjG-0006B7-Fe for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 21:18:18 -0500 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]:47533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8KjG-0006B3-7m for emacs-orgmode@gnu.org; Tue, 28 Jan 2014 21:18:14 -0500 Received: by mail-pd0-f179.google.com with SMTP id q10so1109351pdj.10 for ; Tue, 28 Jan 2014 18:18:13 -0800 (PST) In-Reply-To: (o. castillo's message of "Tue, 28 Jan 2014 12:19:54 -0300") 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 There is not enough information to address your bug. Please read [1] and re-send. It sounds to me like your installation may be bad, in which case it may also be worthwhile to read [2]. Best, Footnotes: [1] http://orgmode.org/org.html#Feedback [2] http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 08:57:52 +0100 Message-ID: References: <1390915384.2241.11.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8PzN-0008BT-4i for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 02:55:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8PzD-0000vd-H3 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 02:55:13 -0500 Received: from mail-forward2.uio.no ([2001:700:100:10::71]:52592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8PzD-0000nY-9n for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 02:55:03 -0500 Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1W8Pyp-00046K-H4 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 08:54:39 +0100 In-reply-to: <1390915384.2241.11.camel@raven-CM5571> 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: Soapy Smith Cc: emacs-orgmode@gnu.org Soapy Smith writes: > The problem is that the results inserted into the org document should be > tabularized. This is not happening using the latest version of org. > Here is the simplest possible example: > > #+begin_src clojure :results value raw > [1 2 3 4] > #+end_src > > #+RESULTS: > [1 2 3 4] Hi, I don't use Clojure so I may get this wrong, but: isn't this what you would expect with `:results raw'? Cf. these Python examples: #+begin_src python :results raw a = (1, 2, 3) return a #+end_src #+RESULTS: (1, 2, 3) #+begin_src python a = (1, 2, 3) return a #+end_src #+RESULTS: | 1 | 2 | 3 | Yours, Christian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soapy Smith Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 07:36:28 -0500 Message-ID: <1390998988.2272.12.camel@raven-CM5571> References: <1390915384.2241.11.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8UOB-0005Ok-Dn for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 07:37:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8UO0-0005G0-Bu for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 07:37:07 -0500 Received: from qmta08.emeryville.ca.mail.comcast.net ([76.96.30.80]:53354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8UO0-0005Fw-2L for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 07:36:56 -0500 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 Hi Christian, I think that is a very good point! >From the manual, the explanation of what is returned as a result using :results raw "raw The results are interpreted as raw Org mode code and are inserted directly into the buffer. If the results look like a table they will be aligned as such by Org mode. E.g., :results value raw." So, it doesn't say it will result in a table, but it will be aligned like a table! Whatever the case, the behavior of Clojure should be consistent with the other languages. Looking into the "old" set further, I find the :results header argument makes no difference: :results value :results value raw :results table (no header argument) All result in the same org table. So it looks like the old version was not behaving properly either. However, it was able to coerce the Clojure vector into an org table successfully. With the new system (version 8 org and CIDER), there are in fact 3 different results blocks: (no header argument) #+RESULTS: : [1 2 3 4] :results value raw #+RESULTS: [1 2 3 4] :results value #+RESULTS: : [1 2 3 4] :results table #+RESULTS: | [1 2 3 4] | Christian, could you try :results table with Python and reply back with the #+RESULTS:? Regards, Greg On Wed, 2014-01-29 at 08:57 +0100, Christian Moe wrote: > Hi, > > I don't use Clojure so I may get this wrong, but: isn't this what you > would expect with `:results raw'? > > Cf. these Python examples: > > #+begin_src python :results raw > a = (1, 2, 3) > return a > #+end_src > > #+RESULTS: > (1, 2, 3) > > #+begin_src python > a = (1, 2, 3) > return a > #+end_src > > #+RESULTS: > | 1 | 2 | 3 | > > Yours, > Christian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 13:58:02 +0100 Message-ID: References: <1390915384.2241.11.camel@raven-CM5571> <1390998988.2272.12.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8UfU-0008QQ-Jt for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 07:55:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8UfL-0001oY-7p for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 07:55:00 -0500 Received: from mail-forward4.uio.no ([2001:700:100:10::33]:41204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8UfL-0001oF-0a for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 07:54:51 -0500 Received: from exim by mail-out4.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1W8UfJ-0008OS-0u for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 13:54:49 +0100 In-reply-to: <1390998988.2272.12.camel@raven-CM5571> 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: Soapy Smith Cc: emacs-orgmode@gnu.org Soapy Smith writes: > Christian, could you try :results table with Python and reply back with > the #+RESULTS:? Same as the default, i.e. a table, as expected. #+RESULTS: | 1 | 2 | 3 | The Babel/Clojure behavior you report does seem buggy. I'm afraid I can't be of further help, but hopefully others will pick up on this. Yours, Christian From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soapy Smith Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 08:06:20 -0500 Message-ID: <1391000780.2272.18.camel@raven-CM5571> References: <1390915384.2241.11.camel@raven-CM5571> <1390998988.2272.12.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Ur1-0002ri-8O for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 08:07:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8Uqs-0006HW-OP for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 08:06:55 -0500 Received: from qmta02.westchester.pa.mail.comcast.net ([76.96.62.24]:39116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Uqs-0006H5-K1 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 08:06:46 -0500 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 Yes, I agree the Clojure behavior is not quite correct. But all the functionality is there if both the old and new are combined. I think only a rearrangement of existing code is required. I like the idea of comparing to the behavior of Python code blocks. I've got a Coursera class coming up which will use Python, so I need to get it set it up here. Thank you for the assistance! Greg On Wed, 2014-01-29 at 13:58 +0100, Christian Moe wrote: > Soapy Smith writes: > > > Christian, could you try :results table with Python and reply back with > > the #+RESULTS:? > > Same as the default, i.e. a table, as expected. > #+RESULTS: > | 1 | 2 | 3 | > > The Babel/Clojure behavior you report does seem buggy. > > I'm afraid I can't be of further help, but hopefully others will pick up > on this. > > Yours, > Christian From mboxrd@z Thu Jan 1 00:00:00 1970 From: "o.castillo.felisola@gmail.com" Subject: Re: How to use ox-bibtex Date: Wed, 29 Jan 2014 11:16:57 -0300 Message-ID: References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> <52E7A4BF.8060507@krugs.de> <87ppnb4jo9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b15af1bf05a9e04f11c973b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Vwr-0000lC-28 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 09:17:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8Vwp-0005CR-G2 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 09:17:00 -0500 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:65491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Vwp-0005Bc-4T for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 09:16:59 -0500 Received: by mail-pd0-f178.google.com with SMTP id y13so1735979pdi.23 for ; Wed, 29 Jan 2014 06:16:57 -0800 (PST) In-Reply-To: <87ppnb4jo9.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 --047d7b15af1bf05a9e04f11c973b Content-Type: text/plain; charset=ISO-8859-1 I finally did it!!!!!!! (with your help of course). Thank you. A single doubt is left... the bibtex compilation is not performed during the exportation process, should be done manually, Am I write? **** For completeness **** $ cd ~/.emacs.d/ Either create the repository $ git clone git://orgmode.org/org-mode.git $ cd org-mode or update it $ cd org-mode $make up1 Then compile the sources $ make all $ sudo make install After this... I followed the advice of Eric, open an emacs session without personal configuration $ make vanilla in the emacs session evaluate one line at the time, for that use =M-:= (add-to-list 'load-path "contrib/lisp/") (require 'ox-bibtex) Finally, open the =ox-bibtex-example.org= and export it!!! I did the work for me, however, the bibtex compilation should be done by hand. Cheers. On Tue, Jan 28, 2014 at 11:16 PM, Eric Schulte wrote: > There is not enough information to address your bug. Please read [1] > and re-send. It sounds to me like your installation may be bad, in > which case it may also be worthwhile to read [2]. > > Best, > > Footnotes: > [1] http://orgmode.org/org.html#Feedback > > [2] > http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development > > -- > Eric Schulte > https://cs.unm.edu/~eschulte > PGP: 0x614CA05D > -- _____________________________________ Oscar Castillo-Felisola. Grupo de Fisica Teorica. UTFSM -- CCTVal. Av. Espana, 1680, Valparaiso-Chile. ______________________________________ --047d7b15af1bf05a9e04f11c973b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I finally did it!!!!!!! (wit= h your help of course).

Thank you.

A single doubt= is left... the bibtex compilation is not performed during the exportation = process, should be done manually, Am I write?

**** For completeness ****

$ cd ~/.emacs.d/

<= /div>
Either create the repository

$ git clone git://orgmode.org/org-mode.git
$ cd org-mode

or update it
=
$ cd org-mode
$make up1

Then= compile the sources

$ make all
$ sudo make= install

After this... I followed the advice of Eric,=A0 open an emac= s session without personal configuration

$ make vanilla
in the emacs session evaluate one line at the time, for th= at use =3DM-:=3D

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

Finally, open the =3Dox-bibtex-example.org=3D and export it!!!
I did the work for me, however, the bibtex compilation shoul= d be done by hand.

Cheers.


On Tue, Jan 28, 2014 at 11:1= 6 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
There is not enough information to address y= our bug. =A0Please read [1]
and re-send. =A0It sounds to me like your installation may be bad, in
which case it may also be worthwhile to read [2].

Best,

Footnotes:
[1] =A0h= ttp://orgmode.org/org.html#Feedback

[2] =A0http://orgmode.org/worg/org-faq.ht= ml#keeping-current-with-Org-mode-development

--
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
--047d7b15af1bf05a9e04f11c973b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to use ox-bibtex Date: Wed, 29 Jan 2014 09:46:15 -0500 Message-ID: <87fvo67snc.fsf@gmail.com> References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> <52E7A4BF.8060507@krugs.de> <87ppnb4jo9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8WPT-0004M7-64 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 09:46:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8WPL-0007NO-SY for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 09:46:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:52090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8WPL-0007NC-Kf for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 09:46:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W8WPK-0002aN-AD for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 15:46:26 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jan 2014 15:46:26 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jan 2014 15:46:26 +0100 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: emacs-orgmode@gnu.org "o.castillo.felisola@gmail.com" writes: > A single doubt is left... the bibtex compilation is not performed > during the exportation process, should be done manually, Am I write? > You can customize org-latex-pdf-process to do what you want. By default, it does three pdflatex runs in a row. If texi2dvi works for you, it might be preferable. But you can always add a bibtex run after the first pdflatex run. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 08:02:19 -0700 Message-ID: <87d2ja4yro.fsf@gmail.com> References: <1390915384.2241.11.camel@raven-CM5571> <1390998988.2272.12.camel@raven-CM5571> <1391000780.2272.18.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Wgm-0000ba-O6 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 10:04:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8Wgh-0006De-Hn for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 10:04:28 -0500 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:50042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Wgh-0006DW-AK for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 10:04:23 -0500 Received: by mail-pd0-f175.google.com with SMTP id w10so1778864pde.6 for ; Wed, 29 Jan 2014 07:04:22 -0800 (PST) In-Reply-To: <1391000780.2272.18.camel@raven-CM5571> (Soapy Smith's message of "Wed, 29 Jan 2014 08:06:20 -0500") 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: Soapy Smith Cc: emacs-orgmode@gnu.org, Christian Moe Soapy Smith writes: > Yes, I agree the Clojure behavior is not quite correct. But all the > functionality is there if both the old and new are combined. I think > only a rearrangement of existing code is required. > Try evaluating the following and see how it works. This simply copies the results handling from the slime backend to the cider backend (which currently does not appear to have any results handling). While you're at it the nrepl results handling looks broken to me as well. Maybe Bastien (who I believe wrote or committed this code) can help. (defun org-babel-execute:clojure (body params) "Execute a block of Clojure code with Babel." (let ((expanded (org-babel-expand-body:clojure body params))) (case org-babel-clojure-backend (cider (require 'cider) (let ((result (or (nth 1 (nrepl-send-string-sync expanded (cider-current-ns) (nrepl-current-tooling-session))) (error "nREPL not connected! Use M-x cider-jack-in RET")))) (org-babel-result-cond (cdr (assoc :result-params params)) result (condition-case nil (org-babel-script-escape result) (error result))))) (nrepl (require 'nrepl) (if (nrepl-current-connection-buffer) (let* ((result (nrepl-eval expanded)) (s (plist-get result :stdout)) (r (plist-get result :value))) (if s (concat s "\n" r) r)) (error "nREPL not connected! Use M-x nrepl-jack-in RET"))) (slime (require 'slime) (with-temp-buffer (insert expanded) ((lambda (result) (let ((result-params (cdr (assoc :result-params params)))) (org-babel-result-cond result-params result (condition-case nil (org-babel-script-escape result) (error result))))) (slime-eval `(swank:eval-and-grab-output ,(buffer-substring-no-properties (point-min) (point-max))) (cdr (assoc :package params))))))))) I don't have clojure installed locally and can't test. Best, > > I like the idea of comparing to the behavior of Python code blocks. > I've got a Coursera class coming up which will use Python, so I need to > get it set it up here. > > Thank you for the assistance! > Greg > > On Wed, 2014-01-29 at 13:58 +0100, Christian Moe wrote: >> Soapy Smith writes: >> >> > Christian, could you try :results table with Python and reply back with >> > the #+RESULTS:? >> >> Same as the default, i.e. a table, as expected. >> #+RESULTS: >> | 1 | 2 | 3 | >> >> The Babel/Clojure behavior you report does seem buggy. >> >> I'm afraid I can't be of further help, but hopefully others will pick up >> on this. >> >> Yours, >> Christian > > > -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 16:28:15 +0100 Message-ID: <87r47qrenk.fsf@bzg.ath.cx> References: <1390915384.2241.11.camel@raven-CM5571> <1390998988.2272.12.camel@raven-CM5571> <1391000780.2272.18.camel@raven-CM5571> <87d2ja4yro.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8X40-0000lA-Uv for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 10:28:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8X3s-0005q6-E1 for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 10:28:28 -0500 Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]:64225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8X3s-0005pw-6h for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 10:28:20 -0500 Received: by mail-ea0-f176.google.com with SMTP id h14so989481eaj.21 for ; Wed, 29 Jan 2014 07:28:19 -0800 (PST) In-Reply-To: <87d2ja4yro.fsf@gmail.com> (Eric Schulte's message of "Wed, 29 Jan 2014 08:02:19 -0700") 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: Soapy Smith , emacs-orgmode@gnu.org, Christian Moe Eric Schulte writes: > Try evaluating the following and see how it works. It works fine for me: ,---- | #+BEGIN_SRC clojure :results table | (map #(* %1 3) '(1 2 3)) | #+END_SRC | | #+RESULTS: | | 3 | 6 | 9 | `---- > This simply copies > the results handling from the slime backend to the cider backend (which > currently does not appear to have any results handling). While you're > at it the nrepl results handling looks broken to me as well. Yep. Greg, please test Eric's function above for all your use cases and let us know if it covers them all -- then I'll fix this and the nrepl case too. Thanks Eric! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phill Wolf Subject: Re: Clojure Code Block Results not Tabularized Date: Wed, 29 Jan 2014 18:40:04 -0500 Message-ID: References: <1390915384.2241.11.camel@raven-CM5571> <1390998988.2272.12.camel@raven-CM5571> <1391000780.2272.18.camel@raven-CM5571> <87d2ja4yro.fsf@gmail.com> <87r47qrenk.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdca354d3bf7804f12475a9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8ejm-00079X-6V for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 18:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8ejl-0004xZ-Cd for emacs-orgmode@gnu.org; Wed, 29 Jan 2014 18:40:06 -0500 In-Reply-To: <87r47qrenk.fsf@bzg.ath.cx> 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: Bastien Cc: Soapy Smith , emacs-orgmode@gnu.org, Christian Moe , Eric Schulte --047d7bdca354d3bf7804f12475a9 Content-Type: text/plain; charset=UTF-8 It is better. To really stress it, I tried a two-row table: #+begin_src clojure :results table [[:ny :nj :ct] [ 7 9 4]] #+end_src #+RESULTS: | :ny | :nj | :ct | | 7 | 9 | 4 | On Wed, Jan 29, 2014 at 10:28 AM, Bastien wrote: > Eric Schulte writes: > > > Try evaluating the following and see how it works. > > It works fine for me: > > ,---- > | #+BEGIN_SRC clojure :results table > | (map #(* %1 3) '(1 2 3)) > | #+END_SRC > | > | #+RESULTS: > | | 3 | 6 | 9 | > `---- > > > This simply copies > > the results handling from the slime backend to the cider backend (which > > currently does not appear to have any results handling). While you're > > at it the nrepl results handling looks broken to me as well. > > Yep. > > Greg, please test Eric's function above for all your use cases and let > us know if it covers them all -- then I'll fix this and the nrepl case > too. > > Thanks Eric! > > -- > Bastien > > --047d7bdca354d3bf7804f12475a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It is better.=C2=A0 To really stress it, I tried a two-row= table:

#+begin_src clojure :results table
=C2=A0 [[:ny :nj :ct]<= br>=C2=A0=C2=A0 [=C2=A0 7=C2=A0=C2=A0 9=C2=A0=C2=A0 4]]
#+end_src
#+RESULTS:
| :ny | :nj | :ct |
|=C2=A0=C2=A0 7 |=C2=A0=C2=A0 9 |=C2= =A0=C2=A0 4 |


On Wed, Jan 2= 9, 2014 at 10:28 AM, Bastien <bzg@gnu.org> wrote:
Eric Schulte <schulte.eric@gmail.com> writes:

> Try evaluating the following and see how it works.

It works fine for me:

,----
| #+BEGIN_SRC clojure :results table
| (map #(* %1 3) '(1 2 3))
| #+END_SRC
|
| #+RESULTS:
| | 3 | 6 | 9 |
`----

> This simply copies
> the results handling from the slime backend to the cider backend (whic= h
> currently does not appear to have any results handling). =C2=A0While y= ou're
> at it the nrepl results handling looks broken to me as well.

Yep.

Greg, please test Eric's function above for all your use cases and let<= br> us know if it covers them all -- then I'll fix this and the nrepl case<= br> too.

Thanks Eric!

--
=C2=A0Bastien


--047d7bdca354d3bf7804f12475a9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ahmadou Dicko Subject: Re: How to use ox-bibtex Date: Thu, 30 Jan 2014 10:02:49 +0000 Message-ID: References: <871tzuy2k3.fsf@gmail.com> <87r47tv5tq.fsf@gmail.com> <52E76B2F.1040109@krugs.de> <52E7A4BF.8060507@krugs.de> <87ppnb4jo9.fsf@gmail.com> <87fvo67snc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c383c6f3378c04f12d2810 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8oSS-00029Z-B2 for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 05:03:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8oSQ-0001MS-RP for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 05:02:52 -0500 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:48883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8oSQ-0001MI-HF for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 05:02:50 -0500 Received: by mail-wg0-f45.google.com with SMTP id n12so5680937wgh.0 for ; Thu, 30 Jan 2014 02:02:49 -0800 (PST) In-Reply-To: <87fvo67snc.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: Nick Dokos Cc: emacs-orgmode --001a11c383c6f3378c04f12d2810 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can also use latexmkwhich was designed to solve this kind of problem. I have this in my init.el (setq org-latex-pdf-process '("latexmk -pdflatex=3Dxelatex -pdf -latexoption=3D-shell-escape %f")= ) On Wed, Jan 29, 2014 at 2:46 PM, Nick Dokos wrote: > "o.castillo.felisola@gmail.com" writes: > > > > A single doubt is left... the bibtex compilation is not performed > > during the exportation process, should be done manually, Am I write? > > > > You can customize org-latex-pdf-process to do what you want. > By default, it does three pdflatex runs in a row. If texi2dvi > works for you, it might be preferable. But you can always add > a bibtex run after the first pdflatex run. > > Nick > > > --=20 Ahmadou H. DICKO statistician economist (Ing=E9nieur Statisticien =C9conomiste) PhD candidate in Climate change economics Faculty of economics and managment - Cheikh Anta Diop University West African Science Service Center on Climate Change and Adaptated Land Use (WASCAL) Center for Development Research (ZEF) - University of Bonn email : ahmadou.dicko@ucad.edu.sn twitter : @dickoah github : github/dickoa tel : +221 33 827 55 16 portable: +221 77 123 81 69 --001a11c383c6f3378c04f12d2810 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
You=A0 can also use=A0 latexmk which was designed to solve t= his kind of problem.
I have this in my init.el

(setq org-latex-pd= f-process
=A0=A0=A0=A0=A0 '("latexmk -pdflatex=3Dxelatex -pdf -latexoption= =3D-shell-escape %f"))


On Wed, Jan 29, 2014 at 2:46 PM, Nick Dokos <nd= okos@gmail.com> wrote:
"o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.co= m> writes:


> A single doubt is left... the bibtex compilation is not performed
> during the exportation process, should be done manually, Am I write? >

You can customize org-latex-pdf-process to do what you want.
By default, it does three pdflatex runs in a row. If texi2dvi
works for you, it might be preferable. But you can always add
a bibtex run after the first pdflatex run.

Nick





--
Ahmadou H. DICKO
statistician economist (Ing=E9nieur Statistici= en =C9conomiste)
PhD candidate in Climate change economics
Faculty of= economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated Land Us= e (WASCAL)
Center for Development Research (ZEF) - University of Bonn email : ah= madou.dicko@ucad.edu.sn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 = 77 123 81 69
--001a11c383c6f3378c04f12d2810-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Clojure Code Block Results not Tabularized Date: Thu, 30 Jan 2014 12:11:53 +0100 Message-ID: <87ob2t7mh2.fsf@bzg.ath.cx> References: <1390915384.2241.11.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8pXT-000513-P4 for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 06:12:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8pXK-0006Sc-Ht for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 06:12:07 -0500 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:59914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8pXJ-0006SN-LX for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 06:11:58 -0500 Received: by mail-la0-f44.google.com with SMTP id hm7so2436337lab.17 for ; Thu, 30 Jan 2014 03:11:56 -0800 (PST) In-Reply-To: <1390915384.2241.11.camel@raven-CM5571> (Soapy Smith's message of "Tue, 28 Jan 2014 08:23:04 -0500") 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: Soapy Smith Cc: emacs-orgmode@gnu.org Hi Greg, Soapy Smith writes: > The problem is that the results inserted into the org document should be > tabularized. This should now be fixed in master -- thanks for further testing, and thanks to Eric for giving the solution. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soapy Smith Subject: Re: Clojure Code Block Results not Tabularized Date: Thu, 30 Jan 2014 08:46:16 -0500 Message-ID: <1391089576.2290.3.camel@raven-CM5571> References: <1390915384.2241.11.camel@raven-CM5571> <87ob2t7mh2.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8rxE-0001eN-TG for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 08:47:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8rx5-00082b-Fy for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 08:46:52 -0500 Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]:57919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8rx5-00082N-Bl for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 08:46:43 -0500 In-Reply-To: <87ob2t7mh2.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Great news! I will update my system to the master. I will create an org file with permutations of the :results option and export to LaTeX and HTML. Perhaps even compare to Python behavior. I will attempt to push the test files to github later today. I need the git practice! Regards, Greg On Thu, 2014-01-30 at 12:11 +0100, Bastien wrote: > Hi Greg, > > Soapy Smith writes: > > > The problem is that the results inserted into the org document should be > > tabularized. > > This should now be fixed in master -- thanks for further testing, > and thanks to Eric for giving the solution. > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soapy Smith Subject: Re: Clojure Code Block Results not Tabularized Date: Thu, 30 Jan 2014 20:58:28 -0500 Message-ID: <1391133508.2290.16.camel@raven-CM5571> References: <1390915384.2241.11.camel@raven-CM5571> <87ob2t7mh2.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W93Nl-0001FJ-CP for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 20:59:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W93Ne-0000F7-Pm for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 20:59:01 -0500 Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]:44292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W93Ne-0000F2-Kw for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 20:58:54 -0500 In-Reply-To: <87ob2t7mh2.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Here are the files from testing of Clojure code blocks with the latest master: https://github.com/Greg-R/org-babel-clojure-tests?source=cc The PDF file is the result of a LaTeX export. The code blocks were forced to appear as they do in the org file by wrapping them in begin_example/end_example. Is there a way to get the complete code blocks exported in an entire org file using a global option? Python code blocks are used for comparison. There were some differences. The coercion to tables (where appropriate) is working well. Regards, Greg On Thu, 2014-01-30 at 12:11 +0100, Bastien wrote: > Hi Greg, > > Soapy Smith writes: > > > The problem is that the results inserted into the org document should be > > tabularized. > > This should now be fixed in master -- thanks for further testing, > and thanks to Eric for giving the solution. > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Clojure Code Block Results not Tabularized Date: Fri, 31 Jan 2014 10:11:50 +0100 Message-ID: <87eh3oms6h.fsf@bzg.ath.cx> References: <1390915384.2241.11.camel@raven-CM5571> <87ob2t7mh2.fsf@bzg.ath.cx> <1391133508.2290.16.camel@raven-CM5571> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9A8o-0008Er-JE for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 04:12:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9A8g-00069F-6S for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 04:12:02 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:57086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9A8f-000699-Uc for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 04:11:54 -0500 Received: by mail-wg0-f52.google.com with SMTP id b13so8137846wgh.31 for ; Fri, 31 Jan 2014 01:11:53 -0800 (PST) In-Reply-To: <1391133508.2290.16.camel@raven-CM5571> (Soapy Smith's message of "Thu, 30 Jan 2014 20:58:28 -0500") 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: Soapy Smith Cc: emacs-orgmode@gnu.org Hi Greg, Soapy Smith writes: > Is there a way to get the > complete code blocks exported in an entire org file using a global > option? I think you want :export both -- see tangle export options in the manual. > Python code blocks are used for comparison. There were some > differences. Please report further bugs -- thanks! -- Bastien