# Leo colorizer control file for bibtex mode.
# This file is in the public domain.

# Properties for bibtex mode.
properties = {
    "lineComment": "%",
}

# Attributes dict for bibtex_main ruleset.
bibtex_main_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_article ruleset.
bibtex_article_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_book ruleset.
bibtex_book_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_booklet ruleset.
bibtex_booklet_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_conference ruleset.
bibtex_conference_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_inbook ruleset.
bibtex_inbook_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_incollection ruleset.
bibtex_incollection_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_inproceedings ruleset.
bibtex_inproceedings_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_manual ruleset.
bibtex_manual_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_mastersthesis ruleset.
bibtex_mastersthesis_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_misc ruleset.
bibtex_misc_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_phdthesis ruleset.
bibtex_phdthesis_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_proceedings ruleset.
bibtex_proceedings_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_techreport ruleset.
bibtex_techreport_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_unpublished ruleset.
bibtex_unpublished_attributes_dict = {
    "default": "null",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_textbraced ruleset.
bibtex_textbraced_attributes_dict = {
    "default": "LITERAL2",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_textquoted ruleset.
bibtex_textquoted_attributes_dict = {
    "default": "LITERAL1",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Attributes dict for bibtex_string ruleset.
bibtex_string_attributes_dict = {
    "default": "LITERAL1",
    "digit_re": "",
    "escape": "",
    "highlight_digits": "true",
    "ignore_case": "true",
    "no_word_sep": "",
}

# Dictionary of attributes dictionaries for bibtex mode.
attributesDictDict = {
    "bibtex_article": bibtex_article_attributes_dict,
    "bibtex_book": bibtex_book_attributes_dict,
    "bibtex_booklet": bibtex_booklet_attributes_dict,
    "bibtex_conference": bibtex_conference_attributes_dict,
    "bibtex_inbook": bibtex_inbook_attributes_dict,
    "bibtex_incollection": bibtex_incollection_attributes_dict,
    "bibtex_inproceedings": bibtex_inproceedings_attributes_dict,
    "bibtex_main": bibtex_main_attributes_dict,
    "bibtex_manual": bibtex_manual_attributes_dict,
    "bibtex_mastersthesis": bibtex_mastersthesis_attributes_dict,
    "bibtex_misc": bibtex_misc_attributes_dict,
    "bibtex_phdthesis": bibtex_phdthesis_attributes_dict,
    "bibtex_proceedings": bibtex_proceedings_attributes_dict,
    "bibtex_string": bibtex_string_attributes_dict,
    "bibtex_techreport": bibtex_techreport_attributes_dict,
    "bibtex_textbraced": bibtex_textbraced_attributes_dict,
    "bibtex_textquoted": bibtex_textquoted_attributes_dict,
    "bibtex_unpublished": bibtex_unpublished_attributes_dict,
}

# Keywords dict for bibtex_main ruleset.
bibtex_main_keywords_dict = {}

# Keywords dict for bibtex_article ruleset.
bibtex_article_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword2",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword4",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword3",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_book ruleset.
bibtex_book_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword3",
    "editor": "keyword4",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword4",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword3",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_booklet ruleset.
bibtex_booklet_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword3",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword3",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword2",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword3",
}

# Keywords dict for bibtex_conference ruleset.
bibtex_conference_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword4",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword3",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword3",
    "pages": "keyword3",
    "publisher": "keyword3",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword3",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_inbook ruleset.
bibtex_inbook_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword4",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword3",
    "editor": "keyword4",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword4",
    "publisher": "keyword4",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword3",
    "title": "keyword4",
    "type": "keyword3",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_incollection ruleset.
bibtex_incollection_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword4",
    "chapter": "keyword3",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword3",
    "editor": "keyword3",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword3",
    "publisher": "keyword4",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword3",
    "title": "keyword4",
    "type": "keyword3",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_inproceedings ruleset.
bibtex_inproceedings_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword4",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword3",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword3",
    "pages": "keyword3",
    "publisher": "keyword3",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword3",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_manual ruleset.
bibtex_manual_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword3",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword3",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword2",
    "oct": "literal1",
    "organization": "keyword3",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword3",
}

# Keywords dict for bibtex_mastersthesis ruleset.
bibtex_mastersthesis_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword2",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword4",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword3",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword4",
}

# Keywords dict for bibtex_misc ruleset.
bibtex_misc_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword2",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword3",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword3",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword2",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword3",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword3",
}

# Keywords dict for bibtex_phdthesis ruleset.
bibtex_phdthesis_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword2",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword4",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword3",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword4",
}

# Keywords dict for bibtex_proceedings ruleset.
bibtex_proceedings_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword2",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword3",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword3",
    "pages": "keyword2",
    "publisher": "keyword3",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword3",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword3",
    "year": "keyword4",
}

# Keywords dict for bibtex_techreport ruleset.
bibtex_techreport_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword3",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword4",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword3",
    "nov": "literal1",
    "number": "keyword3",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword3",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword4",
}

# Keywords dict for bibtex_unpublished ruleset.
bibtex_unpublished_keywords_dict = {
    "abstract": "keyword1",
    "address": "keyword2",
    "annotation": "keyword1",
    "annote": "keyword2",
    "apr": "literal1",
    "aug": "literal1",
    "author": "keyword4",
    "booktitle": "keyword2",
    "chapter": "keyword2",
    "crossref": "keyword2",
    "day": "keyword1",
    "dec": "literal1",
    "edition": "keyword2",
    "editor": "keyword2",
    "feb": "literal1",
    "howpublished": "keyword2",
    "institution": "keyword2",
    "jan": "literal1",
    "journal": "keyword2",
    "jul": "literal1",
    "jun": "literal1",
    "key": "keyword2",
    "keywords": "keyword1",
    "lccn": "keyword1",
    "location": "keyword1",
    "mar": "literal1",
    "may": "literal1",
    "month": "keyword3",
    "note": "keyword4",
    "nov": "literal1",
    "number": "keyword2",
    "oct": "literal1",
    "organization": "keyword2",
    "pages": "keyword2",
    "publisher": "keyword2",
    "references": "keyword1",
    "school": "keyword2",
    "sep": "literal1",
    "series": "keyword2",
    "title": "keyword4",
    "type": "keyword2",
    "url": "keyword1",
    "volume": "keyword2",
    "year": "keyword3",
}

# Keywords dict for bibtex_textbraced ruleset.
bibtex_textbraced_keywords_dict = {}

# Keywords dict for bibtex_textquoted ruleset.
bibtex_textquoted_keywords_dict = {}

# Keywords dict for bibtex_string ruleset.
bibtex_string_keywords_dict = {}

# Dictionary of keywords dictionaries for bibtex mode.
keywordsDictDict = {
    "bibtex_article": bibtex_article_keywords_dict,
    "bibtex_book": bibtex_book_keywords_dict,
    "bibtex_booklet": bibtex_booklet_keywords_dict,
    "bibtex_conference": bibtex_conference_keywords_dict,
    "bibtex_inbook": bibtex_inbook_keywords_dict,
    "bibtex_incollection": bibtex_incollection_keywords_dict,
    "bibtex_inproceedings": bibtex_inproceedings_keywords_dict,
    "bibtex_main": bibtex_main_keywords_dict,
    "bibtex_manual": bibtex_manual_keywords_dict,
    "bibtex_mastersthesis": bibtex_mastersthesis_keywords_dict,
    "bibtex_misc": bibtex_misc_keywords_dict,
    "bibtex_phdthesis": bibtex_phdthesis_keywords_dict,
    "bibtex_proceedings": bibtex_proceedings_keywords_dict,
    "bibtex_string": bibtex_string_keywords_dict,
    "bibtex_techreport": bibtex_techreport_keywords_dict,
    "bibtex_textbraced": bibtex_textbraced_keywords_dict,
    "bibtex_textquoted": bibtex_textquoted_keywords_dict,
    "bibtex_unpublished": bibtex_unpublished_keywords_dict,
}

# Rules for bibtex_main ruleset.


def bibtex_rule0(colorer, s, i):
    return colorer.match_eol_span(s, i, kind="comment1", seq="%")


def bibtex_rule1(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@article{", end="}", delegate="bibtex::article"
    )


def bibtex_rule2(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@article(", end=")", delegate="bibtex::article"
    )


def bibtex_rule3(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@book{", end="}", delegate="bibtex::book"
    )


def bibtex_rule4(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@book(", end=")", delegate="bibtex::book"
    )


def bibtex_rule5(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@booklet{", end="}", delegate="bibtex::booklet"
    )


def bibtex_rule6(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@booklet(", end=")", delegate="bibtex::booklet"
    )


def bibtex_rule7(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@conference{", end="}", delegate="bibtex::conference"
    )


def bibtex_rule8(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@conference(", end=")", delegate="bibtex::conference"
    )


def bibtex_rule9(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@inbook{", end="}", delegate="bibtex::inbook"
    )


def bibtex_rule10(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@inbook(", end=")", delegate="bibtex::inbook"
    )


