Hi Pétùr,

Pétùr <[email protected]> writes:

> Hello everyone,
>
> For biblatex, there are \citeauthor and \citeyear but not \citetitle.
>
> For consistency and because lots of people use \citetitle especially in
> humanities where biblatex is popular ("in his famous book,
> \citetitle{babar}, \textcite{babar} defends...), I suggest you add
> \citetitle and \citetitle*. Keystroke "t" is already taken by \textcite,
> I suggest "i".

Thanks for your feedback.  I've patched biblatex.el acc. to your
suggestion, this change will be available to you with next ELPA release.

@Tassilo: Can you please apply the attached patch to Emacs master?  TIA.

Best, Arash

>From fdfcfbc541f49f77e7ee5b09d0ebba4e4e6c8d48 Mon Sep 17 00:00:00 2001
From: Arash Esbati <[email protected]>
Date: Thu, 26 Jan 2017 20:25:16 +0100
Subject: [PATCH] Add \citetitle to biblatex cite format

* lisp/textmodes/reftex-vars.el (reftex-cite-format-builtin): Add
\citetitle[*] to `reftex-cite-format' and bind them to keys i/I
per user request
http://lists.gnu.org/archive/html/auctex/2017-01/msg00049.html.
---
 lisp/textmodes/reftex-vars.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 63abd048e9..03da584e96 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -164,6 +164,8 @@ reftex-cite-format-builtin
       (?U    . "\\autocite*[][]{%l}")
       (?a    . "\\citeauthor{%l}")
       (?A    . "\\citeauthor*{%l}")
+      (?i    . "\\citetitle{%l}")
+      (?I    . "\\citetitle*{%l}")
       (?y    . "\\citeyear{%l}")
       (?Y    . "\\citeyear*{%l}")
       (?n    . "\\nocite{%l}")))
-- 
2.11.0

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to