fmidue / logic-tasks

0 stars 1 forks source link

Add `offerUnicodeInput` setting #172

Closed nimec01 closed 1 month ago

nimec01 commented 1 month ago

Default value is False (don't show Unicode symbols) for now.

85

jvoigtlaender commented 1 month ago

Erschlägt das #138 komplett?

jvoigtlaender commented 1 month ago

From #85, what about https://github.com/fmidue/logic-tasks/issues/85#issuecomment-1892502953, i.e., having this flag also have an impact on how examples inside the task descriptions are displayed?

nimec01 commented 1 month ago

Erschlägt das #138 komplett?

Ja

From #85, what about #85 (comment), i.e., having this flag also have an impact on how examples inside the task descriptions are displayed?

The only task currently affected is SimplestFormula (which uses an in its example). There are two possible ways to deal with this in general:

jvoigtlaender commented 1 month ago

I would say this is the way to go:

  • Use Unicode symbols if offerUnicodeInput = True, don't use them otherwise
nimec01 commented 1 month ago

Spelling error fixed in #173