emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: "Clément B." <clement@inventati.org>
Cc: julian@hafro.is, Leonard Randall <leonard.a.randall@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: State of the art in citations
Date: Sun, 27 Apr 2014 10:41:16 -0400	[thread overview]
Message-ID: <m2eh0iesxf.fsf@gorgonzola.whoi.edu> (raw)
In-Reply-To: <87k3aaoo5d.fsf@gaillac.origami>

Hi Clément and Others,

On 2014-04-27 at 10:14, Clément B. wrote:
> (setq reftex-cite-format
>            '((?\C-m . "\\cite[]{%l}")
>              (?b . "[[ref:%l][%A (%y)]]")))

I've been using reftex in Org -> LaTeX for a while and have my Org text
sprinkled with \cite{foo:yyyy}. I just saw the customized
reftex-cite-format from Clément (above). It looks much nicer in the
text, but raises two questions:

1) Can the link just use lastname? It looks like %A is the only way to
access author names, and does full names, so perhaps not without writing
some custom function? And more importantly, 

2) When I export this to LaTeX, it is not treated as a proper LaTeX
citation. The text is just the "%A (%y)" part. Is there some way to
export so that the ref:%l turns into a \cite{%l}? 

Thanks,

  -k.

  reply	other threads:[~2014-04-27 14:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-26 16:56 Clément B.
2014-04-27 13:08 ` Leonard Randall
2014-04-27 14:14   ` Clément B.
2014-04-27 14:41     ` Ken Mankoff [this message]
2014-04-27 16:01     ` Thomas S. Dye
2014-04-27 16:16       ` Ken Mankoff
2014-04-27 16:57         ` Clément B.
2014-04-27 19:20           ` John Kitchin
2014-04-27 21:30             ` Clément B.
2014-04-28 13:57             ` Julian M. Burgos
2014-04-28 13:56   ` Julian M. Burgos
2014-04-29  9:30 ` Vikas Rawal Lists
2014-04-29 15:36   ` Richard Lawrence
2014-04-29  9:30 ` Vikas Rawal Lists
  -- strict thread matches above, loose matches on Subject: below --
2014-04-27 14:53 Clément B.
2014-04-27 15:26 ` Ken Mankoff
2014-04-27 16:05   ` Clément B.
2014-04-27 16:10     ` Ken Mankoff
2014-04-26 18:26 Clément B.
2014-04-28  1:53 ` Richard Lawrence
2014-04-25 12:11 Julian M. Burgos
2014-04-25 15:42 ` Grant Rettke

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=m2eh0iesxf.fsf@gorgonzola.whoi.edu \
    --to=mankoff@gmail.com \
    --cc=clement@inventati.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=julian@hafro.is \
    --cc=leonard.a.randall@gmail.com \
    --subject='Re: State of the art in citations' \
    /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

Code repositories for project(s) associated with this 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).