Skip to content

Warnings about vertical bars in $q_{A|A}$ #899

Description

@evoludolab

lateXML issues some spurious (?) warnings about vertical bars when processing mathematical expressions. For example, processing an expression for conditional probabilities, $q_{A|A}$, results in

	at <path to file>/PA.tex; line 24 col 132
	In "$q_{A|A}$"
	A[[UNKNOWN]]
	        > |[[VERTBAR]] A[[UNKNOWN]]

but the final output is fine. Thus, this problem seems merely a cosmetic issue.

Looking into the code it seemed to me that lateXML was expecting a second vertical bar as in an expression for an absolute value or norm but did not like the isolated, but perfectly reasonable, occurrence of a single vertical bar.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions