@@ -16,7 +16,7 @@ The core functionality of bibtexparser is deliberately kept simple:
1616* Upon writing, the splitting is reversed and the blocks are joined together again, with few formatting options.
1717
1818Advanced transformations of blocks, such as sorting, encoding, cross-referencing, etc. are not part of the core functionality,
19- but can be optionally added to the parse stack by using the corresponging middleware layers:
19+ but can be optionally added to the parse stack by using the corresponding middleware layers:
2020Middleware layers helper classes providing the functionality take a library object and return a new, transformed version of said library.
2121
2222Middleware Layers
@@ -28,9 +28,9 @@ Middleware Layers
2828
2929 # We want to add three new middleware layers to our parse stack:
3030 layers = [
31- m.MonthIntMiddleware(True ), # Months should be represented as int (0-12)
32- m.SeparateCoAuthors(True ), # Co-authors should be separated as list of strings
33- m.SplitNameParts(True ) # Individual Names should be split into first, von, last, jr parts
31+ m.MonthIntMiddleware(), # Months should be represented as int (0-12)
32+ m.SeparateCoAuthors(), # Co-authors should be separated as list of strings
33+ m.SplitNameParts() # Individual Names should be split into first, von, last, jr parts
3434 ]
3535 library = bibtexparser.parse_file(' bibtex.bib' , append_middleware = layers)
3636
@@ -147,4 +147,4 @@ Specifically, a user may pass a :class:`bibtexparser.BibtexFormatter` object to
147147 bib_str = bibtexparser.write_string(library, bibtex_format = bibtex_format)
148148
149149 A few more options are provided and we refer to the docstrings of :class: `bibtexparser.BibtexFormat ` for details.
150- Note: Sorting of blocks and fields is done with the corresponding middleware, as described above.
150+ Note: Sorting of blocks and fields is done with the corresponding middleware, as described above.
0 commit comments