emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH]  org-bibtex, add crossref option to bibtex incollection
@ 2011-05-02  2:39 Thomas S. Dye
  2011-05-02 16:29 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas S. Dye @ 2011-05-02  2:39 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

Aloha all,

Org-bibtex is working out nicely.  The crossref field was defined in  
org-bibtex, but not used.

The attached patches add the crossref field to reference types that  
might use it.

All the best,
Tom


[-- Attachment #2: 0002-lisp-org-bibtex.el-Added-crossref-field-to-other-fie.patch --]
[-- Type: application/octet-stream, Size: 1499 bytes --]

From 0b114d137f66ac20a7bca16e0a3a13d9aab7723e Mon Sep 17 00:00:00 2001
From: Tom Dye <tsd@tsdye.com>
Date: Sun, 1 May 2011 16:35:24 -1000
Subject: [PATCH 2/2] * lisp/org-bibtex.el: Added crossref field to other fields

---
 lisp/org-bibtex.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el
index 6859527..b7a1c4a 100644
--- a/lisp/org-bibtex.el
+++ b/lisp/org-bibtex.el
@@ -143,7 +143,7 @@
     (:inbook
      (:description . "A part of a book, which may be a chapter (or section or whatever) and/or a range of pages.")
      (:required (:author :editor) :title (:chapter :pages) :publisher :year)
-     (:optional (:volume :number) :series :type :address :edition :month :note))
+     (:optional :crossref (:volume :number) :series :type :address :edition :month :note))
     (:incollection
      (:description . "A part of a book having its own title.")
      (:required :author :title :booktitle :publisher :year)
@@ -151,7 +151,7 @@
     (:inproceedings
      (:description . "An article in a conference proceedings")
      (:required :author :title :booktitle :year)
-     (:optional :editor (:volume :number) :series :pages :address :month :organization :publisher :note))
+     (:optional :crossref :editor (:volume :number) :series :pages :address :month :organization :publisher :note))
     (:manual
      (:description . "Technical documentation.")
      (:required :title)
-- 
1.7.1


[-- Attachment #3: 0001-lisp-org-bibtex.el-Add-crossref-option-to-incollecti.patch --]
[-- Type: application/octet-stream, Size: 994 bytes --]

From 92f4bbad0d4d17179ad43edb5eed94738c0b2386 Mon Sep 17 00:00:00 2001
From: Tom Dye <tsd@tsdye.com>
Date: Sun, 1 May 2011 16:20:33 -1000
Subject: [PATCH 1/2] * lisp/org-bibtex.el: Add crossref option to incollection

---
 lisp/org-bibtex.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el
index f4614fb..6859527 100644
--- a/lisp/org-bibtex.el
+++ b/lisp/org-bibtex.el
@@ -147,7 +147,7 @@
     (:incollection
      (:description . "A part of a book having its own title.")
      (:required :author :title :booktitle :publisher :year)
-     (:optional :editor (:volume :number) :series :type :chapter :pages :address :edition :month :note))
+     (:optional :crossref :editor (:volume :number) :series :type :chapter :pages :address :edition :month :note))
     (:inproceedings
      (:description . "An article in a conference proceedings")
      (:required :author :title :booktitle :year)
-- 
1.7.1


[-- Attachment #4: Type: text/plain, Size: 3 bytes --]





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

* Re: [PATCH]  org-bibtex, add crossref option to bibtex incollection
  2011-05-02  2:39 [PATCH] org-bibtex, add crossref option to bibtex incollection Thomas S. Dye
@ 2011-05-02 16:29 ` Eric Schulte
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2011-05-02 16:29 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org Mode

Hi Tom,

Thanks for sharing these updates, I've just applied them.

Best -- Eric

"Thomas S. Dye" <tsd@tsdye.com> writes:

> Aloha all,
>
> Org-bibtex is working out nicely.  The crossref field was defined in
> org-bibtex, but not used.
>
> The attached patches add the crossref field to reference types that
> might use it.
>
> All the best,
> Tom
>
>
>
>
>
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

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

end of thread, other threads:[~2011-05-02 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-02  2:39 [PATCH] org-bibtex, add crossref option to bibtex incollection Thomas S. Dye
2011-05-02 16:29 ` Eric Schulte

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