Paste: Java BibTeX parser
Author: | Crest |
Mode: | java |
Date: | Tue, 15 Jun 2010 10:34:21 |
Plain Text |
package parser;
import java.io.StringReader;
public class Test {
static final String source1 =
"@string{ x = \"bar\" }\n" +
"Fucking Comment\n" +
"@ Book{abramowitz+stegun, \n" +
" author = \"Milton {Abramowitz} and Irene A. {Stegun}\",\n" +
" title = \"Handbook of Mathematical Functions with\n" +
" Formulas, Graphs, and Mathematical Tables\",\n" +
" publisher = \"Dover\",\n" +
" year = 1964,\n" +
" year = 1965,\n" +
" address = \"New York\" # x,\n" +
" edition = \"ninth Dover printing, tenth GPO printing\"\n" +
"}\n";
public static void main(String[] args) {
StringReader reader = new StringReader(source1);
Parser parser = new Parser(reader);
System.out.print(parser);
}
}
Author: | Crest |
Mode: | text |
Date: | Tue, 15 Jun 2010 10:35:17 |
Plain Text |
@string{ x = {bar}}
Fucking Comment
@book{abramowitz+stegun,
edition = {ninth Dover printing, tenth GPO printing},
author = {Milton {Abramowitz} and Irene A. {Stegun}},
title = {Handbook of Mathematical Functions with
Formulas, Graphs, and Mathematical Tables},
address = {New York} # x,
year = 1964,
year = 1965,
publisher = {Dover}
}
New Annotation