From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Citations and references in ODT Date: Mon, 13 Jan 2014 01:31:59 -0500 Message-ID: <87eh4c4ckg.fsf@gmail.com> References: <87zjn3gmvm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2b4P-0003Mo-S4 for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 01:32:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2b4I-0002Q2-3Q for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 01:32:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:43905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2b4H-0002Ph-T2 for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 01:32:14 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W2b4H-0004Ir-0Z for emacs-orgmode@gnu.org; Mon, 13 Jan 2014 07:32:13 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jan 2014 07:32:13 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Jan 2014 07:32:13 +0100 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 Ken Mankoff writes: > Hi, > > I find the ODT export very useful. Working on another document imported from LaTeX I have a lot of \citep{} and \citet{} in addition to \cite{}. Is it possible for ox-jabref.el to > support this even if it does not distinguish between the T and P? > > I edited the line near the bottom with the regex and changed > >          (value (∧ (string-match "\\\\cite{\\(.*?\\)}" latex-frag) > > to > >          (value (∧ (string-match "\\\\cite?{\\(.*?\\)}" latex-frag) > Try "\\\\cite[tp]?{\\(.*?\\)}" or "\\\\cite.?{\\(.*?\\)}"instead (untested). > But it did not help. > >    -k. > -- Nick