emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Citations and references in ODT


From: Ken Mankoff
Subject: Re: [O] Citations and references in ODT
Date: Mon, 13 Jan 2014 10:49:28 -0500

Yes I just figured out I need the "." before the "?". It works now. I also made changes in both ox-odt.el and ox-jabref.el, everywhere that I found the \cite regex.

Works well now. Thank you!

   -k.



On Mon, Jan 13, 2014 at 1:31 AM, Nick Dokos <address@hidden> wrote:
Ken Mankoff <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]