From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: latex and bibliography? Date: Sat, 15 Jun 2013 23:28:06 -0400 Message-ID: <87y5aavint.fsf@pierrot.dokosmarshall.org> References: <87mwqriir0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uo3df-0001ZA-KV for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 23:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uo3de-00029T-NV for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 23:28:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:34175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uo3de-00029M-DJ for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 23:28:22 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uo3da-0000tz-Lu for emacs-orgmode@gnu.org; Sun, 16 Jun 2013 05:28:18 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Jun 2013 05:28:18 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 16 Jun 2013 05:28:18 +0200 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 Thorsten Jolitz writes: > Hi List, > > here is a minimal example of what I thought should work but does not: > > - org-bibtest.org > ,-------------------------- > | * chapter > | ** section > | \cite{west1995bayesian} > | ** section > | \bibliographystyle{plain} > | \bibliography{bibtest} > `-------------------------- > > - org-bibtest.bib > ,-------------------------------------------------------------------------- > | @article{west1995bayesian, > | title={Bayesian inference in cyclical component dynamic linear models}, > | author={West, Mike}, > | journal={Journal of the American Statistical Association}, > | volume={90}, > | number={432}, > | pages={1301--1312}, > | year={1995}, > | publisher={Taylor \& Francis Group} > | } > `-------------------------------------------------------------------------- > > => exports to ASCII buffer: I don't know much about references and bibliographies in org (there have been some discussions recently on the list I think but I haven't followed them), but AFAIK the \bibliography stuff is just text as far as org is concerned and is passed verbatim to the output file. It just happens that when the output file is processed through latex and friends, they can make some sense out of it. The rest of the world (org included and all its exporters) remains blissfully ignorant - that's my story in any case and until somebody proves me wrong, I'm sticking with it. > > ,--------------------------------------------------- > | _________________ > | > | ORG-BIBTEST > | > | Thorsten Jolitz > | _________________ > | > | > | Table of Contents > | _________________ > | > | 1 chapter > | .. 1.1 section > | .. 1.2 section > | > | > | 1 chapter > | ========= > | > | 1.1 section > | ~~~~~~~~~~~ > | > | \cite{west1995bayesian} > | > | > | 1.2 section > | ~~~~~~~~~~~ > | > | \bibliographystyle{plain} \bibliography{bibtest} > `--------------------------------------------------- > > Is that wrong use or am I not up-to-date? > > PS > using > ,-------------------------------- > | * chapter > | ** section > | #+LATEX:\cite{west1995bayesian} > | ** section > | #+begin_latex > | \bibliographystyle{plain} > | \bibliography{bibtest} > | #+end_latex > `-------------------------------- > > did not work either: > ,--------------------------------------------- > | _________________ > | > | ORG-BIBTEST > | > | Thorsten Jolitz > | _________________ > | > | > | Table of Contents > | _________________ > | > | 1 chapter > | .. 1.1 section > | .. 1.2 section > | > | > | 1 chapter > | ========= > | > | 1.1 section > | ~~~~~~~~~~~ > | > | > | 1.2 section > | ~~~~~~~~~~~ > | > `--------------------------------------------- > > -- > cheers, > Thorsten > > > -- Nick