BibTexParser::ParseBibTeX (open)
Parse a BibTeX document
Syntax
LOADLIB "wh::filetypes/bibtex.whlib";
RECORD FUNCTION ParseBibTeX(STRING bibtex, BOOLEAN verbose, BOOLEAN reportnonalpha, BOOLEAN reproduce)
Parameters
STRING bibtex
BibTex file to parse
BOOLEAN verbose
If TRUE, print info
BOOLEAN reportnonalpha
Print information about non-alpha characters (only when verbose is also TRUE)
BOOLEAN reproduce
If TRUE, and verbose, print some characters from the parsed 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