ValidateBiBTeXEntry (open)

Validates a BibTex entitry

Syntax

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

RECORD FUNCTION ValidateBiBTeXEntry(RECORD bibtex)

Parameters

RECORD bibtex

Parsed BibTex file

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

Return value

RECORD

Validation result (DEFAULT RECORD if no probles were found)

STRING ARRAY extraneousfields

List of extra fields

STRING ARRAY missingfields

List of missing fields