def bibtex_rule11(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@incollection{", end="}", delegate="bibtex::incollection"
    )


def bibtex_rule12(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@incollection(", end=")", delegate="bibtex::incollection"
    )


def bibtex_rule13(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@inproceedings{", end="}", delegate="bibtex::inproceedings"
    )


def bibtex_rule14(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@inproceedings(", end=")", delegate="bibtex::inproceedings"
    )


def bibtex_rule15(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@manual{", end="}", delegate="bibtex::manual"
    )


def bibtex_rule16(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@manual(", end=")", delegate="bibtex::manual"
    )


def bibtex_rule17(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@mastersthesis{", end="}", delegate="bibtex::mastersthesis"
    )


def bibtex_rule18(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@mastersthesis(", end=")", delegate="bibtex::mastersthesis"
    )


def bibtex_rule19(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@misc{", end="}", delegate="bibtex::misc"
    )


def bibtex_rule20(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@misc(", end=")", delegate="bibtex::misc"
    )


def bibtex_rule21(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@phdthesis{", end="}", delegate="bibtex::phdthesis"
    )


def bibtex_rule22(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@phdthesis(", end=")", delegate="bibtex::phdthesis"
    )


def bibtex_rule23(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@proceedings{", end="}", delegate="bibtex::proceedings"
    )


def bibtex_rule24(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@proceedings(", end=")", delegate="bibtex::proceedings"
    )


def bibtex_rule25(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@techreport{", end="}", delegate="bibtex::techreport"
    )


def bibtex_rule26(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@techreport(", end=")", delegate="bibtex::techreport"
    )


def bibtex_rule27(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@unpublished{", end="}", delegate="bibtex::unpublished"
    )


def bibtex_rule28(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@unpublished(", end=")", delegate="bibtex::unpublished"
    )


def bibtex_rule29(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@string{", end="}", delegate="bibtex::string"
    )


def bibtex_rule30(colorer, s, i):
    return colorer.match_span(
        s, i, kind="function", begin="@string(", end=")", delegate="bibtex::string"
    )


# Rules dict for bibtex_main ruleset.
rulesDict1 = {
    "%": [
        bibtex_rule0,
    ],
    "@": [
        bibtex_rule1,
        bibtex_rule2,
        bibtex_rule3,
        bibtex_rule4,
        bibtex_rule5,
        bibtex_rule6,
        bibtex_rule7,
        bibtex_rule8,
        bibtex_rule9,
        bibtex_rule10,
        bibtex_rule11,
        bibtex_rule12,
        bibtex_rule13,
        bibtex_rule14,
        bibtex_rule15,
        bibtex_rule16,
        bibtex_rule17,
        bibtex_rule18,
        bibtex_rule19,
        bibtex_rule20,
        bibtex_rule21,
        bibtex_rule22,
        bibtex_rule23,
        bibtex_rule24,
        bibtex_rule25,
        bibtex_rule26,
        bibtex_rule27,
        bibtex_rule28,
        bibtex_rule29,
        bibtex_rule30,
    ],
}

# Rules for bibtex_article ruleset.


def bibtex_rule31(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule32(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule33(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule34(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule35(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule36(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule37(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule38(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule39(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule40(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule41(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule42(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule43(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule44(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_article ruleset.
rulesDict2 = {
    "\"": [
        bibtex_rule31,
    ],
    ",": [
        bibtex_rule34,
    ],
    "0": [
        bibtex_rule44,
    ],
    "1": [
        bibtex_rule35,
        bibtex_rule44,
    ],
    "2": [
        bibtex_rule36,
        bibtex_rule44,
    ],
    "3": [
        bibtex_rule37,
        bibtex_rule44,
    ],
    "4": [
        bibtex_rule38,
        bibtex_rule44,
    ],
    "5": [
        bibtex_rule39,
        bibtex_rule44,
    ],
    "6": [
        bibtex_rule40,
        bibtex_rule44,
    ],
    "7": [
        bibtex_rule41,
        bibtex_rule44,
    ],
    "8": [
        bibtex_rule42,
        bibtex_rule44,
    ],
    "9": [
        bibtex_rule43,
        bibtex_rule44,
    ],
    "=": [
        bibtex_rule33,
    ],
    "@": [
        bibtex_rule44,
    ],
    "A": [
        bibtex_rule44,
    ],
    "B": [
        bibtex_rule44,
    ],
    "C": [
        bibtex_rule44,
    ],
    "D": [
        bibtex_rule44,
    ],
    "E": [
        bibtex_rule44,
    ],
    "F": [
        bibtex_rule44,
    ],
    "G": [
        bibtex_rule44,
    ],
    "H": [
        bibtex_rule44,
    ],
    "I": [
        bibtex_rule44,
    ],
    "J": [
        bibtex_rule44,
    ],
    "K": [
        bibtex_rule44,
    ],
    "L": [
        bibtex_rule44,
    ],
    "M": [
        bibtex_rule44,
    ],
    "N": [
        bibtex_rule44,
    ],
    "O": [
        bibtex_rule44,
    ],
    "P": [
        bibtex_rule44,
    ],
    "Q": [
        bibtex_rule44,
    ],
    "R": [
        bibtex_rule44,
    ],
    "S": [
        bibtex_rule44,
    ],
    "T": [
        bibtex_rule44,
    ],
    "U": [
        bibtex_rule44,
    ],
    "V": [
        bibtex_rule44,
    ],
    "W": [
        bibtex_rule44,
    ],
    "X": [
        bibtex_rule44,
    ],
    "Y": [
        bibtex_rule44,
    ],
    "Z": [
        bibtex_rule44,
    ],
    "a": [
        bibtex_rule44,
    ],
    "b": [
        bibtex_rule44,
    ],
    "c": [
        bibtex_rule44,
    ],
    "d": [
        bibtex_rule44,
    ],
    "e": [
        bibtex_rule44,
    ],
    "f": [
        bibtex_rule44,
    ],
    "g": [
        bibtex_rule44,
    ],
    "h": [
        bibtex_rule44,
    ],
    "i": [
        bibtex_rule44,
    ],
    "j": [
        bibtex_rule44,
    ],
    "k": [
        bibtex_rule44,
    ],
    "l": [
        bibtex_rule44,
    ],
    "m": [
        bibtex_rule44,
    ],
    "n": [
        bibtex_rule44,
    ],
    "o": [
        bibtex_rule44,
    ],
    "p": [
        bibtex_rule44,
    ],
    "q": [
        bibtex_rule44,
    ],
    "r": [
        bibtex_rule44,
    ],
    "s": [
        bibtex_rule44,
    ],
    "t": [
        bibtex_rule44,
    ],
    "u": [
        bibtex_rule44,
    ],
    "v": [
        bibtex_rule44,
    ],
    "w": [
        bibtex_rule44,
    ],
    "x": [
        bibtex_rule44,
    ],
    "y": [
        bibtex_rule44,
    ],
    "z": [
        bibtex_rule44,
    ],
    "{": [
        bibtex_rule32,
    ],
}

# Rules for bibtex_book ruleset.


def bibtex_rule45(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule46(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule47(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule48(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule49(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule50(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule51(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule52(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule53(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule54(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule55(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule56(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule57(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule58(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_book ruleset.
rulesDict3 = {
    "\"": [
        bibtex_rule45,
    ],
    ",": [
        bibtex_rule48,
    ],
    "0": [
        bibtex_rule58,
    ],
    "1": [
        bibtex_rule49,
        bibtex_rule58,
    ],
    "2": [
        bibtex_rule50,
        bibtex_rule58,
    ],
    "3": [
        bibtex_rule51,
        bibtex_rule58,
    ],
    "4": [
        bibtex_rule52,
        bibtex_rule58,
    ],
    "5": [
        bibtex_rule53,
        bibtex_rule58,
    ],
    "6": [
        bibtex_rule54,
        bibtex_rule58,
    ],
    "7": [
        bibtex_rule55,
        bibtex_rule58,
    ],
    "8": [
        bibtex_rule56,
        bibtex_rule58,
    ],
    "9": [
        bibtex_rule57,
        bibtex_rule58,
    ],
    "=": [
        bibtex_rule47,
    ],
    "@": [
        bibtex_rule58,
    ],
    "A": [
        bibtex_rule58,
    ],
    "B": [
        bibtex_rule58,
    ],
    "C": [
        bibtex_rule58,
    ],
    "D": [
        bibtex_rule58,
    ],
    "E": [
        bibtex_rule58,
    ],
    "F": [
        bibtex_rule58,
    ],
    "G": [
        bibtex_rule58,
    ],
    "H": [
        bibtex_rule58,
    ],
    "I": [
        bibtex_rule58,
    ],
    "J": [
        bibtex_rule58,
    ],
    "K": [
        bibtex_rule58,
    ],
    "L": [
        bibtex_rule58,
    ],
    "M": [
        bibtex_rule58,
    ],
    "N": [
        bibtex_rule58,
    ],
    "O": [
        bibtex_rule58,
    ],
    "P": [
        bibtex_rule58,
    ],
    "Q": [
        bibtex_rule58,
    ],
    "R": [
        bibtex_rule58,
    ],
    "S": [
        bibtex_rule58,
    ],
    "T": [
        bibtex_rule58,
    ],
    "U": [
        bibtex_rule58,
    ],
    "V": [
        bibtex_rule58,
    ],
    "W": [
        bibtex_rule58,
    ],
    "X": [
        bibtex_rule58,
    ],
    "Y": [
        bibtex_rule58,
    ],
    "Z": [
        bibtex_rule58,
    ],
    "a": [
        bibtex_rule58,
    ],
    "b": [
        bibtex_rule58,
    ],
    "c": [
        bibtex_rule58,
    ],
    "d": [
        bibtex_rule58,
    ],
    "e": [
        bibtex_rule58,
    ],
    "f": [
        bibtex_rule58,
    ],
    "g": [
        bibtex_rule58,
    ],
    "h": [
        bibtex_rule58,
    ],
    "i": [
        bibtex_rule58,
    ],
    "j": [
        bibtex_rule58,
    ],
    "k": [
        bibtex_rule58,
    ],
    "l": [
        bibtex_rule58,
    ],
    "m": [
        bibtex_rule58,
    ],
    "n": [
        bibtex_rule58,
    ],
    "o": [
        bibtex_rule58,
    ],
    "p": [
        bibtex_rule58,
    ],
    "q": [
        bibtex_rule58,
    ],
    "r": [
        bibtex_rule58,
    ],
    "s": [
        bibtex_rule58,
    ],
    "t": [
        bibtex_rule58,
    ],
    "u": [
        bibtex_rule58,
    ],
    "v": [
        bibtex_rule58,
    ],
    "w": [
        bibtex_rule58,
    ],
    "x": [
        bibtex_rule58,
    ],
    "y": [
        bibtex_rule58,
    ],
    "z": [
        bibtex_rule58,
    ],
    "{": [
        bibtex_rule46,
    ],
}

# Rules for bibtex_booklet ruleset.


def bibtex_rule59(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule60(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule61(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule62(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule63(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule64(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule65(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule66(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule67(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule68(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule69(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule70(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule71(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule72(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_booklet ruleset.
rulesDict4 = {
    "\"": [
        bibtex_rule59,
    ],
    ",": [
        bibtex_rule62,
    ],
    "0": [
        bibtex_rule72,
    ],
    "1": [
        bibtex_rule63,
        bibtex_rule72,
    ],
    "2": [
        bibtex_rule64,
        bibtex_rule72,
    ],
    "3": [
        bibtex_rule65,
        bibtex_rule72,
    ],
    "4": [
        bibtex_rule66,
        bibtex_rule72,
    ],
    "5": [
        bibtex_rule67,
        bibtex_rule72,
    ],
    "6": [
        bibtex_rule68,
        bibtex_rule72,
    ],
    "7": [
        bibtex_rule69,
        bibtex_rule72,
    ],
    "8": [
        bibtex_rule70,
        bibtex_rule72,
    ],
    "9": [
        bibtex_rule71,
        bibtex_rule72,
    ],
    "=": [
        bibtex_rule61,
    ],
    "@": [
        bibtex_rule72,
    ],
    "A": [
        bibtex_rule72,
    ],
    "B": [
        bibtex_rule72,
    ],
    "C": [
        bibtex_rule72,
    ],
    "D": [
        bibtex_rule72,
    ],
    "E": [
        bibtex_rule72,
    ],
    "F": [
        bibtex_rule72,
    ],
    "G": [
        bibtex_rule72,
    ],
    "H": [
        bibtex_rule72,
    ],
    "I": [
        bibtex_rule72,
    ],
    "J": [
        bibtex_rule72,
    ],
    "K": [
        bibtex_rule72,
    ],
    "L": [
        bibtex_rule72,
    ],
    "M": [
        bibtex_rule72,
    ],
    "N": [
        bibtex_rule72,
    ],
    "O": [
        bibtex_rule72,
    ],
    "P": [
        bibtex_rule72,
    ],
    "Q": [
        bibtex_rule72,
    ],
    "R": [
        bibtex_rule72,
    ],
    "S": [
        bibtex_rule72,
    ],
    "T": [
        bibtex_rule72,
    ],
    "U": [
        bibtex_rule72,
    ],
    "V": [
        bibtex_rule72,
    ],
    "W": [
        bibtex_rule72,
    ],
    "X": [
        bibtex_rule72,
    ],
    "Y": [
        bibtex_rule72,
    ],
    "Z": [
        bibtex_rule72,
    ],
    "a": [
        bibtex_rule72,
    ],
    "b": [
        bibtex_rule72,
    ],
    "c": [
        bibtex_rule72,
    ],
    "d": [
        bibtex_rule72,
    ],
    "e": [
        bibtex_rule72,
    ],
    "f": [
        bibtex_rule72,
    ],
    "g": [
        bibtex_rule72,
    ],
    "h": [
        bibtex_rule72,
    ],
    "i": [
        bibtex_rule72,
    ],
    "j": [
        bibtex_rule72,
    ],
    "k": [
        bibtex_rule72,
    ],
    "l": [
        bibtex_rule72,
    ],
    "m": [
        bibtex_rule72,
    ],
    "n": [
        bibtex_rule72,
    ],
    "o": [
        bibtex_rule72,
    ],
    "p": [
        bibtex_rule72,
    ],
    "q": [
        bibtex_rule72,
    ],
    "r": [
        bibtex_rule72,
    ],
    "s": [
        bibtex_rule72,
    ],
    "t": [
        bibtex_rule72,
    ],
    "u": [
        bibtex_rule72,
    ],
    "v": [
        bibtex_rule72,
    ],
    "w": [
        bibtex_rule72,
    ],
    "x": [
        bibtex_rule72,
    ],
    "y": [
        bibtex_rule72,
    ],
    "z": [
        bibtex_rule72,
    ],
    "{": [
        bibtex_rule60,
    ],
}

# Rules for bibtex_conference ruleset.


def bibtex_rule73(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule74(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule75(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule76(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule77(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule78(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule79(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule80(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule81(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule82(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule83(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule84(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule85(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule86(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_conference ruleset.
rulesDict5 = {
    "\"": [
        bibtex_rule73,
    ],
    ",": [
        bibtex_rule76,
    ],
    "0": [
        bibtex_rule86,
    ],
    "1": [
        bibtex_rule77,
        bibtex_rule86,
    ],
    "2": [
        bibtex_rule78,
        bibtex_rule86,
    ],
    "3": [
        bibtex_rule79,
        bibtex_rule86,
    ],
    "4": [
        bibtex_rule80,
        bibtex_rule86,
    ],
    "5": [
        bibtex_rule81,
        bibtex_rule86,
    ],
    "6": [
        bibtex_rule82,
        bibtex_rule86,
    ],
    "7": [
        bibtex_rule83,
        bibtex_rule86,
    ],
    "8": [
        bibtex_rule84,
        bibtex_rule86,
    ],
    "9": [
        bibtex_rule85,
        bibtex_rule86,
    ],
    "=": [
        bibtex_rule75,
    ],
    "@": [
        bibtex_rule86,
    ],
    "A": [
        bibtex_rule86,
    ],
    "B": [
        bibtex_rule86,
    ],
    "C": [
        bibtex_rule86,
    ],
    "D": [
        bibtex_rule86,
    ],
    "E": [
        bibtex_rule86,
    ],
    "F": [
        bibtex_rule86,
    ],
    "G": [
        bibtex_rule86,
    ],
    "H": [
        bibtex_rule86,
    ],
    "I": [
        bibtex_rule86,
    ],
    "J": [
        bibtex_rule86,
    ],
    "K": [
        bibtex_rule86,
    ],
    "L": [
        bibtex_rule86,
    ],
    "M": [
        bibtex_rule86,
    ],
    "N": [
        bibtex_rule86,
    ],
    "O": [
        bibtex_rule86,
    ],
    "P": [
        bibtex_rule86,
    ],
    "Q": [
        bibtex_rule86,
    ],
    "R": [
        bibtex_rule86,
    ],
    "S": [
        bibtex_rule86,
    ],
    "T": [
        bibtex_rule86,
    ],
    "U": [
        bibtex_rule86,
    ],
    "V": [
        bibtex_rule86,
    ],
    "W": [
        bibtex_rule86,
    ],
    "X": [
        bibtex_rule86,
    ],
    "Y": [
        bibtex_rule86,
    ],
    "Z": [
        bibtex_rule86,
    ],
    "a": [
        bibtex_rule86,
    ],
    "b": [
        bibtex_rule86,
    ],
    "c": [
        bibtex_rule86,
    ],
    "d": [
        bibtex_rule86,
    ],
    "e": [
        bibtex_rule86,
    ],
    "f": [
        bibtex_rule86,
    ],
    "g": [
        bibtex_rule86,
    ],
    "h": [
        bibtex_rule86,
    ],
    "i": [
        bibtex_rule86,
    ],
    "j": [
        bibtex_rule86,
    ],
    "k": [
        bibtex_rule86,
    ],
    "l": [
        bibtex_rule86,
    ],
    "m": [
        bibtex_rule86,
    ],
    "n": [
        bibtex_rule86,
    ],
    "o": [
        bibtex_rule86,
    ],
    "p": [
        bibtex_rule86,
    ],
    "q": [
        bibtex_rule86,
    ],
    "r": [
        bibtex_rule86,
    ],
    "s": [
        bibtex_rule86,
    ],
    "t": [
        bibtex_rule86,
    ],
    "u": [
        bibtex_rule86,
    ],
    "v": [
        bibtex_rule86,
    ],
    "w": [
        bibtex_rule86,
    ],
    "x": [
        bibtex_rule86,
    ],
    "y": [
        bibtex_rule86,
    ],
    "z": [
        bibtex_rule86,
    ],
    "{": [
        bibtex_rule74,
    ],
}

# Rules for bibtex_inbook ruleset.


def bibtex_rule87(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule88(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule89(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule90(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule91(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule92(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule93(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule94(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule95(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule96(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule97(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule98(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule99(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule100(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_inbook ruleset.
rulesDict6 = {
    "\"": [
        bibtex_rule87,
    ],
    ",": [
        bibtex_rule90,
    ],
    "0": [
        bibtex_rule100,
    ],
    "1": [
        bibtex_rule91,
        bibtex_rule100,
    ],
    "2": [
        bibtex_rule92,
        bibtex_rule100,
    ],
    "3": [
        bibtex_rule93,
        bibtex_rule100,
    ],
    "4": [
        bibtex_rule94,
        bibtex_rule100,
    ],
    "5": [
        bibtex_rule95,
        bibtex_rule100,
    ],
    "6": [
        bibtex_rule96,
        bibtex_rule100,
    ],
    "7": [
        bibtex_rule97,
        bibtex_rule100,
    ],
    "8": [
        bibtex_rule98,
        bibtex_rule100,
    ],
    "9": [
        bibtex_rule99,
        bibtex_rule100,
    ],
    "=": [
        bibtex_rule89,
    ],
    "@": [
        bibtex_rule100,
    ],
    "A": [
        bibtex_rule100,
    ],
    "B": [
        bibtex_rule100,
    ],
    "C": [
        bibtex_rule100,
    ],
    "D": [
        bibtex_rule100,
    ],
    "E": [
        bibtex_rule100,
    ],
    "F": [
        bibtex_rule100,
    ],
    "G": [
        bibtex_rule100,
    ],
    "H": [
        bibtex_rule100,
    ],
    "I": [
        bibtex_rule100,
    ],
    "J": [
        bibtex_rule100,
    ],
    "K": [
        bibtex_rule100,
    ],
    "L": [
        bibtex_rule100,
    ],
    "M": [
        bibtex_rule100,
    ],
    "N": [
        bibtex_rule100,
    ],
    "O": [
        bibtex_rule100,
    ],
    "P": [
        bibtex_rule100,
    ],
    "Q": [
        bibtex_rule100,
    ],
    "R": [
        bibtex_rule100,
    ],
    "S": [
        bibtex_rule100,
    ],
    "T": [
        bibtex_rule100,
    ],
    "U": [
        bibtex_rule100,
    ],
    "V": [
        bibtex_rule100,
    ],
    "W": [
        bibtex_rule100,
    ],
    "X": [
        bibtex_rule100,
    ],
    "Y": [
        bibtex_rule100,
    ],
    "Z": [
        bibtex_rule100,
    ],
    "a": [
        bibtex_rule100,
    ],
    "b": [
        bibtex_rule100,
    ],
    "c": [
        bibtex_rule100,
    ],
    "d": [
        bibtex_rule100,
    ],
    "e": [
        bibtex_rule100,
    ],
    "f": [
        bibtex_rule100,
    ],
    "g": [
        bibtex_rule100,
    ],
    "h": [
        bibtex_rule100,
    ],
    "i": [
        bibtex_rule100,
    ],
    "j": [
        bibtex_rule100,
    ],
    "k": [
        bibtex_rule100,
    ],
    "l": [
        bibtex_rule100,
    ],
    "m": [
        bibtex_rule100,
    ],
    "n": [
        bibtex_rule100,
    ],
    "o": [
        bibtex_rule100,
    ],
    "p": [
        bibtex_rule100,
    ],
    "q": [
        bibtex_rule100,
    ],
    "r": [
        bibtex_rule100,
    ],
    "s": [
        bibtex_rule100,
    ],
    "t": [
        bibtex_rule100,
    ],
    "u": [
        bibtex_rule100,
    ],
    "v": [
        bibtex_rule100,
    ],
    "w": [
        bibtex_rule100,
    ],
    "x": [
        bibtex_rule100,
    ],
    "y": [
        bibtex_rule100,
    ],
    "z": [
        bibtex_rule100,
    ],
    "{": [
        bibtex_rule88,
    ],
}

# Rules for bibtex_incollection ruleset.


def bibtex_rule101(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule102(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule103(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule104(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule105(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule106(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule107(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule108(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule109(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule110(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule111(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule112(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule113(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule114(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_incollection ruleset.
rulesDict7 = {
    "\"": [
        bibtex_rule101,
    ],
    ",": [
        bibtex_rule104,
    ],
    "0": [
        bibtex_rule114,
    ],
    "1": [
        bibtex_rule105,
        bibtex_rule114,
    ],
    "2": [
        bibtex_rule106,
        bibtex_rule114,
    ],
    "3": [
        bibtex_rule107,
        bibtex_rule114,
    ],
    "4": [
        bibtex_rule108,
        bibtex_rule114,
    ],
    "5": [
        bibtex_rule109,
        bibtex_rule114,
    ],
    "6": [
        bibtex_rule110,
        bibtex_rule114,
    ],
    "7": [
        bibtex_rule111,
        bibtex_rule114,
    ],
    "8": [
        bibtex_rule112,
        bibtex_rule114,
    ],
    "9": [
        bibtex_rule113,
        bibtex_rule114,
    ],
    "=": [
        bibtex_rule103,
    ],
    "@": [
        bibtex_rule114,
    ],
    "A": [
        bibtex_rule114,
    ],
    "B": [
        bibtex_rule114,
    ],
    "C": [
        bibtex_rule114,
    ],
    "D": [
        bibtex_rule114,
    ],
    "E": [
        bibtex_rule114,
    ],
    "F": [
        bibtex_rule114,
    ],
    "G": [
        bibtex_rule114,
    ],
    "H": [
        bibtex_rule114,
    ],
    "I": [
        bibtex_rule114,
    ],
    "J": [
        bibtex_rule114,
    ],
    "K": [
        bibtex_rule114,
    ],
    "L": [
        bibtex_rule114,
    ],
    "M": [
        bibtex_rule114,
    ],
    "N": [
        bibtex_rule114,
    ],
    "O": [
        bibtex_rule114,
    ],
    "P": [
        bibtex_rule114,
    ],
    "Q": [
        bibtex_rule114,
    ],
    "R": [
        bibtex_rule114,
    ],
    "S": [
        bibtex_rule114,
    ],
    "T": [
        bibtex_rule114,
    ],
    "U": [
        bibtex_rule114,
    ],
    "V": [
        bibtex_rule114,
    ],
    "W": [
        bibtex_rule114,
    ],
    "X": [
        bibtex_rule114,
    ],
    "Y": [
        bibtex_rule114,
    ],
    "Z": [
        bibtex_rule114,
    ],
    "a": [
        bibtex_rule114,
    ],
    "b": [
        bibtex_rule114,
    ],
    "c": [
        bibtex_rule114,
    ],
    "d": [
        bibtex_rule114,
    ],
    "e": [
        bibtex_rule114,
    ],
    "f": [
        bibtex_rule114,
    ],
    "g": [
        bibtex_rule114,
    ],
    "h": [
        bibtex_rule114,
    ],
    "i": [
        bibtex_rule114,
    ],
    "j": [
        bibtex_rule114,
    ],
    "k": [
        bibtex_rule114,
    ],
    "l": [
        bibtex_rule114,
    ],
    "m": [
        bibtex_rule114,
    ],
    "n": [
        bibtex_rule114,
    ],
    "o": [
        bibtex_rule114,
    ],
    "p": [
        bibtex_rule114,
    ],
    "q": [
        bibtex_rule114,
    ],
    "r": [
        bibtex_rule114,
    ],
    "s": [
        bibtex_rule114,
    ],
    "t": [
        bibtex_rule114,
    ],
    "u": [
        bibtex_rule114,
    ],
    "v": [
        bibtex_rule114,
    ],
    "w": [
        bibtex_rule114,
    ],
    "x": [
        bibtex_rule114,
    ],
    "y": [
        bibtex_rule114,
    ],
    "z": [
        bibtex_rule114,
    ],
    "{": [
        bibtex_rule102,
    ],
}

# Rules for bibtex_inproceedings ruleset.


def bibtex_rule115(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule116(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule117(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule118(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule119(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule120(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule121(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule122(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule123(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule124(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule125(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule126(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule127(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule128(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_inproceedings ruleset.
rulesDict8 = {
    "\"": [
        bibtex_rule115,
    ],
    ",": [
        bibtex_rule118,
    ],
    "0": [
        bibtex_rule128,
    ],
    "1": [
        bibtex_rule119,
        bibtex_rule128,
    ],
    "2": [
        bibtex_rule120,
        bibtex_rule128,
    ],
    "3": [
        bibtex_rule121,
        bibtex_rule128,
    ],
    "4": [
        bibtex_rule122,
        bibtex_rule128,
    ],
    "5": [
        bibtex_rule123,
        bibtex_rule128,
    ],
    "6": [
        bibtex_rule124,
        bibtex_rule128,
    ],
    "7": [
        bibtex_rule125,
        bibtex_rule128,
    ],
    "8": [
        bibtex_rule126,
        bibtex_rule128,
    ],
    "9": [
        bibtex_rule127,
        bibtex_rule128,
    ],
    "=": [
        bibtex_rule117,
    ],
    "@": [
        bibtex_rule128,
    ],
    "A": [
        bibtex_rule128,
    ],
    "B": [
        bibtex_rule128,
    ],
    "C": [
        bibtex_rule128,
    ],
    "D": [
        bibtex_rule128,
    ],
    "E": [
        bibtex_rule128,
    ],
    "F": [
        bibtex_rule128,
    ],
    "G": [
        bibtex_rule128,
    ],
    "H": [
        bibtex_rule128,
    ],
    "I": [
        bibtex_rule128,
    ],
    "J": [
        bibtex_rule128,
    ],
    "K": [
        bibtex_rule128,
    ],
    "L": [
        bibtex_rule128,
    ],
    "M": [
        bibtex_rule128,
    ],
    "N": [
        bibtex_rule128,
    ],
    "O": [
        bibtex_rule128,
    ],
    "P": [
        bibtex_rule128,
    ],
    "Q": [
        bibtex_rule128,
    ],
    "R": [
        bibtex_rule128,
    ],
    "S": [
        bibtex_rule128,
    ],
    "T": [
        bibtex_rule128,
    ],
    "U": [
        bibtex_rule128,
    ],
    "V": [
        bibtex_rule128,
    ],
    "W": [
        bibtex_rule128,
    ],
    "X": [
        bibtex_rule128,
    ],
    "Y": [
        bibtex_rule128,
    ],
    "Z": [
        bibtex_rule128,
    ],
    "a": [
        bibtex_rule128,
    ],
    "b": [
        bibtex_rule128,
    ],
    "c": [
        bibtex_rule128,
    ],
    "d": [
        bibtex_rule128,
    ],
    "e": [
        bibtex_rule128,
    ],
    "f": [
        bibtex_rule128,
    ],
    "g": [
        bibtex_rule128,
    ],
    "h": [
        bibtex_rule128,
    ],
    "i": [
        bibtex_rule128,
    ],
    "j": [
        bibtex_rule128,
    ],
    "k": [
        bibtex_rule128,
    ],
    "l": [
        bibtex_rule128,
    ],
    "m": [
        bibtex_rule128,
    ],
    "n": [
        bibtex_rule128,
    ],
    "o": [
        bibtex_rule128,
    ],
    "p": [
        bibtex_rule128,
    ],
    "q": [
        bibtex_rule128,
    ],
    "r": [
        bibtex_rule128,
    ],
    "s": [
        bibtex_rule128,
    ],
    "t": [
        bibtex_rule128,
    ],
    "u": [
        bibtex_rule128,
    ],
    "v": [
        bibtex_rule128,
    ],
    "w": [
        bibtex_rule128,
    ],
    "x": [
        bibtex_rule128,
    ],
    "y": [
        bibtex_rule128,
    ],
    "z": [
        bibtex_rule128,
    ],
    "{": [
        bibtex_rule116,
    ],
}

# Rules for bibtex_manual ruleset.


def bibtex_rule129(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule130(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule131(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule132(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule133(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule134(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule135(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule136(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule137(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule138(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule139(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule140(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule141(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule142(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_manual ruleset.
rulesDict9 = {
    "\"": [
        bibtex_rule129,
    ],
    ",": [
        bibtex_rule132,
    ],
    "0": [
        bibtex_rule142,
    ],
    "1": [
        bibtex_rule133,
        bibtex_rule142,
    ],
    "2": [
        bibtex_rule134,
        bibtex_rule142,
    ],
    "3": [
        bibtex_rule135,
        bibtex_rule142,
    ],
    "4": [
        bibtex_rule136,
        bibtex_rule142,
    ],
    "5": [
        bibtex_rule137,
        bibtex_rule142,
    ],
    "6": [
        bibtex_rule138,
        bibtex_rule142,
    ],
    "7": [
        bibtex_rule139,
        bibtex_rule142,
    ],
    "8": [
        bibtex_rule140,
        bibtex_rule142,
    ],
    "9": [
        bibtex_rule141,
        bibtex_rule142,
    ],
    "=": [
        bibtex_rule131,
    ],
    "@": [
        bibtex_rule142,
    ],
    "A": [
        bibtex_rule142,
    ],
    "B": [
        bibtex_rule142,
    ],
    "C": [
        bibtex_rule142,
    ],
    "D": [
        bibtex_rule142,
    ],
    "E": [
        bibtex_rule142,
    ],
    "F": [
        bibtex_rule142,
    ],
    "G": [
        bibtex_rule142,
    ],
    "H": [
        bibtex_rule142,
    ],
    "I": [
        bibtex_rule142,
    ],
    "J": [
        bibtex_rule142,
    ],
    "K": [
        bibtex_rule142,
    ],
    "L": [
        bibtex_rule142,
    ],
    "M": [
        bibtex_rule142,
    ],
    "N": [
        bibtex_rule142,
    ],
    "O": [
        bibtex_rule142,
    ],
    "P": [
        bibtex_rule142,
    ],
    "Q": [
        bibtex_rule142,
    ],
    "R": [
        bibtex_rule142,
    ],
    "S": [
        bibtex_rule142,
    ],
    "T": [
        bibtex_rule142,
    ],
    "U": [
        bibtex_rule142,
    ],
    "V": [
        bibtex_rule142,
    ],
    "W": [
        bibtex_rule142,
    ],
    "X": [
        bibtex_rule142,
    ],
    "Y": [
        bibtex_rule142,
    ],
    "Z": [
        bibtex_rule142,
    ],
    "a": [
        bibtex_rule142,
    ],
    "b": [
        bibtex_rule142,
    ],
    "c": [
        bibtex_rule142,
    ],
    "d": [
        bibtex_rule142,
    ],
    "e": [
        bibtex_rule142,
    ],
    "f": [
        bibtex_rule142,
    ],
    "g": [
        bibtex_rule142,
    ],
    "h": [
        bibtex_rule142,
    ],
    "i": [
        bibtex_rule142,
    ],
    "j": [
        bibtex_rule142,
    ],
    "k": [
        bibtex_rule142,
    ],
    "l": [
        bibtex_rule142,
    ],
    "m": [
        bibtex_rule142,
    ],
    "n": [
        bibtex_rule142,
    ],
    "o": [
        bibtex_rule142,
    ],
    "p": [
        bibtex_rule142,
    ],
    "q": [
        bibtex_rule142,
    ],
    "r": [
        bibtex_rule142,
    ],
    "s": [
        bibtex_rule142,
    ],
    "t": [
        bibtex_rule142,
    ],
    "u": [
        bibtex_rule142,
    ],
    "v": [
        bibtex_rule142,
    ],
    "w": [
        bibtex_rule142,
    ],
    "x": [
        bibtex_rule142,
    ],
    "y": [
        bibtex_rule142,
    ],
    "z": [
        bibtex_rule142,
    ],
    "{": [
        bibtex_rule130,
    ],
}

# Rules for bibtex_mastersthesis ruleset.


def bibtex_rule143(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule144(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule145(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule146(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule147(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule148(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule149(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule150(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule151(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule152(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule153(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule154(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule155(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule156(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_mastersthesis ruleset.
rulesDict10 = {
    "\"": [
        bibtex_rule143,
    ],
    ",": [
        bibtex_rule146,
    ],
    "0": [
        bibtex_rule156,
    ],
    "1": [
        bibtex_rule147,
        bibtex_rule156,
    ],
    "2": [
        bibtex_rule148,
        bibtex_rule156,
    ],
    "3": [
        bibtex_rule149,
        bibtex_rule156,
    ],
    "4": [
        bibtex_rule150,
        bibtex_rule156,
    ],
    "5": [
        bibtex_rule151,
        bibtex_rule156,
    ],
    "6": [
        bibtex_rule152,
        bibtex_rule156,
    ],
    "7": [
        bibtex_rule153,
        bibtex_rule156,
    ],
    "8": [
        bibtex_rule154,
        bibtex_rule156,
    ],
    "9": [
        bibtex_rule155,
        bibtex_rule156,
    ],
    "=": [
        bibtex_rule145,
    ],
    "@": [
        bibtex_rule156,
    ],
    "A": [
        bibtex_rule156,
    ],
    "B": [
        bibtex_rule156,
    ],
    "C": [
        bibtex_rule156,
    ],
    "D": [
        bibtex_rule156,
    ],
    "E": [
        bibtex_rule156,
    ],
    "F": [
        bibtex_rule156,
    ],
    "G": [
        bibtex_rule156,
    ],
    "H": [
        bibtex_rule156,
    ],
    "I": [
        bibtex_rule156,
    ],
    "J": [
        bibtex_rule156,
    ],
    "K": [
        bibtex_rule156,
    ],
    "L": [
        bibtex_rule156,
    ],
    "M": [
        bibtex_rule156,
    ],
    "N": [
        bibtex_rule156,
    ],
    "O": [
        bibtex_rule156,
    ],
    "P": [
        bibtex_rule156,
    ],
    "Q": [
        bibtex_rule156,
    ],
    "R": [
        bibtex_rule156,
    ],
    "S": [
        bibtex_rule156,
    ],
    "T": [
        bibtex_rule156,
    ],
    "U": [
        bibtex_rule156,
    ],
    "V": [
        bibtex_rule156,
    ],
    "W": [
        bibtex_rule156,
    ],
    "X": [
        bibtex_rule156,
    ],
    "Y": [
        bibtex_rule156,
    ],
    "Z": [
        bibtex_rule156,
    ],
    "a": [
        bibtex_rule156,
    ],
    "b": [
        bibtex_rule156,
    ],
    "c": [
        bibtex_rule156,
    ],
    "d": [
        bibtex_rule156,
    ],
    "e": [
        bibtex_rule156,
    ],
    "f": [
        bibtex_rule156,
    ],
    "g": [
        bibtex_rule156,
    ],
    "h": [
        bibtex_rule156,
    ],
    "i": [
        bibtex_rule156,
    ],
    "j": [
        bibtex_rule156,
    ],
    "k": [
        bibtex_rule156,
    ],
    "l": [
        bibtex_rule156,
    ],
    "m": [
        bibtex_rule156,
    ],
    "n": [
        bibtex_rule156,
    ],
    "o": [
        bibtex_rule156,
    ],
    "p": [
        bibtex_rule156,
    ],
    "q": [
        bibtex_rule156,
    ],
    "r": [
        bibtex_rule156,
    ],
    "s": [
        bibtex_rule156,
    ],
    "t": [
        bibtex_rule156,
    ],
    "u": [
        bibtex_rule156,
    ],
    "v": [
        bibtex_rule156,
    ],
    "w": [
        bibtex_rule156,
    ],
    "x": [
        bibtex_rule156,
    ],
    "y": [
        bibtex_rule156,
    ],
    "z": [
        bibtex_rule156,
    ],
    "{": [
        bibtex_rule144,
    ],
}

# Rules for bibtex_misc ruleset.


def bibtex_rule157(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule158(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule159(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule160(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule161(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule162(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule163(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule164(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule165(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule166(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule167(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule168(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule169(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule170(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_misc ruleset.
rulesDict11 = {
    "\"": [
        bibtex_rule157,
    ],
    ",": [
        bibtex_rule160,
    ],
    "0": [
        bibtex_rule170,
    ],
    "1": [
        bibtex_rule161,
        bibtex_rule170,
    ],
    "2": [
        bibtex_rule162,
        bibtex_rule170,
    ],
    "3": [
        bibtex_rule163,
        bibtex_rule170,
    ],
    "4": [
        bibtex_rule164,
        bibtex_rule170,
    ],
    "5": [
        bibtex_rule165,
        bibtex_rule170,
    ],
    "6": [
        bibtex_rule166,
        bibtex_rule170,
    ],
    "7": [
        bibtex_rule167,
        bibtex_rule170,
    ],
    "8": [
        bibtex_rule168,
        bibtex_rule170,
    ],
    "9": [
        bibtex_rule169,
        bibtex_rule170,
    ],
    "=": [
        bibtex_rule159,
    ],
    "@": [
        bibtex_rule170,
    ],
    "A": [
        bibtex_rule170,
    ],
    "B": [
        bibtex_rule170,
    ],
    "C": [
        bibtex_rule170,
    ],
    "D": [
        bibtex_rule170,
    ],
    "E": [
        bibtex_rule170,
    ],
    "F": [
        bibtex_rule170,
    ],
    "G": [
        bibtex_rule170,
    ],
    "H": [
        bibtex_rule170,
    ],
    "I": [
        bibtex_rule170,
    ],
    "J": [
        bibtex_rule170,
    ],
    "K": [
        bibtex_rule170,
    ],
    "L": [
        bibtex_rule170,
    ],
    "M": [
        bibtex_rule170,
    ],
    "N": [
        bibtex_rule170,
    ],
    "O": [
        bibtex_rule170,
    ],
    "P": [
        bibtex_rule170,
    ],
    "Q": [
        bibtex_rule170,
    ],
    "R": [
        bibtex_rule170,
    ],
    "S": [
        bibtex_rule170,
    ],
    "T": [
        bibtex_rule170,
    ],
    "U": [
        bibtex_rule170,
    ],
    "V": [
        bibtex_rule170,
    ],
    "W": [
        bibtex_rule170,
    ],
    "X": [
        bibtex_rule170,
    ],
    "Y": [
        bibtex_rule170,
    ],
    "Z": [
        bibtex_rule170,
    ],
    "a": [
        bibtex_rule170,
    ],
    "b": [
        bibtex_rule170,
    ],
    "c": [
        bibtex_rule170,
    ],
    "d": [
        bibtex_rule170,
    ],
    "e": [
        bibtex_rule170,
    ],
    "f": [
        bibtex_rule170,
    ],
    "g": [
        bibtex_rule170,
    ],
    "h": [
        bibtex_rule170,
    ],
    "i": [
        bibtex_rule170,
    ],
    "j": [
        bibtex_rule170,
    ],
    "k": [
        bibtex_rule170,
    ],
    "l": [
        bibtex_rule170,
    ],
    "m": [
        bibtex_rule170,
    ],
    "n": [
        bibtex_rule170,
    ],
    "o": [
        bibtex_rule170,
    ],
    "p": [
        bibtex_rule170,
    ],
    "q": [
        bibtex_rule170,
    ],
    "r": [
        bibtex_rule170,
    ],
    "s": [
        bibtex_rule170,
    ],
    "t": [
        bibtex_rule170,
    ],
    "u": [
        bibtex_rule170,
    ],
    "v": [
        bibtex_rule170,
    ],
    "w": [
        bibtex_rule170,
    ],
    "x": [
        bibtex_rule170,
    ],
    "y": [
        bibtex_rule170,
    ],
    "z": [
        bibtex_rule170,
    ],
    "{": [
        bibtex_rule158,
    ],
}

# Rules for bibtex_phdthesis ruleset.


def bibtex_rule171(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule172(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule173(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule174(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule175(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule176(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule177(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule178(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule179(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule180(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule181(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule182(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule183(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule184(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_phdthesis ruleset.
rulesDict12 = {
    "\"": [
        bibtex_rule171,
    ],
    ",": [
        bibtex_rule174,
    ],
    "0": [
        bibtex_rule184,
    ],
    "1": [
        bibtex_rule175,
        bibtex_rule184,
    ],
    "2": [
        bibtex_rule176,
        bibtex_rule184,
    ],
    "3": [
        bibtex_rule177,
        bibtex_rule184,
    ],
    "4": [
        bibtex_rule178,
        bibtex_rule184,
    ],
    "5": [
        bibtex_rule179,
        bibtex_rule184,
    ],
    "6": [
        bibtex_rule180,
        bibtex_rule184,
    ],
    "7": [
        bibtex_rule181,
        bibtex_rule184,
    ],
    "8": [
        bibtex_rule182,
        bibtex_rule184,
    ],
    "9": [
        bibtex_rule183,
        bibtex_rule184,
    ],
    "=": [
        bibtex_rule173,
    ],
    "@": [
        bibtex_rule184,
    ],
    "A": [
        bibtex_rule184,
    ],
    "B": [
        bibtex_rule184,
    ],
    "C": [
        bibtex_rule184,
    ],
    "D": [
        bibtex_rule184,
    ],
    "E": [
        bibtex_rule184,
    ],
    "F": [
        bibtex_rule184,
    ],
    "G": [
        bibtex_rule184,
    ],
    "H": [
        bibtex_rule184,
    ],
    "I": [
        bibtex_rule184,
    ],
    "J": [
        bibtex_rule184,
    ],
    "K": [
        bibtex_rule184,
    ],
    "L": [
        bibtex_rule184,
    ],
    "M": [
        bibtex_rule184,
    ],
    "N": [
        bibtex_rule184,
    ],
    "O": [
        bibtex_rule184,
    ],
    "P": [
        bibtex_rule184,
    ],
    "Q": [
        bibtex_rule184,
    ],
    "R": [
        bibtex_rule184,
    ],
    "S": [
        bibtex_rule184,
    ],
    "T": [
        bibtex_rule184,
    ],
    "U": [
        bibtex_rule184,
    ],
    "V": [
        bibtex_rule184,
    ],
    "W": [
        bibtex_rule184,
    ],
    "X": [
        bibtex_rule184,
    ],
    "Y": [
        bibtex_rule184,
    ],
    "Z": [
        bibtex_rule184,
    ],
    "a": [
        bibtex_rule184,
    ],
    "b": [
        bibtex_rule184,
    ],
    "c": [
        bibtex_rule184,
    ],
    "d": [
        bibtex_rule184,
    ],
    "e": [
        bibtex_rule184,
    ],
    "f": [
        bibtex_rule184,
    ],
    "g": [
        bibtex_rule184,
    ],
    "h": [
        bibtex_rule184,
    ],
    "i": [
        bibtex_rule184,
    ],
    "j": [
        bibtex_rule184,
    ],
    "k": [
        bibtex_rule184,
    ],
    "l": [
        bibtex_rule184,
    ],
    "m": [
        bibtex_rule184,
    ],
    "n": [
        bibtex_rule184,
    ],
    "o": [
        bibtex_rule184,
    ],
    "p": [
        bibtex_rule184,
    ],
    "q": [
        bibtex_rule184,
    ],
    "r": [
        bibtex_rule184,
    ],
    "s": [
        bibtex_rule184,
    ],
    "t": [
        bibtex_rule184,
    ],
    "u": [
        bibtex_rule184,
    ],
    "v": [
        bibtex_rule184,
    ],
    "w": [
        bibtex_rule184,
    ],
    "x": [
        bibtex_rule184,
    ],
    "y": [
        bibtex_rule184,
    ],
    "z": [
        bibtex_rule184,
    ],
    "{": [
        bibtex_rule172,
    ],
}

# Rules for bibtex_proceedings ruleset.


def bibtex_rule185(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule186(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule187(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule188(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule189(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule190(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule191(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule192(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule193(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule194(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule195(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule196(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule197(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule198(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_proceedings ruleset.
rulesDict13 = {
    "\"": [
        bibtex_rule185,
    ],
    ",": [
        bibtex_rule188,
    ],
    "0": [
        bibtex_rule198,
    ],
    "1": [
        bibtex_rule189,
        bibtex_rule198,
    ],
    "2": [
        bibtex_rule190,
        bibtex_rule198,
    ],
    "3": [
        bibtex_rule191,
        bibtex_rule198,
    ],
    "4": [
        bibtex_rule192,
        bibtex_rule198,
    ],
    "5": [
        bibtex_rule193,
        bibtex_rule198,
    ],
    "6": [
        bibtex_rule194,
        bibtex_rule198,
    ],
    "7": [
        bibtex_rule195,
        bibtex_rule198,
    ],
    "8": [
        bibtex_rule196,
        bibtex_rule198,
    ],
    "9": [
        bibtex_rule197,
        bibtex_rule198,
    ],
    "=": [
        bibtex_rule187,
    ],
    "@": [
        bibtex_rule198,
    ],
    "A": [
        bibtex_rule198,
    ],
    "B": [
        bibtex_rule198,
    ],
    "C": [
        bibtex_rule198,
    ],
    "D": [
        bibtex_rule198,
    ],
    "E": [
        bibtex_rule198,
    ],
    "F": [
        bibtex_rule198,
    ],
    "G": [
        bibtex_rule198,
    ],
    "H": [
        bibtex_rule198,
    ],
    "I": [
        bibtex_rule198,
    ],
    "J": [
        bibtex_rule198,
    ],
    "K": [
        bibtex_rule198,
    ],
    "L": [
        bibtex_rule198,
    ],
    "M": [
        bibtex_rule198,
    ],
    "N": [
        bibtex_rule198,
    ],
    "O": [
        bibtex_rule198,
    ],
    "P": [
        bibtex_rule198,
    ],
    "Q": [
        bibtex_rule198,
    ],
    "R": [
        bibtex_rule198,
    ],
    "S": [
        bibtex_rule198,
    ],
    "T": [
        bibtex_rule198,
    ],
    "U": [
        bibtex_rule198,
    ],
    "V": [
        bibtex_rule198,
    ],
    "W": [
        bibtex_rule198,
    ],
    "X": [
        bibtex_rule198,
    ],
    "Y": [
        bibtex_rule198,
    ],
    "Z": [
        bibtex_rule198,
    ],
    "a": [
        bibtex_rule198,
    ],
    "b": [
        bibtex_rule198,
    ],
    "c": [
        bibtex_rule198,
    ],
    "d": [
        bibtex_rule198,
    ],
    "e": [
        bibtex_rule198,
    ],
    "f": [
        bibtex_rule198,
    ],
    "g": [
        bibtex_rule198,
    ],
    "h": [
        bibtex_rule198,
    ],
    "i": [
        bibtex_rule198,
    ],
    "j": [
        bibtex_rule198,
    ],
    "k": [
        bibtex_rule198,
    ],
    "l": [
        bibtex_rule198,
    ],
    "m": [
        bibtex_rule198,
    ],
    "n": [
        bibtex_rule198,
    ],
    "o": [
        bibtex_rule198,
    ],
    "p": [
        bibtex_rule198,
    ],
    "q": [
        bibtex_rule198,
    ],
    "r": [
        bibtex_rule198,
    ],
    "s": [
        bibtex_rule198,
    ],
    "t": [
        bibtex_rule198,
    ],
    "u": [
        bibtex_rule198,
    ],
    "v": [
        bibtex_rule198,
    ],
    "w": [
        bibtex_rule198,
    ],
    "x": [
        bibtex_rule198,
    ],
    "y": [
        bibtex_rule198,
    ],
    "z": [
        bibtex_rule198,
    ],
    "{": [
        bibtex_rule186,
    ],
}

# Rules for bibtex_techreport ruleset.


def bibtex_rule199(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule200(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule201(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule202(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule203(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule204(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule205(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule206(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule207(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule208(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule209(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule210(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule211(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule212(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_techreport ruleset.
rulesDict14 = {
    "\"": [
        bibtex_rule199,
    ],
    ",": [
        bibtex_rule202,
    ],
    "0": [
        bibtex_rule212,
    ],
    "1": [
        bibtex_rule203,
        bibtex_rule212,
    ],
    "2": [
        bibtex_rule204,
        bibtex_rule212,
    ],
    "3": [
        bibtex_rule205,
        bibtex_rule212,
    ],
    "4": [
        bibtex_rule206,
        bibtex_rule212,
    ],
    "5": [
        bibtex_rule207,
        bibtex_rule212,
    ],
    "6": [
        bibtex_rule208,
        bibtex_rule212,
    ],
    "7": [
        bibtex_rule209,
        bibtex_rule212,
    ],
    "8": [
        bibtex_rule210,
        bibtex_rule212,
    ],
    "9": [
        bibtex_rule211,
        bibtex_rule212,
    ],
    "=": [
        bibtex_rule201,
    ],
    "@": [
        bibtex_rule212,
    ],
    "A": [
        bibtex_rule212,
    ],
    "B": [
        bibtex_rule212,
    ],
    "C": [
        bibtex_rule212,
    ],
    "D": [
        bibtex_rule212,
    ],
    "E": [
        bibtex_rule212,
    ],
    "F": [
        bibtex_rule212,
    ],
    "G": [
        bibtex_rule212,
    ],
    "H": [
        bibtex_rule212,
    ],
    "I": [
        bibtex_rule212,
    ],
    "J": [
        bibtex_rule212,
    ],
    "K": [
        bibtex_rule212,
    ],
    "L": [
        bibtex_rule212,
    ],
    "M": [
        bibtex_rule212,
    ],
    "N": [
        bibtex_rule212,
    ],
    "O": [
        bibtex_rule212,
    ],
    "P": [
        bibtex_rule212,
    ],
    "Q": [
        bibtex_rule212,
    ],
    "R": [
        bibtex_rule212,
    ],
    "S": [
        bibtex_rule212,
    ],
    "T": [
        bibtex_rule212,
    ],
    "U": [
        bibtex_rule212,
    ],
    "V": [
        bibtex_rule212,
    ],
    "W": [
        bibtex_rule212,
    ],
    "X": [
        bibtex_rule212,
    ],
    "Y": [
        bibtex_rule212,
    ],
    "Z": [
        bibtex_rule212,
    ],
    "a": [
        bibtex_rule212,
    ],
    "b": [
        bibtex_rule212,
    ],
    "c": [
        bibtex_rule212,
    ],
    "d": [
        bibtex_rule212,
    ],
    "e": [
        bibtex_rule212,
    ],
    "f": [
        bibtex_rule212,
    ],
    "g": [
        bibtex_rule212,
    ],
    "h": [
        bibtex_rule212,
    ],
    "i": [
        bibtex_rule212,
    ],
    "j": [
        bibtex_rule212,
    ],
    "k": [
        bibtex_rule212,
    ],
    "l": [
        bibtex_rule212,
    ],
    "m": [
        bibtex_rule212,
    ],
    "n": [
        bibtex_rule212,
    ],
    "o": [
        bibtex_rule212,
    ],
    "p": [
        bibtex_rule212,
    ],
    "q": [
        bibtex_rule212,
    ],
    "r": [
        bibtex_rule212,
    ],
    "s": [
        bibtex_rule212,
    ],
    "t": [
        bibtex_rule212,
    ],
    "u": [
        bibtex_rule212,
    ],
    "v": [
        bibtex_rule212,
    ],
    "w": [
        bibtex_rule212,
    ],
    "x": [
        bibtex_rule212,
    ],
    "y": [
        bibtex_rule212,
    ],
    "z": [
        bibtex_rule212,
    ],
    "{": [
        bibtex_rule200,
    ],
}

# Rules for bibtex_unpublished ruleset.


def bibtex_rule213(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule214(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule215(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule216(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule217(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="1[0-9]*")


def bibtex_rule218(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="2[0-9]*")


def bibtex_rule219(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="3[0-9]*")


def bibtex_rule220(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="4[0-9]*")


def bibtex_rule221(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="5[0-9]*")


def bibtex_rule222(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="6[0-9]*")


def bibtex_rule223(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="7[0-9]*")


def bibtex_rule224(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="8[0-9]*")


def bibtex_rule225(colorer, s, i):
    return colorer.match_seq_regexp(s, i, kind="literal1", regexp="9[0-9]*")


def bibtex_rule226(colorer, s, i):
    return colorer.match_keywords(s, i)


# Rules dict for bibtex_unpublished ruleset.
rulesDict15 = {
    "\"": [
        bibtex_rule213,
    ],
    ",": [
        bibtex_rule216,
    ],
    "0": [
        bibtex_rule226,
    ],
    "1": [
        bibtex_rule217,
        bibtex_rule226,
    ],
    "2": [
        bibtex_rule218,
        bibtex_rule226,
    ],
    "3": [
        bibtex_rule219,
        bibtex_rule226,
    ],
    "4": [
        bibtex_rule220,
        bibtex_rule226,
    ],
    "5": [
        bibtex_rule221,
        bibtex_rule226,
    ],
    "6": [
        bibtex_rule222,
        bibtex_rule226,
    ],
    "7": [
        bibtex_rule223,
        bibtex_rule226,
    ],
    "8": [
        bibtex_rule224,
        bibtex_rule226,
    ],
    "9": [
        bibtex_rule225,
        bibtex_rule226,
    ],
    "=": [
        bibtex_rule215,
    ],
    "@": [
        bibtex_rule226,
    ],
    "A": [
        bibtex_rule226,
    ],
    "B": [
        bibtex_rule226,
    ],
    "C": [
        bibtex_rule226,
    ],
    "D": [
        bibtex_rule226,
    ],
    "E": [
        bibtex_rule226,
    ],
    "F": [
        bibtex_rule226,
    ],
    "G": [
        bibtex_rule226,
    ],
    "H": [
        bibtex_rule226,
    ],
    "I": [
        bibtex_rule226,
    ],
    "J": [
        bibtex_rule226,
    ],
    "K": [
        bibtex_rule226,
    ],
    "L": [
        bibtex_rule226,
    ],
    "M": [
        bibtex_rule226,
    ],
    "N": [
        bibtex_rule226,
    ],
    "O": [
        bibtex_rule226,
    ],
    "P": [
        bibtex_rule226,
    ],
    "Q": [
        bibtex_rule226,
    ],
    "R": [
        bibtex_rule226,
    ],
    "S": [
        bibtex_rule226,
    ],
    "T": [
        bibtex_rule226,
    ],
    "U": [
        bibtex_rule226,
    ],
    "V": [
        bibtex_rule226,
    ],
    "W": [
        bibtex_rule226,
    ],
    "X": [
        bibtex_rule226,
    ],
    "Y": [
        bibtex_rule226,
    ],
    "Z": [
        bibtex_rule226,
    ],
    "a": [
        bibtex_rule226,
    ],
    "b": [
        bibtex_rule226,
    ],
    "c": [
        bibtex_rule226,
    ],
    "d": [
        bibtex_rule226,
    ],
    "e": [
        bibtex_rule226,
    ],
    "f": [
        bibtex_rule226,
    ],
    "g": [
        bibtex_rule226,
    ],
    "h": [
        bibtex_rule226,
    ],
    "i": [
        bibtex_rule226,
    ],
    "j": [
        bibtex_rule226,
    ],
    "k": [
        bibtex_rule226,
    ],
    "l": [
        bibtex_rule226,
    ],
    "m": [
        bibtex_rule226,
    ],
    "n": [
        bibtex_rule226,
    ],
    "o": [
        bibtex_rule226,
    ],
    "p": [
        bibtex_rule226,
    ],
    "q": [
        bibtex_rule226,
    ],
    "r": [
        bibtex_rule226,
    ],
    "s": [
        bibtex_rule226,
    ],
    "t": [
        bibtex_rule226,
    ],
    "u": [
        bibtex_rule226,
    ],
    "v": [
        bibtex_rule226,
    ],
    "w": [
        bibtex_rule226,
    ],
    "x": [
        bibtex_rule226,
    ],
    "y": [
        bibtex_rule226,
    ],
    "z": [
        bibtex_rule226,
    ],
    "{": [
        bibtex_rule214,
    ],
}

# Rules for bibtex_textbraced ruleset.


def bibtex_rule227(colorer, s, i):
    return colorer.match_span(s, i, kind="literal3", begin="\\{", end="\\}")


def bibtex_rule228(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule229(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule230(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="literal3", seq="\\\"")


# Rules dict for bibtex_textbraced ruleset.
rulesDict16 = {
    "\"": [
        bibtex_rule229,
    ],
    "\\": [
        bibtex_rule227,
        bibtex_rule230,
    ],
    "{": [
        bibtex_rule228,
    ],
}

# Rules for bibtex_textquoted ruleset.


def bibtex_rule231(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal3", begin="\\{", end="\\}", delegate="bibtex::textbraced"
    )


def bibtex_rule232(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule233(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="literal3", seq="\\\"")


# Rules dict for bibtex_textquoted ruleset.
rulesDict17 = {
    "\\": [
        bibtex_rule231,
        bibtex_rule233,
    ],
    "{": [
        bibtex_rule232,
    ],
}

# Rules for bibtex_string ruleset.


def bibtex_rule234(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal1", begin="\"", end="\"", delegate="bibtex::textquoted"
    )


def bibtex_rule235(colorer, s, i):
    return colorer.match_span(
        s, i, kind="literal2", begin="{", end="}", delegate="bibtex::textbraced"
    )


def bibtex_rule236(colorer, s, i):
    return colorer.match_span(s, i, kind="literal3", begin="\\{", end="\\}")


def bibtex_rule237(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq="=")


def bibtex_rule238(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="operator", seq=",")


def bibtex_rule239(colorer, s, i):
    return colorer.match_plain_seq(s, i, kind="literal3", seq="\\\"")


# Rules dict for bibtex_string ruleset.
rulesDict18 = {
    "\"": [
        bibtex_rule234,
    ],
    ",": [
        bibtex_rule238,
    ],
    "=": [
        bibtex_rule237,
    ],
    "\\": [
        bibtex_rule236,
        bibtex_rule239,
    ],
    "{": [
        bibtex_rule235,
    ],
}

# x.rulesDictDict for bibtex mode.
rulesDictDict = {
    "bibtex_article": rulesDict2,
    "bibtex_book": rulesDict3,
    "bibtex_booklet": rulesDict4,
    "bibtex_conference": rulesDict5,
    "bibtex_inbook": rulesDict6,
    "bibtex_incollection": rulesDict7,
    "bibtex_inproceedings": rulesDict8,
    "bibtex_main": rulesDict1,
    "bibtex_manual": rulesDict9,
    "bibtex_mastersthesis": rulesDict10,
    "bibtex_misc": rulesDict11,
    "bibtex_phdthesis": rulesDict12,
    "bibtex_proceedings": rulesDict13,
    "bibtex_string": rulesDict18,
    "bibtex_techreport": rulesDict14,
    "bibtex_textbraced": rulesDict16,
    "bibtex_textquoted": rulesDict17,
    "bibtex_unpublished": rulesDict15,
}

# Import dict for bibtex mode.
importDict = {}
