From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Let's discuss citation and Org syntax Date: Sat, 4 Jan 2014 08:52:36 -0600 Message-ID: References: <878v38cylw.fsf@pank.eu> <87k3eiz0zw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0112cb56724ab704ef262d98 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzSad-0007I1-DY for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 09:52:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzSac-0005Sh-1i for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 09:52:39 -0500 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:44994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzSab-0005Sc-R1 for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 09:52:37 -0500 Received: by mail-oa0-f49.google.com with SMTP id i4so17111326oah.22 for ; Sat, 04 Jan 2014 06:52:37 -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: Joseph Vidal-Rosset Cc: emacs-orgmode , Eric Schulte , Rasmus --089e0112cb56724ab704ef262d98 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Jan 4, 2014 4:17 AM, "Joseph Vidal-Rosset" wrote: > > Dear John, > > Thanks for your efforts to help me. I have good news. > > 2014/1/3 John Hendy >> >> Can you post: >> - Minimal .org file > > > Here is a minimal-paper.org > > #+OPTIONS: LaTeX:verbatim > #+LaTeX_CLASS: article > #+LaTeX_CLASS_OPTIONS: [a4paper,twoside,twocolumn] > #+LaTeX_CLASS_OPTIONS: [captions=3Dtableheading] > #+LATEX_HEADER: \usepackage[AUTO]{inputenc} > #+LATEX_HEADER: \usepackage{fitch} > #+LATEX_HEADER: \usepackage{bussproofs} > #+LaTeX_CLASS: article > #+TITLE:Minimal reference > #+AUTHOR: Max IMIN > #+BEGIN_abstract > Mini test > #+END_abstract > #+OPTIONS: tex:imagemagick > * First section > > Tennant [[cite:tennant96]] wrote : > > #+BEGIN_QUOTE > quotation of Tennnant's paper... > #+END_QUOTE > > #+BIBLIOGRAPHY: minimal-bibliography plain option:-a > >> - Reproducible .emacs with what you currently have setup to get things working > > > I do not know if this list accept the attachment, but I know that in general, attachments are not welcome. So here is the minimal set up of org in my minimal init.el (I do not reproduce here what concerns bitex, biblatex, latex and reftex in this email): > > ;; org-mode > (add-to-list 'load-path "~/.emacs.d/elpa/org-20131230") > ;;r=C3=A9pertoire contrib : org-plus-contrib > (add-to-list 'load-path "~/.emacs.d/elpa/org-plus-contrib-20131230/") > > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) > > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-cc" 'org-capture) > (global-set-key "\C-ca" 'org-agenda) > (global-set-key "\C-cb" 'org-iswitchb) > > (require 'org) > (require 'ob-latex) > (require 'ox-latex) > (require 'org-mime) > (require 'ox-html) > (require 'ox-ascii) > (require 'ox-org) > (require 'ox-bibtex) > >> >> - The matching minimal bibliography file > > > Here is my minimal-bibliography.bib: > > @Article{tennant96, > author =3D {Tennant, N.}, > title =3D {{The Law of Excluded Middle is Synthetic A Priori, if Valid}= }, > journal =3D {Philosophical Topics}, > year =3D 1996, > number =3D 24, > pages =3D {241-266} > } > >> >> - Perhaps the output you want (in LaTeX or whatever output language) > > > > I am happy to tell you that the export works in latex as well as in html ! Thanks to all ! > A lovely post that will hopefully help many others down the road! Thanks for obliging :) Glad you got it working, John > Now just details , how to converts correctly the latex syntax : \cite[p. 1]{key} ? , and how is it possible to use easily reftex ? I do not succeed to find ebib very convenient. > > Again, many many thanks ! > > Jo. > > > --089e0112cb56724ab704ef262d98 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Jan 4, 2014 4:17 AM, "Joseph Vidal-Rosset" <joseph.vidal.rosset@gmail.com> wro= te:
>
> Dear John,
>
> Thanks for your efforts to help me. I have good news.=C2=A0
>
> 2014/1/3 John Hendy <jw.hendy= @gmail.com>
>>
>> Can you post:
>> - Minimal .org file
>
>
> Here is a minimal-paper.org= =C2=A0
>
> #+OPTIONS: LaTeX:verbatim
> #+LaTeX_CLASS: article
> #+LaTeX_CLASS_OPTIONS: [a4paper,twoside,twocolumn]
> #+LaTeX_CLASS_OPTIONS: [captions=3Dtableheading]
> #+LATEX_HEADER: \usepackage[AUTO]{inputenc}
> #+LATEX_HEADER: \usepackage{fitch}
> #+LATEX_HEADER: \usepackage{bussproofs}
> #+LaTeX_CLASS: article
> #+TITLE:Minimal reference
> #+AUTHOR: Max IMIN
> #+BEGIN_abstract
> =C2=A0Mini test
> #+END_abstract
> #+OPTIONS: tex:imagemagick
> * First section=C2=A0
>
> Tennant [[cite:tennant96]] wrote : =C2=A0
>
> #+BEGIN_QUOTE
> quotation of Tennnant's paper...
> #+END_QUOTE
>
> #+BIBLIOGRAPHY: minimal-bibliography plain option:-a
>
>> - Reproducible .emacs with what you currently have setup to get th= ings working
>
>
> I do not know if this list accept the attachment, but I know that in g= eneral, attachments are not welcome. So here is the minimal set up of org i= n my minimal init.el (I do not reproduce here what concerns bitex, biblatex= , latex and reftex in this email):=C2=A0
>
> ;; org-mode
> (add-to-list 'load-path "~/.emacs.d/elpa/org-20131230")<= br> > ;;r=C3=A9pertoire contrib : org-plus-contrib
> (add-to-list 'load-path "~/.emacs.d/elpa/org-plus-contrib-201= 31230/")
>
> (add-to-list 'auto-mode-alist '("\\.org\\'" . or= g-mode))
>
> (global-set-key "\C-cl" 'org-store-link)
> =C2=A0 =C2=A0 =C2=A0(global-set-key "\C-cc" 'org-capture= )
> =C2=A0 =C2=A0 =C2=A0(global-set-key "\C-ca" 'org-agenda)=
> =C2=A0 =C2=A0 =C2=A0(global-set-key "\C-cb" 'org-iswitch= b)
>
> (require 'org)
> (require 'ob-latex)
> (require 'ox-latex)
> (require 'org-mime)
> (require 'ox-html)
> (require 'ox-ascii)
> (require 'ox-org)
> (require 'ox-bibtex)
> =C2=A0
>>
>> - The matching minimal bibliography file
>
>
> Here is my minimal-bibliography.bib:=C2=A0
>
> @Article{tennant96,
> =C2=A0 author =3D {Tennant, N.},
> =C2=A0 title =3D {{The Law of Excluded Middle is Synthetic A Priori, i= f Valid}},
> =C2=A0 journal =3D {Philosophical Topics},
> =C2=A0 year =3D 1996,
> =C2=A0 number =3D 24,
> =C2=A0 pages =3D {241-266}
> }
> =C2=A0
>>
>> - Perhaps the output you want (in LaTeX or whatever output languag= e)
>
>
>
> I am happy to tell you that the export works in latex as well as in ht= ml ! Thanks to all !=C2=A0
>

A lovely post that will hopefully help many others down the = road! Thanks for obliging :)

Glad you got it working,
John

> Now just details , how to converts correctly the latex = syntax : \cite[p. 1]{key} ? , and how is it possible to use easily reftex ?= I do not succeed to find ebib very convenient.=C2=A0
>
> Again, many many thanks !
>
> Jo.=C2=A0
>
>
>

--089e0112cb56724ab704ef262d98--