emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [PATCH]  org-bibtex, add crossref option to bibtex incollection
Date: Sun, 1 May 2011 16:39:30 -1000	[thread overview]
Message-ID: <F5409E33-320D-4DB1-8831-19C6615516FF@tsdye.com> (raw)

[-- 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 --]





             reply	other threads:[~2011-05-02  2:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02  2:39 Thomas S. Dye [this message]
2011-05-02 16:29 ` [PATCH] org-bibtex, add crossref option to bibtex incollection Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F5409E33-320D-4DB1-8831-19C6615516FF@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).