<commit_before>Release History
---------------

Release 0.4.3.dev
~~~~~~~~~~~~~~~~~

New Features:

* The starting number of enumerated lists in reStructuredText is respected.
* Sphinx frontend: the ``rinoh_metadata`` configuration variable allows
  overriding the document's subtitle (and other strings) that are used on the
  title page and elsewhere in the document template (PR #182 by <NAME>).
* Table column widths can be specified in the style sheet, which take effect
  when these haven't been specified in the source document.
* The ``page_break`` style attribute is no longer reserved for sections; a
  page break can be forced before any flowable.
* Enumerated list items with a hidden label ('hide' style attribute) are no
  longer counted in the numbering.
* Templates and typefaces can be registered by name at runtime. This makes them
  referencable from template configuration and style sheet files. For example,
  custom templates/typefaces can be imported in a Sphinx project's `conf.py`
  (to be documented).
* It's now possible to add arbitrary reStructuredText content to the front/back
  matter or  elsewhere by adding a ``.. container::`` with the 'out-of-line'
  class and a ``:name:`` to reference it by in the document template
  configuration, e.g. in the list of front matter flowables (to be documented).
* Selectors in style sheet files (.rts) now support boolean and 'None' values.
  For example, you can select StaticGroupedFlowables based on whether they have
  any children or not: e.g ``TableCell(empty=true)`` selects empty table cells.
* The document's title and author are now stored in the PDF metadata.
* "0" is now accepted as a valid value for Dimension-type attributes in style
  sheets and template configurations.

Changed:

* Sphinx frontend: support for the 'rinoh_stylesheet' and 'rinoh_paper_size'
  configuration variables was removed. You can specify the style sheet and
  paper size to use in the template configuration (PR #195 and #192 by Alex
  Fargus)<commit_msg>Changelog: PR #197 Cache AttributeType.from_string()<commit_after>Release History
---------------

Release 0.4.3.dev
~~~~~~~~~~~~~~~~~

New Features:

* The starting number of enumerated lists in reStructuredText is respected.
* Sphinx frontend: the ``rinoh_metadata`` configuration variable allows
  overriding the document's subtitle (and other strings) that are used on the
  title page and elsewhere in the document template (PR #182 by <NAME>).
* Table column widths can be specified in the style sheet, which take effect
  when these haven't been specified in the source document.
* The ``page_break`` style attribute is no longer reserved for sections; a
  page break can be forced before any flowable.
* Enumerated list items with a hidden label ('hide' style attribute) are no
  longer counted in the numbering.
* Templates and typefaces can be registered by name at runtime. This makes them
  referencable from template configuration and style sheet files. For example,
  custom templates/typefaces can be imported in a Sphinx project's `conf.py`
  (to be documented).
* It's now possible to add arbitrary reStructuredText content to the front/back
  matter or  elsewhere by adding a ``.. container::`` with the 'out-of-line'
  class and a ``:name:`` to reference it by in the document template
  configuration, e.g. in the list of front matter flowables (to be documented).
* Selectors in style sheet files (.rts) now support boolean and 'None' values.
  For example, you can select StaticGroupedFlowables based on whether they have
  any children or not: e.g ``TableCell(empty=true)`` selects empty table cells.
* The document's title and author are now stored in the PDF metadata.
* "0" is now accepted as a valid value for Dimension-type attributes in style
  sheets and template configurations.

Changed:

* Rendering speed was more than doubled (caching)! (PR #197 by <NAME>)
* Sphinx frontend: support for the 'rinoh_stylesheet' and 'rinoh_paper_size'
  configuration variables was removed. You can specify the style sheet and
  paper size to use in the template configuration (PR #195 and #192 by Alex
  Fargus)
{'fraction_non_alphanumeric': 0.07569913211186113, 'fraction_numerical': 0.007714561234329798, 'mean_word_length': 4.332904884318766, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '165735', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1066, 'n_words': 580}