From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: org-cite and org-citeproc Date: Tue, 31 Mar 2015 10:29:34 -1000 Message-ID: References: <87twx5hs2x.fsf@berkeley.edu> <871tk560p3.fsf@delle7240.chemeng.ucl.ac.uk> <878uedgeuq.fsf@berkeley.edu> <87iodh55b5.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd2nI-0007wQ-3a for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 16:29:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd2nE-0001jq-Pa for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 16:29:52 -0400 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:38170) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Yd2nE-0001hQ-IR for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 16:29:48 -0400 In-Reply-To: <87iodh55b5.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Tue, 31 Mar 2015 15:34:54 -0400") 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@gnu.org Aloha all, Nick Dokos writes: > Richard Lawrence writes: > >> However, there are a couple of other scenarios to think about: >> >> 1) Some people may still need to use plain BibTeX. Generating LaTeX >> that is intended to be processed with BibTeX, as opposed to BibLaTeX, is >> a little trickier, because (IIUC) BibTeX does not support multi-cite >> citations. > > I know next to nothing about citations in general, so please bear with > me: if multi-cite support means being able to condense citations (e.g. > [1-3, 5, 9]), then bibtex can do at least some of that > (e.g. http://texblog.org/2007/05/28/mulitple-reference-citation/). Multiple citations with natbib are limited in the sense that individual citations within them don't carry pre- and post-notes. BibLaTeX does away with this restriction. >> Also, I don't know how easy it would be to capture the other >> features of citations (e.g., the in-text vs. parenthetical distinction) >> without relying on a package like natbib. If generating >> BibTeX-compatible LaTeX is needed, is it OK to rely on such a package? >> > > IMO yes. IMO yes, too. The org-export-cite-add-citation-mode-latex function that Aaron Ecay wrote allows the author to choose (implicitly) which package to use. I like this design because it can accommodate new packages without changes to the Org mode code. ,------------------------------------------------------------------------- | Your comment inspired me to implement=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | org-export-cite-add-citation-mode-latex in the experimental citation=20= =20=20=20 | support I just pushed. So you can do:=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | (org-export-cite-add-citation-mode-latex "tsd"=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | "\\mycitecommand[%s][%s]{%s}" "\\myparencitecommand[%s][%s]{%s}")=20=20= =20=20=20=20=20 |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | Add to your document:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | #+CITATION_MODE: tsd=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | And citations should just work with your chosen commands. I=E2=80=99m su= re when | advanced citation support comes along (whether from subtypes or plists), | a similarly simple wrapper can be implemented.=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 `------------------------------------------------------------------------- I haven't found time to experiment with the citation developments or to read through the developing code base. Was this feature of Aaron's experimental support subsequently dropped? All the best, Tom --=20 Thomas S. Dye http://www.tsdye.com