Handling of '-' symbol vs '–' symbol

Issue #845 duplicate
Former user created an issue

I really enjoy that I can copy-paste equations from Word and other software directly into SpeecCrunch. However, Word is a bit of a bitch when it comes to the 'minus' symbol. It sometimes auto-converts '-' to '–'. I copy pasted the latter into SpeedCrunch and it reacted poorly (in my opinion). It actually spat out a false result (see Capture.JPG).

Proposal: 1) SpeedCrunch handles '–' as a normal '-' (minus) sign. 2) SpeedCrunch declares an error when '–' is input.

Comments (3)

  1. Tey'
    • changed status to open

    I think this is a different issue than #675: Word replaces - with (U+2013) not (U+2212). The replacement is a text symbol, not a numeric operator, so it is ignored by the parser.

    I'm not sure we should handle proposition 1, as it's Word specific behavior. However, proposition 2 will be implemented once #821 is fixed.

  2. Log in to comment