diff --git a/src/constant.jl b/src/constant.jl index c55b317..ea47513 100644 --- a/src/constant.jl +++ b/src/constant.jl @@ -51,6 +51,8 @@ const entries = [ :eprint, :howpublished, :institution, + :isbn, + :issn, :journal, :key, :month, @@ -82,6 +84,8 @@ const fields = [ :eprint, :howpublished, :institution, + :isbn, + :issn, :journal, :key, :month, diff --git a/src/entry.jl b/src/entry.jl index f650415..b52d4f9 100644 --- a/src/entry.jl +++ b/src/entry.jl @@ -198,6 +198,8 @@ end chapter::String edition::String institution::String + isbn::String + issn:String journal::String number::String organization::String @@ -214,6 +216,8 @@ struct In chapter::String edition::String institution::String + isbn::String + issn::String journal::String number::String organization::String @@ -233,6 +237,8 @@ function In(fields) chapter = get_delete!(fields, "chapter") edition = get_delete!(fields, "edition") institution = get_delete!(fields, "institution") + isbn = get_delete!(fields, "isbn") + issn = get_delete!(fields, "issn") journal = get_delete!(fields, "journal") number = get_delete!(fields, "number") organization = get_delete!(fields, "organization") @@ -246,6 +252,8 @@ function In(fields) chapter, edition, institution, + isbn, + issn, journal, number, organization, @@ -268,6 +276,7 @@ end id::String in::In fields::Dict{String,String} + note::String title::String type::String end @@ -283,6 +292,7 @@ struct Entry <: AbstractEntry id::String in::In fields::Dict{String,String} + note::String title::String type::String end @@ -300,10 +310,11 @@ function Entry(id, fields) editors = names(get_delete!(fields, "editor")) eprint = Eprint(fields) in_ = In(fields) + note = get_delete!(fields, "note") title = get_delete!(fields, "title") type = get_delete!(fields, "_type") return Entry( - access, authors, booktitle, date, editors, eprint, id, in_, fields, title, type + access, authors, booktitle, date, editors, eprint, id, in_, fields, note, title, type ) end