summaryrefslogtreecommitdiff
path: root/tex/context/base/publ-imp-apa.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-22 17:15:03 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-10-22 17:15:03 +0200
commit3a43c9a819d5d675e2a90f90b1ba1e36076a1af0 (patch)
tree554be9a227ab786a550f5875e820c260bdb80b84 /tex/context/base/publ-imp-apa.lua
parent289b6ec6fcbd5b4dbec69b5c5c9f2d597b8df8c6 (diff)
downloadcontext-3a43c9a819d5d675e2a90f90b1ba1e36076a1af0.tar.gz
2014-10-22 16:25:00
Diffstat (limited to 'tex/context/base/publ-imp-apa.lua')
-rw-r--r--tex/context/base/publ-imp-apa.lua36
1 files changed, 28 insertions, 8 deletions
diff --git a/tex/context/base/publ-imp-apa.lua b/tex/context/base/publ-imp-apa.lua
index 0329208a7..5f6a1d35d 100644
--- a/tex/context/base/publ-imp-apa.lua
+++ b/tex/context/base/publ-imp-apa.lua
@@ -8,12 +8,20 @@ return {
copyright = "ConTeXt development team",
categories = {
article = {
- required = { "author", "title", "journal", "year" },
- optional = { "volume", "number", "pages", "month", "note" },
+ required = { {"author", "editor"}, "title", "journal", "year" },
+ optional = { "volume", "number", "pages", "note", "type", "url", "doi" },
+ },
+ magazine = {
+ required = { {"author", "editor",}, "title", "journal", "year" },
+ optional = { "volume", "number", "pages", "month", "day", "note", "url", "doi" },
+ },
+ newspaper = {
+ required = { {"author", "editor",}, "title", "journal", "year" },
+ optional = { "volume", "number", "pages", "month", "day", "note", "url", "doi" },
},
book = {
required = { { "author", "editor" }, "title", "publisher", "year" },
- optional = { { "volume", "number" }, "series", "address", "edition", "month","note" },
+ optional = { { "volume", "number" }, "series", "address", "edition", "month", "note", "pages", "ISBN" },
},
booklet = {
required = { "title" },
@@ -21,16 +29,18 @@ return {
},
inbook = {
required = { { "author", "editor" }, "title", { "chapter", "pages" }, "publisher","year" },
- optional = { { "volume", "number" }, "series", "type", "address", "edition", "month", "note" },
+ optional = { { "volume", "number" }, "series", "type", "address", "edition", "month", "note", "ISBN" },
},
incollection = {
required = { "author", "title", "booktitle", "publisher", "year" },
- optional = { "editor", { "volume", "number" }, "series", "type", "chapter", "pages", "address", "edition", "month", "note" },
+ optional = { "editor", { "volume", "number" }, "series", "type", "chapter", "pages", "address", "edition", "month", "note", "ISBN" },
},
inproceedings = {
required = { "author", "title", "booktitle", "year" },
- optional = { "editor", { "volume", "number" }, "series", "pages", "address", "month","organization", "publisher", "note" },
+ optional = { "editor", { "volume", "number" }, "series", "pages", "address", "month", "organization", "publisher", "note", "ISBN" },
},
+ -- does this work:
+ conference = inproceedings,
manual = {
required = { "title" },
optional = { "author", "organization", "address", "edition", "month", "year", "note" },
@@ -40,16 +50,22 @@ return {
optional = { "type", "address", "month", "note" },
},
misc = {
- required = { "author", "title", "howpublished", "month", "year", "note" },
+ required = { },
optional = { "author", "title", "howpublished", "month", "year", "note" },
},
+ -- Not sure yet how "periodical" is used... but "jabref" includes it as standard.
+ -- strangely, "jabref" does not include "author" as required nor optional..
+ periodical = {
+ required = { "title", "year" },
+ optional = { "author", "editor", "month", "note", "number", "organization", "series", "volume" },
+ },
phdthesis = {
required = { "author", "title", "school", "year" },
optional = { "type", "address", "month", "note" },
},
proceedings = {
required = { "title", "year" },
- optional = { "editor", { "volume", "number" }, "series", "address", "month", "organization", "publisher", "note" },
+ optional = { "editor", { "volume", "number" }, "series", "address", "month", "organization", "publisher", "note", "pages", "ISBN" },
},
techreport = {
required = { "author", "title", "institution", "year" },
@@ -63,6 +79,10 @@ return {
required = { "author", "title", "note" },
optional = { "month", "year" },
},
+ literal = {
+ required = { "key", "text", },
+ optional = { },
+ },
},
}