BibTexParser (open)
BibTex document parser
Syntax
LOADLIB "wh::filetypes/bibtex.whlib";
OBJECTTYPE BibTexParser
Constructor
- MACRO NEW()
Constructs a new BibTex document parser
Variables
- BOOLEAN parseoutaccolades
Whether to remove all accolades
Functions
- STRING FUNCTION DecodeTexEntities(STRING str)
Decodes all tex tentities in a string to UTF-8
- BOOLEAN FUNCTION IsEntitySupported(STRING entity)
Returns if a specific entitity is supported
- RECORD FUNCTION ParseBibTeX(STRING bibtex, BOOLEAN verbose, BOOLEAN reportnonalpha, BOOLEAN reproduce)
Parse a BibTeX document
- STRING FUNCTION RemoveAccolades(STRING input)
Remove all accolades if parseoutaccolades is TRUE
- MACRO ShowTranslitTable()
Dumps the BibTex macro to UTF-8 table
- STRING FUNCTION TranslateCharacter(STRING character)
Returns the entity for a specific UTF-8 character sequence
- STRING FUNCTION TranslateEntity(STRING entity)
Returns the UTF-8 character sequence for a specific entity