Skip to content

New rule: math-apostrophe-quote #25

Description

@TimArborealis

Sometimes an apostrophe (') is erroneously used instead of prime (′). The apostrophe carries no mathematical meaning, so it should not occur in a math context. We want a rule which checks if apostrophe (&#39;) occurs inside a <math> element at all.

The same goes for quotation mark (") instead of double prime (″). The rule should also check whether " (&#34;) occurs inside a <math> element at all.

Make an exception for <mtext>, where both apostrophe and quotationmark should be allowed.

Suggested name: math-apostrophe-quote

See examples of what the validator should flag and not in test_issue_25.epub

@MartheGjelstad, thoughts? (created together with @AntonLMTM )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Ready for developerThe rule has been reviewed and is ready to be changed in the validator.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions