Skip to content

Errors thrown by latexml when URLs defined in baseurl contain unescaped underscores #950

Description

@goska

LaTeXML 0.8.2
I am experiencing another problem with underscores in URLs when attempting to convert LaTeX document to XML, this time when they are used in baseurl definitions, e.g.
\hypersetup{baseurl=https://example.com/tests_converted}
causes in error:
Error:unexpected:_ Script _ can only appear in math mode at /somelocation/mydoc.tex; line 404 col 79 In Core::Definition::Primitive[Subscript] from TeX.pool.ltxml line 3583 <= Core::Stomach[@0x29d60c8] <= Core::Gullet[@0x298b9a8] <= Core::Stomach[@0x29d60c8] <= ...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions