npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

joplin-plugin-katex-input-helper

v1.0.3

Published

This plugin can be used to support the input of Mathematical formulae. It does this by opening an input dialog by command, then generating the formula and finally returning the edited formula back to the original note.

Downloads

111

Readme

Katex Input Helper Joplin Plugin

This plugin can be used to support the input of Mathematical formulae. It does this by opening an input dialog by command, then generating the formula and finally returning the edited formula back to the original note.

Basic Instructions

  1. Open a note with a formula area, select a piece of the formula to be processed.
  2. Invoke the Katex Input Helper dialog with a keyboard shortcut.
  3. Process the formula in the upper part of the dialog in Katex format.
  4. Get feedback in the lower part of the dialog where the generated formula is displayed.
  5. Finally leave the dialog either by pressing the Okay or the Cancel button.
  6. By pressing Okay the changed content is returned to the note and replaces the original selection.
  7. By pressing Cancel nothing is changed.

Origin of the Software

The plugin is based on the Visual Math Editor by David Grima, a freeware which can be changed and distributed freely. I made the following changes to this software:

  1. Reverse engineering
  2. Updated the included software libraries to current ones.
  3. Replaced the MathJax package by a Katex package.
  4. Removed some components of the software not needed for this purpose, like:
    1. AsciiMath support
    2. Translation of the Katex expression into MathML
    3. A HTML mode to support html input
    4. Some dialogs and menu items
    5. Some MathJax expressions are not supported in Katex and removed for this reason
  5. But most components are left as is and the external appearance is preserved

As You can see, this software is feature rich and alleviates the creation of formulae. My hope is one will get further support by the integration into Joplin as a plugin.

This software is available on the net here and You can view at it to get an impression.

Features

  1. Editing in a text editor like the one in Joplin
  2. Feedback in the formula output area
  3. 16 palettes with formula templates like Sum and Product, Integral and much more
  4. Formula dialogs with samples with can be incorporated easily or studied for learning the Katex language
  5. A custom equations dialog which can be used to maintain one's own formula library and with the possibility to Add, Remove, Load, Save the formula set. This set is persisted through invocations of Joplin as hidden setting.
  6. Window positions and sizes are persisted

Some Screenshots

The main dialog window

Main Dialog Window

The custom equations dialog

Known Problems

  • Sometimes a start of the dialog crashes. Mainly I could observe this for first time starts of the production version. Perhaps this has to do with caching of the plugin. Restart helps.
  • A minor problem is a missing update of the language of the data grid paging bar in the Custom Equations dialog. This only appears during language change during an actual activation of the dialog.
  • Only 2 languages are fully localized: English and German. In the original software 7 languages are supported: French, Spanish, Russian, Vietnamese and Arabian in addition to the 2 above. The missing phrases fall back to the English version.

Release Notes

1.0.3

Fixed the following problems:

  • Custom Equations dialog inserted formula twice on click.
  • Certain insertions did select the insertion afterwards. This is fixed now and enables easy successive insertions.
  • The sort functionality of the Custom Equations dialog did not work properly. One can click on the Title head to sort formulae.
  • Some dialog windows were modal ones instead of non-modal. This prevented the selection of text in the editor during display of the dialog.
  • The restore of window size and position was not reliable.

1.0.2

In the last release a few bugs have sneaked in. Those have been fixed now:

  • Info dialog did not show the content of 3 tabs
  • The resources dialog did not show completely
  • The Title field in the Custom Equations dialog was no longer editable

1.0.1

Bug fixes and improvements

  • Some localizations in Custom Equations dialog have been improved
  • Persistence concept was improved
  • Added filtering to the Custom Equations dialog
  • Architectural changes

1.0.0

Initial release