bibble.latex.reader

See EOF for license/metadata/notes as applicable

Type Aliases

Entry

Classes

LatexReader

Latex->unicode transform.

Module Contents

bibble.latex.reader.Entry: TypeAlias = model.Entry
class bibble.latex.reader.LatexReader(*, extra=None, **kwargs)[source]

Bases: bibble.util.middlecore.IdenBlockMiddleware

Latex->unicode transform. all strings in the library, except urls, files, doi’s and crossrefs

Parameters:

extra (jgdv.Maybe[dict])

_transform_raw_str(python_string) <Unknown>[source]

Transforms a python string to a latex string

Returns:

The transformed string and a possible error message

Return type:

Tuple[str, str]

Parameters:

python_string (str)

field_h(field, entry) <Unknown>[source]
Parameters:

field (Field)

Return type:

jgdv.Result[list[Field], Exception]

on_read() <Unknown>[source]
transform_Entry(entry, library) <Unknown>[source]
Parameters:
  • entry (Entry)

  • library (bibtexparser.library.Library)

Return type:

list[Block]

_blacklist = ('url', 'file', 'doi', 'crossref')
_total_options: dict
_total_rules: dict