emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111575: * textmodes/reftex-cite.el (


From: Tassilo Horn
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111575: * textmodes/reftex-cite.el (reftex-format-citation): Add format
Date: Mon, 21 Jan 2013 13:14:56 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111575
committer: Tassilo Horn <address@hidden>
branch nick: trunk
timestamp: Mon 2013-01-21 13:14:56 +0100
message:
  * textmodes/reftex-cite.el (reftex-format-citation): Add format
  chars for note (%N) and url (%U).
  * textmodes/reftex-vars.el (reftex-cite-format): Document them.
modified:
  lisp/ChangeLog
  lisp/textmodes/reftex-cite.el
  lisp/textmodes/reftex-vars.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-01-21 10:45:20 +0000
+++ b/lisp/ChangeLog    2013-01-21 12:14:56 +0000
@@ -1,3 +1,9 @@
+2013-01-21  Tassilo Horn  <address@hidden>
+
+       * textmodes/reftex-cite.el (reftex-format-citation): Add format
+       chars for note (%N) and url (%U).
+       * textmodes/reftex-vars.el (reftex-cite-format): Document them.
+
 2013-01-21  Juri Linkov  <address@hidden>
 
        * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'

=== modified file 'lisp/textmodes/reftex-cite.el'
--- a/lisp/textmodes/reftex-cite.el     2013-01-01 09:11:05 +0000
+++ b/lisp/textmodes/reftex-cite.el     2013-01-21 12:14:56 +0000
@@ -1043,6 +1043,7 @@
                ((= l ?k) (reftex-get-bib-field "key" entry))
                ((= l ?m) (reftex-get-bib-field "month" entry))
                ((= l ?n) (reftex-get-bib-field "number" entry))
+              ((= l ?N) (reftex-get-bib-field "note" entry))
                ((= l ?o) (reftex-get-bib-field "organization" entry))
                ((= l ?p) (reftex-get-bib-field "pages" entry))
                ((= l ?P) (car (split-string
@@ -1050,6 +1051,7 @@
                                "[- .]+")))
                ((= l ?s) (reftex-get-bib-field "school" entry))
                ((= l ?u) (reftex-get-bib-field "publisher" entry))
+              ((= l ?U) (reftex-get-bib-field "url" entry))
                ((= l ?r) (reftex-get-bib-field "address" entry))
                ((= l ?t) (reftex-get-bib-field "title" entry))
                ((= l ?T) (reftex-abbreviate-title

=== modified file 'lisp/textmodes/reftex-vars.el'
--- a/lisp/textmodes/reftex-vars.el     2013-01-01 09:11:05 +0000
+++ b/lisp/textmodes/reftex-vars.el     2013-01-21 12:14:56 +0000
@@ -1125,12 +1125,12 @@
 %e   Works like %a, but on list of editor names. (%2e and %E work a well)
 
 It is also possible to access all other BibTeX database fields:
-%b booktitle     %c chapter        %d edition    %h howpublished
-%i institution   %j journal        %k key        %m month
-%n number        %o organization   %p pages      %P first page
-%r address       %s school         %u publisher  %t title
-%v volume        %y year
-%B booktitle, abbreviated          %T title, abbreviated
+%b booktitle     %c chapter   %d edition      %h howpublished
+%i institution   %j journal   %k key          %m month
+%n number        %N note      %o organization %p pages
+%P first page    %r address   %s school       %u publisher
+%U url           %t title     %v volume       %y year
+%B booktitle, abbreviated     %T title, abbreviated
 
 Usually, only %l is needed.  The other stuff is mainly for the echo area
 display, and for (setq reftex-comment-citations t).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]