From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Citation syntax: a revised proposal Date: Mon, 02 Mar 2015 19:02:48 +0000 Message-ID: <878uffi5nr.fsf@gmail.com> References: <87k2zjnc0e.fsf@berkeley.edu> <87bnkvm8la.fsf@berkeley.edu> <87zj8co3se.fsf@berkeley.edu> <87ioezooi2.fsf@berkeley.edu> <87mw4bpaiu.fsf@nicolasgoaziou.fr> <8761aznpiq.fsf@berkeley.edu> <87twyjnh0r.fsf@nicolasgoaziou.fr> <87oaopx24e.fsf@berkeley.edu> <87k2zd4f3w.fsf@nicolasgoaziou.fr> <87egpkv8g9.fsf@berkeley.edu> <877fv6xfaq.fsf@gmail.com> <87h9u8jr8i.fsf@gmail.com> <874mq3oahe.fsf@gmail.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]:58675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSVcP-00039y-PU for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 14:03:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSVcL-000354-LX for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 14:03:05 -0500 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:37942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSVcL-00034r-Ew for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 14:03:01 -0500 Received: by wgha1 with SMTP id a1so35431673wgh.5 for ; Mon, 02 Mar 2015 11:03:00 -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: "Thomas S. Dye" , emacs-orgmode@gnu.org Hi Tom, 2015ko martxoak 2an, "Thomas S. Dye"-ek idatzi zuen: >=20 > I'm not able to understand the full implications of subtypes > vs. plists, so don't have a preferred solution along those lines. >=20 > I brought this up in reaction to "This doesn't really work in org." >=20 > I'm hoping for an Org mode citation syntax where there is an analogous > org-add-cite-type function, so I only have to remember the syntax one > time and can forget about it when I'm writing. >=20 > Sorry if this is noise and thanks for your patience. Not noise at all. I think I understand where you are coming from better. Your comment inspired me to implement org-export-cite-add-citation-mode-latex in the experimental citation support I just pushed. So you can do: (org-export-cite-add-citation-mode-latex "tsd" "\\mycitecommand[%s][%s]{%s}= " "\\myparencitecommand[%s][%s]{%s}") Add to your document: #+CITATION_MODE: tsd And citations should just work with your chosen commands. I=E2=80=99m sure= when advanced citation support comes along (whether from subtypes or plists), a similarly simple wrapper can be implemented. I also found your discussion of citation modes vs. styles at illuminating, so thanks for that. --=20 Aaron Ecay