Skip to content

False error on underscore in included file names #1019

Description

@altavir

Latexml reports errors like this:

Error:unexpected:_ Script _ can only appear in math mode
        at ./Chapter_1/lab_3_1_2.tex; line 60 col 27
        In _ from TeX.pool.ltxml line 3375
         <= Core::Stomach[@0x3d64840] <= { <= Core::Stomach[@0x3d64840] <= ...

when including file names that contain underscores (with \input command). It works fine after the error, but if there are many imports, it could fail by exceeding error limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions