Changelog
0.51.0 2020-05-19
#450 Custom keybindings. A keybinding (also called keyboard shortcut) associate a keystroke combination on a physical keyboard with a command. MathLive previously had some built-in keybindings, but now they can be extended or replaced.
See config.keybindings
and Keybinding
Added setKeyboardLayout()
and setKeyboardLayoutLocale()
functions to
customize the current physical keyboard layout
#461 The array editing commands only worked in math mode. They now apply in text mode as well
#459: Add a placeholder for incomplete commands, for example entering
\frac
in command mode
Added some missing commands: <del>deleteNextChar
</del> deleteForward
,
<del>deletePreviousChar
</del> deleteBackward
, deleteNextWord
,
deletePreviousWord
, deleteToGroupStart
, deleteToGroupEnd
,
deleteToMathFieldEnd
, moveToSubscript
, applyStyle
,
toggleVirtualKeyboard
, hideVirtualKeyboard
, showVirtualKeyboard
In some cases, the top of the placeholder character could be cut off
The Read Aloud feature would not work when a Neural Engine AWS voice was used (such as Joana or Matthew)
In the Vue wrapper, the onKeystroke
handler would error
Styling (applying color, style) was disabled. This also affected mode change (i.e. alt+= to switch between text and math mode)
After completing a command in command mode (i.e. pressing the return key), the mode did not switch not math mode and remained in command mode.
Changelog
0.50.8 2020-05-13
\inf
, \Pr
, \liminf
, \limsup
sinh
, cosh
, sec
, csc
, cot
,
arcsin
, arccos
, arctan
\rbrack a
would generate \rbracka
)The absolute value character "|" (and other small delimiters) would be displayed in the wrong font (and too small)
The absolute value key from the virtual keyboard would insert '|#@|'
The 'sqrt' key from the virtual keyboard or keyboard shortcut (option+V) would do nothing. The problem affected any inline shortcut or key that included a '#0' argument when there was no selection
Fixed an issue with long inline shortcuts that could trigger text mode (e.g. 'arcsin') and never apply the inline shortcut
Do not trigger smart mode conversion with arrow keys
Fixed an issue on iOS 12 and Firefox/Android where the mathfield could not be focused (fix contributed by (https://github.com/beneater)
Changelog
0.50.7 2020-05-11
Changelog
0.50.5 2020-05-10
Changelog
0.50.4 2020-05-09
Changelog
0.50.2 2020-05-07
config.error
to config.onError
for consistency with the other
listeners.Changelog
0.50.1 2020-05-06
A new option, config.error
can be used to catch errors while parsing LaTeX.
This is invoked both for the initial content of the mathfield, when the content of the mathfield is changed programmatically, and when the user pastes latex content in the field.
An error code will indicate the problem encountered, but the parsing will attempt to recover, in keeping with the previous behavior.
\mleft.
and \mright.
commands would not be
rendered correctly (or propertly converted to ASCIIMath).
(https://github.com/benetech/MathShare/issues/1182)