unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16781: 24.3; bibtex required fields
@ 2014-02-17 16:12 Per Starbäck
  2014-02-17 18:09 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Per Starbäck @ 2014-02-17 16:12 UTC (permalink / raw)
  To: 16781

In GNU Emacs 24.3.1,
bibtex-biblatex-entry-alist in lisp/textmodes/bibtex.el tells about
required and optional fields in biblatex, refering to biblatex
documentation.

In the development version of biblatex this was recently changed in the edit
https://github.com/plk/biblatex/commit/b23f504d9138feb4faa2148de6e059d43c43405c

This diff follows suite for Emacs:

----------------------------------------------------------------------
$ diff -u /local/src/emacs-24.3/lisp/textmodes/bibtex.el bibtex-fixed.el
--- /local/src/emacs-24.3/lisp/textmodes/bibtex.el	2013-01-01 21:37:17.000000000 +0100
+++ bibtex-fixed.el	2014-02-17 17:06:19.147293472 +0100
@@ -546,9 +546,9 @@
       ("location") ("isbn") ("pagetotal") ("addendum") ("pubstate") ("doi")
       ("eprint") ("eprintclass") ("eprinttype") ("url") ("urldate")))
     ("InCollection" "Article in a Collection"
-     (("author") ("editor") ("title") ("year" nil nil 0) ("date" nil nil 0))
+     (("author") ("title") ("year" nil nil 0) ("date" nil nil 0))
      (("booktitle"))
-     (("editora") ("editorb") ("editorc") ("translator") ("annotator")
+     (("editor") ("editora") ("editorb") ("editorc") ("translator") ("annotator")
       ("commentator") ("introduction") ("foreword") ("afterword")
       ("subtitle") ("titleaddon") ("maintitle") ("mainsubtitle")
       ("maintitleaddon") ("booksubtitle") ("booktitleaddon")
@@ -616,10 +616,11 @@
       ("addendum") ("pubstate") ("doi") ("eprint") ("eprintclass")
       ("eprinttype") ("url") ("urldate")))
     ("Proceedings" "Single-Volume Conference Proceedings"
-     (("editor") ("title") ("year" nil nil 0) ("date" nil nil 0))
+     (("title") ("year" nil nil 0) ("date" nil nil 0))
      nil
      (("subtitle") ("titleaddon") ("maintitle") ("mainsubtitle")
       ("maintitleaddon") ("eventtitle") ("eventdate") ("venue") ("language")
+      ("editor")
       ("volume") ("part") ("volumes") ("series") ("number") ("note")
       ("organization") ("publisher") ("location") ("month")
       ("isbn") ("chapter") ("pages") ("pagetotal") ("addendum") ("pubstate")
@@ -633,9 +634,9 @@
       ("isbn") ("pagetotal") ("addendum") ("pubstate")
       ("doi") ("eprint") ("eprintclass") ("eprinttype") ("url") ("urldate")))
     ("InProceedings" "Article in Conference Proceedings"
-     (("author") ("editor") ("title") ("year" nil nil 0) ("date" nil nil 0))
+     (("author") ("title") ("year" nil nil 0) ("date" nil nil 0))
      (("booktitle"))
-     (("subtitle") ("titleaddon") ("maintitle") ("mainsubtitle")
+     (("editor") ("subtitle") ("titleaddon") ("maintitle") ("mainsubtitle")
       ("maintitleaddon") ("booksubtitle") ("booktitleaddon")
       ("eventtitle") ("eventdate") ("venue") ("language")
       ("volume") ("part") ("volumes") ("series") ("number") ("note")
----------------------------------------------------------------------

There is actually nothing in biblatex that upholds this distinction
between required and optional arguments, so it's only a documentation
thing, and (as the documentation says), the bibliography styles can
actually handle data very well that lack for example these "required"
fields.

Because of that there's no need to wait for a released version
where this documentation change has taken place, I think. The biblatex
issue is at https://github.com/plk/biblatex/issues/199 for more details
about this.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#16781: 24.3; bibtex required fields
  2014-02-17 16:12 bug#16781: 24.3; bibtex required fields Per Starbäck
@ 2014-02-17 18:09 ` Glenn Morris
  2014-02-21 20:30   ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-02-17 18:09 UTC (permalink / raw)
  To: Per Starbäck; +Cc: 16781

Per Starbäck wrote:

> In the development version of biblatex this was recently changed in the edit

I'm a bit confused. You talk about both bibtex and biblatex.
bibtex is part of Emacs.
I thought biblatex was part of AUCTeX:
http://git.savannah.gnu.org/cgit/auctex.git/commit/style/biblatex.el

So I'm not sure whose github repository that is, nor why it says: "This
is the current home of biblatex as the status of the author of biblatex
is currently unclear."






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#16781: 24.3; bibtex required fields
  2014-02-17 18:09 ` Glenn Morris
@ 2014-02-21 20:30   ` Glenn Morris
  2014-02-24 11:23     ` Per Starbäck
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-02-21 20:30 UTC (permalink / raw)
  To: Per Starbäck; +Cc: 16781

Glenn Morris wrote:

>> In the development version of biblatex this was recently changed in the edit
>
> I'm a bit confused. You talk about both bibtex and biblatex.
> bibtex is part of Emacs.
> I thought biblatex was part of AUCTeX:
> http://git.savannah.gnu.org/cgit/auctex.git/commit/style/biblatex.el

Oh, duh, I get it now. You were talking about biblatex; for some
inexplicable reason I thought you were talking about biblatex.el.
I have no idea why I thought that...





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#16781: 24.3; bibtex required fields
  2014-02-21 20:30   ` Glenn Morris
@ 2014-02-24 11:23     ` Per Starbäck
  2014-02-28  6:51       ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Per Starbäck @ 2014-02-24 11:23 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16781

Glenn Morris wrote:
> Oh, duh, I get it now. You were talking about biblatex; for some
> inexplicable reason I thought you were talking about biblatex.el.
> I have no idea why I thought that...

I'm glad that confusion is over before I had time to reply.

> So I'm not sure whose github repository that is, nor why it says: "This
> is the current home of biblatex as the status of the author of biblatex
> is currently unclear."

Since those not into biblatex may wonder if this is the real deal I
should add here that it is indeed. This is what is part of CTAN and what
is distributed to TeX distributions like Tex Live and MikTeX.

My proposed change are about fields there always were optional in
bibtex, and are therefore are omitted in most bib files.

Even though biblatex always have managed without them just as fine as
bibtex its documentation (until now) said they were required, so
bibtex-biblatex-entry-alist requires them, and therefore (with default
settings) refuses to add entries without them.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#16781: 24.3; bibtex required fields
  2014-02-24 11:23     ` Per Starbäck
@ 2014-02-28  6:51       ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2014-02-28  6:51 UTC (permalink / raw)
  To: 16781-done

Version: 24.4

Applied.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-28  6:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17 16:12 bug#16781: 24.3; bibtex required fields Per Starbäck
2014-02-17 18:09 ` Glenn Morris
2014-02-21 20:30   ` Glenn Morris
2014-02-24 11:23     ` Per Starbäck
2014-02-28  6:51       ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).