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 <ndo...@gmail.com> wrote:

> Ken Mankoff <mank...@gmail.com> 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