This commit is contained in:
Emiliano Heyns
2021-07-15 01:04:47 +02:00
parent 888097d1a2
commit e41f0ea794
3 changed files with 76 additions and 2 deletions

View File

@@ -549,7 +549,7 @@ class PatternFormatter {
return this._format_date(this.item.date, format)
}
/** A pseudo-field from the extra field. eg if you have `Original date: 1970` in your `extra` field, you can get it as `[extra=originalDate]`, or `tex.shortauthor: APA` which you could get with `[extra=tex.shortauthor]` */
/** A pseudo-field from the extra field. eg if you have `Original date: 1970` in your `extra` field, you can get it as `[extra=originalDate]`, or `tex.shortauthor: APA` which you could get with `[extra=tex.shortauthor]`. Any `tex.` field will be picked up, the other fields can be selected from [this list](https://retorque.re/zotero-better-bibtex/exporting/extra-fields/) of key names. */
public $extra(variable: string) { // eslint-disable-line @typescript-eslint/no-inferrable-types
const variables = variable.toLowerCase().trim().split(/\s*\/\s*/).filter(varname => varname)
if (!variables.length) return ''

View File

@@ -12,7 +12,7 @@
"`authorsN` / `editorsN`, `+initials`, `+<joinchar>`": "The last name of up to N authors. If there are more authors, \"EtAl\" is appended.",
"`authshort` / `edtrshort`, `+initials`, `+<joinchar>`": "The last name if one author is given; the first character of up to three authors' last names if more than one author is given. A plus character is added, if there are more than three authors.",
"`date`": "The date of the publication",
"`extra`": "A pseudo-field from the extra field. eg if you have `Original date: 1970` in your `extra` field, you can get it as `[extra=originalDate]`, or `tex.shortauthor: APA` which you could get with `[extra=tex.shortauthor]`",
"`extra`": "A pseudo-field from the extra field. eg if you have `Original date: 1970` in your `extra` field, you can get it as `[extra=originalDate]`, or `tex.shortauthor: APA` which you could get with `[extra=tex.shortauthor]`. Any `tex.` field will be picked up, the other fields can be selected from [this list](https://retorque.re/zotero-better-bibtex/exporting/extra-fields/) of key names.",
"`firstpage`": "The number of the first page of the publication (Caution: this will return the lowest number found in the pages field, since BibTeX allows `7,41,73--97` or `43+`.)",
"`journal`": "returns the journal abbreviation, or, if not found, the journal title, If 'automatic journal abbreviation' is enabled in the BBT settings, it will use the same abbreviation filter Zotero uses in the wordprocessor integration. You might want to use the `abbr` filter on this.",
"`keywordN`": "Tag number `N`",

View File

@@ -0,0 +1,74 @@
{
"comment": "AlchemyJS contributors",
"nodes": [
{
"id": 0,
"caption": "AlchemyJS",
"role": "project",
"fun_fact": "built almost entirely in D3",
"root": true
},
{
"id": 1,
"caption": "Huston Hedinger",
"github": "hustonhedinger",
"role": "Maintainer",
"fun_fact": "hooligan"
},
{
"id": 2,
"caption": "Grace Andrews",
"github": "Grace-Andrews",
"role": "Maintainer",
"fun_fact": "was born left handed, now right handed."
},
{
"id": 3,
"caption": "Isabella Jorissen",
"github": "ifjorissen",
"role": "Maintainer",
"fun_fact": "knows a lot of digits of pi. Also loves pie."
},
{
"id": 4,
"caption": "Matt Cox",
"github": "MDCox",
"role": "Maintainer",
"fun_fact": "is not fun"
},
{
"id": 5,
"caption": "Dave Torbeck",
"github": "DaveTorbeck",
"role": "Contributor",
"fun_fact": ""
}
],
"edges": [
{
"source": 1,
"target": 0,
"caption": "Maintains"
},
{
"source": 2,
"target": 0,
"caption": "Maintains"
},
{
"source": 3,
"target": 0,
"caption": "Maintains"
},
{
"source": 4,
"target": 0,
"caption": "Often Breaks"
},
{
"source": 5,
"target": 0,
"caption": "contributes"
}
]
}