diff --git a/build.gradle b/build.gradle index 101993dce22..ac09d3b5240 100644 --- a/build.gradle +++ b/build.gradle @@ -259,7 +259,6 @@ processResources { task generateSource(dependsOn: ["generateBstGrammarSource", "generateSearchGrammarSource", - "generateBibtexmlSource", "generateEndnoteSource", "generateModsSource", "generateCitaviSource"]) { @@ -289,15 +288,6 @@ tasks.register("generateSearchGrammarSource", JavaExec) { args = ["-o","src-gen/main/java/org/jabref/search" , "-visitor", "-no-listener", "-package", "org.jabref.search", "$projectDir/src/main/antlr4/org/jabref/search/Search.g4"] } -task generateBibtexmlSource(type: XjcTask) { - group = 'JabRef' - description = "Generates java files for the bibtexml importer." - - schemaFile = "src/main/resources/xjc/bibtexml/bibtexml.xsd" - outputDirectory = "src-gen/main/java/" - javaPackage = "org.jabref.logic.importer.fileformat.bibtexml" -} - task generateEndnoteSource(type: XjcTask) { group = 'JabRef' description = "Generates java files for the endnote importer." diff --git a/src/main/resources/xjc/bibtexml/bibtexml.xsd b/src/main/resources/xjc/bibtexml/bibtexml.xsd deleted file mode 100644 index 519ee240dcf..00000000000 --- a/src/main/resources/xjc/bibtexml/bibtexml.xsd +++ /dev/null @@ -1,1001 +0,0 @@ - - - - - - - - - - BibteXML bibliography schema - Author: Z.W. Hendrikse - Version: Adapted from $Revision: 1.1.1.1 $ - Copyright: GPL - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An abstract of the work. - - - - - - - The authors affiliation. - - - - - - - A Table of Contents. - - - - - - - Copyright information. - - - - - - - Digital Object Identifier number. - - - - - - - - - - - Key words used for searching or possibly for annotation. - - - - - - - The language the document is in. - - - - - - - The Library of Congress Call Number, also seen as lib-congress. - - - - - - - A location associated with the entry, - such as the city in which a conference took place. - - - - - - - The Mathematical Reviews number. - - - - - - - The price of the document. - - - - - - - The physical dimensions of a work. - - - - - - - The WWW Universal Resource Locator that points to the item being - referenced. This often is used for technical reports to point to - the ftp site where the postscript source of the report is located. - - - - - - - Category of this bibitem, added by Zeger W. Hendrikse. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @article tag. - An article from a journal or magazine. - Required fields: author, title, journal, year. - Optional fields: volume, number, pages, month, note. - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @book tag. - A book with an explicit publisher. - Required fields: author or editor, title, publisher, year. - Optional fields: volume or number, series, address, edition, - month, note. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @booklet tag. - A work that is printed and bound, but without a named - publisher or sponsoring institution. - Required fields: title. - Optional fields: author, howpublished, address, month, year, note. - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @conference tag. - The same as INPROCEEDINGS, included for Scribe compatibility. - - - - - - - - - - - - - The bibteXML equivalent of the @inbook tag. - A part of a book, which may be a chapter (or section or - publisher or sponsoring institution. - Required fields: author or editor, title, chapter and/or pages, - publisher, year. - Optional fields: fields: volume or number, series, type, address, - edition, month, note. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @incollection tag. - A part of a book having its own title. - Required fields: author, title, booktitle, publisher, year. - Optional fields: editor, volume or number, series, type, - chapter, pages, address, edition, month, note. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @inproceedings tag. - An article in a conference proceedings. - Required fields: author, title, booktitle, year. - Optional fields: editor, volume or number, series, pages, - address, month, organization, publisher, note. - - - - - - - - - - - - - The bibteXML equivalent of the @manual tag. - Technical documentation. - Required field: title. - Optional fields: author, organization, address, - edition, month, year, note. - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @mastersthesis tag. - A Master's thesis. - Required fields: author, title, school, year. - Optional fields: type, address, month, note. - - - - - - - - - - - - - The bibteXML equivalent of the @misc tag. - Use this type when nothing else fits. - Required fields: none. - Optional fields: author, title, howpublished, month, year, note. - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @phdthesis tag. - A PhD thesis. - Required fields: author, title, school, year. - Optional fields: type, address, month, note. - - - - - - - - - - - - - The bibteXML equivalent of the @proceedings tag. - The proceedings of a conference. - Required fields: title, year. - Optional fields: editor, volume or number, series, - address, month, organization, publisher, note. - - - - - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @techreport tag. - A report published by a school or other institution, - usually numbered within a series. - Required fields: author, title, institution, year. - Optional fields: type, number, address, month, note. - - - - - - - - - - - - - - - - - - - - - - The bibteXML equivalent of the @unpublished tag. - A document having an author and title, but not formally published. - Required fields: author, title, note. - Optional fields: month, year. - - - - - - - - - - - - - - - - - - - - - Usually the address of the publisher or other type of - institution. For major publishing houses, van Leunen recommends - omitting the information entirely. For small publishers, on the other - hand, you can help the reader by giving the complete address. - - - - - - - - - An annotation. It is not used by the standard bibliography - styles, but may be used by others that produce an annotated - bibliography. - - - - - - - - - The name(s) of the author(s), in the format described in the - LaTeX book. - - - - - - - - - Title of a book, part of which is being cited. See the - LaTeX book for how to type titles. For book entries, use the title - field instead. - - - - - - - - - A chapter (or section or whatever) number. - - - - - - - - - The database key of the entry being cross referenced. - - - - - - - - - The edition of a book-for example, ``Second''. This - should be an ordinal, and should have the first letter capitalized, as - shown here; the standard styles convert to lower case when necessary. - - - - - - - - - - - Name(s) of editor(s), typed as indicated in the LaTeX book. - If there is also an author field, then the editor field gives the - editor of the book or collection in which the reference appears. - - - - - - - - - How something strange has been published. The first - word should be capitalized. - - - - - - - - - The sponsoring institution of a technical report. - - - - - - - - - A journal name. Abbreviations are provided for many - journals; see the Local Guide. - - - - - - - - - Used for alphabetizing, cross referencing, and creating a label - when the ``author'' information (described in Section [ref: ] is - missing. This field should not be confused with the key that appears - in the \cite command and at the beginning of the database entry. - - - - - - - - - The month in which the work was published or, for an - unpublished work, in which it was written You should use the - standard three-letter abbreviation, as described in Appendix B.1.3 of - the LaTeX book. As XML Schema supports a special month format, it is - decided to allow e.g. 05 (for May) too. - - - - - - - - - Any additional information that can help the reader. The first - word should be capitalized. - - - - - - - - - The number of a journal, magazine, technical report, or of a - work in a series. An issue of a journal or magazine is usually - identified by its volume and number; the organization that issues a - technical report usually gives it a number; and sometimes books are - given numbers in a named series. - - - - - - - - - The organization that sponsors a conference or that publishes a manual. - - - - - - - - - One or more page numbers or range of numbers, such as 42-111 - or 7,41,73-97 or 43+ (the `+" in this last example indicates pages - following that don"t form a simple range). To make it easier to - maintain Scribe-compatible databases, the standard styles convert a - single dash (as in 7-33) to the double dash used in TeX to denote - number ranges (as in 7-33). - - - - - - - - - - - The publisher's name. - - - - - - - - - The name of the school where a thesis was written. - - - - - - - - - The name of a series or set of books. When citing an entire - book, the the title field gives its title and an optional series field - gives the name of a series or multi-volume set in which the book is - published. - - - - - - - - - The work's title, typed as explained in the LaTeX book. - - - - - - - - - The work's title, typed as explained in the LaTeX book. - - - - - - - - - The volume of a journal or multivolume book. - - - - - - - - - The year of publication or, for an unpublished work, the year - it was written. Generally it should consist of four numerals, such as - 1984. Although the standard styles can handle any year whose last four - nonpunctuation characters are numerals, such as `(about 1984)", it - is decided here to keep the year limited to four numerals, as such a - type is pre-defined in XML Schema. - - - - - - - - - - - - - - - - - - - - - - - - - -