internal static BibTexParseResult Parse(string bibtex) { BibTexAssembler assembler = new BibTexAssembler(); BibTexLexer lexer = new BibTexLexer(bibtex); lexer.Parse(assembler); return(new BibTexParseResult(assembler.items, assembler.comments)); }
public static BibTexParseResult Parse(string bibtex) { // First remove any latex encodings. if (!String.IsNullOrEmpty(bibtex)) { bibtex = _latexEncodingsRemover.Replace(bibtex, String.Empty); } return(BibTexAssembler.Parse(bibtex)); }
public static BibTexParseResult Parse(string bibtex) { return(BibTexAssembler.Parse(bibtex)); }