$output
$output :
string
CITATION STYLE class. Format citations.
For non-WIKINDX users, you must have set up BIBFORMAT before using this (see documentation for BIBFORMAT()).
start( text, citeLink) :
Start the whole process off by finding [cite]...[/cite] tags in input text.
WIKINDX uses [cite]34[/cite] or [cite]34:23[/cite] or [cite]34:23-24[/cite] where '34' is the resource's unique ID, '23' is a single page for the citation and '23-24' is a page range for the citation. If your system uses something else, you will need to make changes here and in $this->parseCiteTag(). PreText and postText can also be encoded: e.g. (see Grimshaw 2003; Boulanger 2004 for example) [cite]23:34-35|see ` for example[/cite]
text | ||
citeLink |
bibliographyProcess() :
Gather bibliography of citations.
The order is important:
parseCiteTag( matchIndex, tag) :
Parse the cite tag by extracting resource ID and any page numbers. Check ID is valid.
PreText and postText can also be encoded: e.g. (see Grimshaw 2003; Boulanger 2004 for example) [cite]23:34-35|see ` for example[/cite]. For multiple citations, only the first encountered preText and postText will be used to enclose the citations.
matchIndex | ||
tag |