From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: Let's discuss citation and Org syntax Date: Sat, 4 Jan 2014 11:17:06 +0100 Message-ID: References: <878v38cylw.fsf@pank.eu> <87k3eiz0zw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3fbf45bf64b04ef22553b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzOIM-0006D0-4e for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 05:17:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzOIK-0004AU-NG for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 05:17:30 -0500 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:55064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzOIK-0004AF-CE for emacs-orgmode@gnu.org; Sat, 04 Jan 2014 05:17:28 -0500 Received: by mail-wi0-f178.google.com with SMTP id bz8so1259965wib.11 for ; Sat, 04 Jan 2014 02:17:26 -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: John Hendy Cc: emacs-orgmode list , Rasmus , Eric Schulte --001a11c3fbf45bf64b04ef22553b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 ! 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. --001a11c3fbf45bf64b04ef22553b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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_C= LASS_OPTIONS: [captions=3Dtableheading]
#+LATEX_HEADER: \usepacka= ge[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...
#+E= ND_QUOTE

#+BIBLIOGRAPHY: minimal-bibliography plain option:-a

- Reproducible .emacs with what you currently have setup to get things work= ing

I do not know if this list ac= cept the attachment, but I know that in general, attachments are not welcom= e. So here is the minimal set up of org in my minimal init.el (I do not rep= roduce 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")
;;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\\&= #39;" . org-mode))

(global-set-key "\C-c= l" '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-i= switchb)

(require 'org)
(require = 9;ob-latex)
(require 'ox-latex)
(require 'org-mime)
(require 'ox-html)
(re= quire 'ox-ascii)
(require 'ox-org)
(require = 9;ox-bibtex)
=C2=A0
- The matching minimal bibliography file

<= div>Here is my minimal-bibliography.bib:=C2=A0

@Ar= ticle{tennant96,
=C2=A0 author =3D {Tennant, N.},
=C2=A0 title =3D {{The L= aw of Excluded Middle is Synthetic A Priori, if Valid}},
=C2=A0 j= ournal =3D {Philosophical Top= ics},
=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 language)


I am happy to tell you t= hat the export works in latex as well as in html ! Thanks to all !=C2=A0

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

<= div> Again, many many thanks !

Jo.=C2=A0



--001a11c3fbf45bf64b04ef22553b--