aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/reftex-cite.el2
-rw-r--r--lisp/textmodes/reftex-vars.el12
3 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 194c76b28ca..60a69ad0236 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-01-21 Tassilo Horn <tsdh@gnu.org>
2
3 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4 chars for note (%N) and url (%U).
5 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
6
12013-01-21 Juri Linkov <juri@jurta.org> 72013-01-21 Juri Linkov <juri@jurta.org>
2 8
3 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized' 9 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index 3b294e62b01..079101b56ee 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -1043,6 +1043,7 @@ While entering the regexp, completion on knows citation keys is possible.
1043 ((= l ?k) (reftex-get-bib-field "key" entry)) 1043 ((= l ?k) (reftex-get-bib-field "key" entry))
1044 ((= l ?m) (reftex-get-bib-field "month" entry)) 1044 ((= l ?m) (reftex-get-bib-field "month" entry))
1045 ((= l ?n) (reftex-get-bib-field "number" entry)) 1045 ((= l ?n) (reftex-get-bib-field "number" entry))
1046 ((= l ?N) (reftex-get-bib-field "note" entry))
1046 ((= l ?o) (reftex-get-bib-field "organization" entry)) 1047 ((= l ?o) (reftex-get-bib-field "organization" entry))
1047 ((= l ?p) (reftex-get-bib-field "pages" entry)) 1048 ((= l ?p) (reftex-get-bib-field "pages" entry))
1048 ((= l ?P) (car (split-string 1049 ((= l ?P) (car (split-string
@@ -1050,6 +1051,7 @@ While entering the regexp, completion on knows citation keys is possible.
1050 "[- .]+"))) 1051 "[- .]+")))
1051 ((= l ?s) (reftex-get-bib-field "school" entry)) 1052 ((= l ?s) (reftex-get-bib-field "school" entry))
1052 ((= l ?u) (reftex-get-bib-field "publisher" entry)) 1053 ((= l ?u) (reftex-get-bib-field "publisher" entry))
1054 ((= l ?U) (reftex-get-bib-field "url" entry))
1053 ((= l ?r) (reftex-get-bib-field "address" entry)) 1055 ((= l ?r) (reftex-get-bib-field "address" entry))
1054 ((= l ?t) (reftex-get-bib-field "title" entry)) 1056 ((= l ?t) (reftex-get-bib-field "title" entry))
1055 ((= l ?T) (reftex-abbreviate-title 1057 ((= l ?T) (reftex-abbreviate-title
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index db08ca3a514..2a5c9c55866 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -1125,12 +1125,12 @@ In the format, the following percent escapes will be expanded.
1125%e Works like %a, but on list of editor names. (%2e and %E work a well) 1125%e Works like %a, but on list of editor names. (%2e and %E work a well)
1126 1126
1127It is also possible to access all other BibTeX database fields: 1127It is also possible to access all other BibTeX database fields:
1128%b booktitle %c chapter %d edition %h howpublished 1128%b booktitle %c chapter %d edition %h howpublished
1129%i institution %j journal %k key %m month 1129%i institution %j journal %k key %m month
1130%n number %o organization %p pages %P first page 1130%n number %N note %o organization %p pages
1131%r address %s school %u publisher %t title 1131%P first page %r address %s school %u publisher
1132%v volume %y year 1132%U url %t title %v volume %y year
1133%B booktitle, abbreviated %T title, abbreviated 1133%B booktitle, abbreviated %T title, abbreviated
1134 1134
1135Usually, only %l is needed. The other stuff is mainly for the echo area 1135Usually, only %l is needed. The other stuff is mainly for the echo area
1136display, and for (setq reftex-comment-citations t). 1136display, and for (setq reftex-comment-citations t).