New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mathlive

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathlive - npm Package Versions

1
18

0.51.0

Diff

Changelog

Source

0.51.0 2020-05-19

New Features

  • #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

Improvements

  • #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

Issues Resolved

  • 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.

arnog
published 0.50.8 •

Changelog

Source

0.50.8 2020-05-13

Improvements

  • The Symbols keyboard is now a top-level keyboard. Previously it was accessible only from the Roman keyboard
  • Added some standard LaTeX commands: \inf, \Pr, \liminf, \limsup
  • Added inline shortcuts for some commands: sinh, cosh, sec, csc, cot, arcsin, arccos, arctan
  • When generating LaTeX output, only insert spaces when necessary (i.e. after commands that are followed by a letter). Conversely, always generate the space when necessary (\rbrack a would generate \rbracka)
  • Minor rendering performance improvement

Issues Resolved

  • 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)

arnog
published 0.50.7 •

Changelog

Source

0.50.7 2020-05-11

  • Fix #448: Fix an issue where the "^" keyboard shortcut would not work
arnog
published 0.50.6 •

Changelog

Source

0.50.6 2020-05-11

  • Fix date stamping of declaration files
arnog
published 0.50.5 •

Changelog

Source

0.50.5 2020-05-10

  • Fix #311 Before making a build, check the correct version of node and npm are installed
  • Make the build system work better on Windows
  • Do not update /dist on each push
  • When using a UMD module, do not export 'default'
arnog
published 0.50.4 •

Changelog

Source

0.50.4 2020-05-09

Issues Resolved

  • Fix #444 The "x^2" key in the virtual keyboard did not work as expected.

Improvements

  • Updated the build system to automatically add the lastest entry from the CHANGELOG to the GitHub release note.
arnog
published 0.50.3 •

Changelog

Source

0.50.3 2020-05-08

New Features

  • Added a MathLive.version string
arnog
published 0.50.2 •

Changelog

Source

0.50.2 2020-05-07

Issues Resolved

  • Fixed an issue with rendering of MathML

Improvements

  • Added additional contextual information to the parser error message. Detect more errors.

Breaking Change

  • Renamed config.error to config.onError for consistency with the other listeners.

New Feature

arnog
published 0.50.1 •

Changelog

Source

0.50.1 2020-05-06

New Feature

  • 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.

Issues Resolved

  • Fixed an issue where the alphabetic 'sans' keys on the virtual keyboard output blackboard.
  • Fixed an issue where the \mleft. and \mright. commands would not be rendered correctly (or propertly converted to ASCIIMath). (https://github.com/benetech/MathShare/issues/1182)
arnog
published 0.35.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc