예제 #1
0
        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));
        }
예제 #3
0
 public static BibTexParseResult Parse(string bibtex)
 {
     return(BibTexAssembler.Parse(bibtex));
 }