ParseBiBTeX (open)

Parses a BibTex file

Syntax

LOADLIB "wh::filetypes/bibtex.whlib";

RECORD FUNCTION ParseBiBTeX(STRING bibtex)

Parameters

STRING bibtex

BibTex file

Return value

RECORD

Parsed document

RECORD asrecord

All declarations key-values packed as a record

RECORD ARRAY declarations

List of declarations

INTEGER declarations.atcol

Column number

INTEGER declarations.atline

Line number

STRING declarations.keyname

Key

STRING declarations.value

Value

RECORD ARRAY errors

List of errors

INTEGER errors.code

Error code

INTEGER errors.column

Column number

STRING errors.context

Context

STRING errors.error

Error message

INTEGER errors.line

Line number

STRING name

Value of the ident entty

STRING type

Value of the citation-key entry