From: Ken Mankoff <mankoff@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Citations and references in ODT
Date: Mon, 13 Jan 2014 10:49:28 -0500 [thread overview]
Message-ID: <CAFdBzEp2EJ3BO1t4HzjLTWBuS=Xu7m3gnSKw5Cw3NMx-kB5KdA@mail.gmail.com> (raw)
In-Reply-To: <87eh4c4ckg.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]
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 <ndokos@gmail.com> wrote:
> Ken Mankoff <mankoff@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
>
>
>
[-- Attachment #2: Type: text/html, Size: 1748 bytes --]
next prev parent reply other threads:[~2014-01-13 15:49 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 18:10 Citations and references in ODT Ken Mankoff
2014-01-10 20:24 ` Aric
2014-01-11 4:31 ` Jambunathan K
2014-01-11 12:59 ` Ken Mankoff
2014-01-11 13:53 ` Jambunathan K
2014-01-11 14:13 ` Ken Mankoff
2014-01-14 0:18 ` Aric Gregson
2014-01-13 2:51 ` Ken Mankoff
2014-01-13 6:31 ` Nick Dokos
2014-01-13 15:49 ` Ken Mankoff [this message]
2014-01-14 0:16 ` Aric Gregson
2014-01-14 9:16 ` Jambunathan K
2014-01-14 19:10 ` Aric Gregson
2014-01-15 12:26 ` Ken Mankoff
2014-01-16 21:31 ` Aric Gregson
2014-01-19 5:46 ` Jambunathan K
2014-01-21 1:25 ` Aric Gregson
2014-01-23 14:18 ` Jambunathan K
2014-01-23 14:31 ` Jambunathan K
2014-01-14 8:56 ` Jambunathan K
2014-01-14 0:59 ` Aric Gregson
2014-01-14 9:24 ` Jambunathan K
2014-01-14 19:14 ` Aric Gregson
2014-01-11 4:38 ` Jambunathan K
2014-01-11 12:35 ` Christopher Kotfila
2014-01-14 0:17 ` Aric Gregson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFdBzEp2EJ3BO1t4HzjLTWBuS=Xu7m3gnSKw5Cw3NMx-kB5KdA@mail.gmail.com' \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).