Example #1
0
		public void SimpleParser()
		{
			const string Data = @"

@article{mrx05, 
auTHor = ""Mr. X"", 
Title = {Something Great}, 
publisher = ""nob"" # ""ody"", 
YEAR = 2005, 
} ";

			var lexer = new BibTexLexer(Data);
			var parser = new BibTexParser(lexer);

			var db = parser.Parse();
			Console.WriteLine("{0} abbreviations; {1} entries", db.AbbreviationCount, db.EntryCount);
		}
Example #2
0
 public BibTexParser(BibTexLexer lexer)
 {
     this.lexer = lexer;
 }
Example #3
0
 public BibTexParser(BibTexLexer lexer)
 {
     this.lexer = lexer;
 }