You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src = <TexSoup.utils.Buffer object at 0x11060dd50>, expr = TexMathModeEnv('$')
end = None
def unclosed_env_handler(src, expr, end):
"""Handle unclosed environments.
Currently raises an end-of-file error. In the future, this can be the hub
for unclosed-environment fault tolerance.
:param Buffer src: a buffer of tokens
:param TexExpr expr: expression for the environment
:param int tolerance: error tolerance level (only supports 0 or 1)
:param end str: Actual end token (as opposed to expected)
"""
clo = CharToLineOffset(str(src))
explanation = 'Instead got %s' % end if end else 'Reached end of file.'
line, offset = clo(src.position)
**Latex content sample: **
**Error detail: **
src = <TexSoup.utils.Buffer object at 0x11060dd50>, expr = TexMathModeEnv('$')
end = None
E EOFError: [Line: 0, Offset: 5141] "$" env expecting $. Reached end of file.
The text was updated successfully, but these errors were encountered: