{"action":"created","issue":{"url":"https://api.github.com/repos/arnog/mathlive/issues/123","repository_url":"https://api.github.com/repos/arnog/mathlive","labels_url":"https://api.github.com/repos/arnog/mathlive/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/arnog/mathlive/issues/123/comments","events_url":"https://api.github.com/repos/arnog/mathlive/issues/123/events","html_url":"https://github.com/arnog/mathlive/issues/123","id":390410618,"node_id":"MDU6SXNzdWUzOTA0MTA2MTg=","number":123,"title":"documentation about how mathlive.io compares","user":{"login":"johanneswilm","id":595512,"node_id":"MDQ6VXNlcjU5NTUxMg==","avatar_url":"https://avatars2.githubusercontent.com/u/595512?v=4","gravatar_id":"","url":"https://api.github.com/users/johanneswilm","html_url":"https://github.com/johanneswilm","followers_url":"https://api.github.com/users/johanneswilm/followers","following_url":"https://api.github.com/users/johanneswilm/following{/other_user}","gists_url":"https://api.github.com/users/johanneswilm/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneswilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneswilm/subscriptions","organizations_url":"https://api.github.com/users/johanneswilm/orgs","repos_url":"https://api.github.com/users/johanneswilm/repos","events_url":"https://api.github.com/users/johanneswilm/events{/privacy}","received_events_url":"https://api.github.com/users/johanneswilm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T21:11:47Z","updated_at":"2018-12-13T01:06:59Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\nthis looks like a promising piece of software. With **fiduswriter** we have hitherto used **Mathquill** for editing and **katex** for rendering and I just spent a considerable amount of time trying to bundle Mathquill together with jQuery (to avoid having a global jQuery). The reason I didn't use **Mathlive** instead was that I had not found it despite searching for something similar. Now that I have been pointed to it, some questions come up that I think also others will have who are considering using Mathlive so it would be good if they could be addressed in some way:\r\n\r\n* Based on the documentation, it seems you suggest to use Mathlive for both formula editing and rendering. While your demos can show some impressive examples of really complex formulas, I am sure you are aware of limitations of Mathlive as well. So I wonder: how does it (roughly) compare with other libraries such as **katex** or **Mathjax**? Can it just about as many formulas, or is it more restricted? Is speed an issue? Should one  for example stick to katex to render more complex formulas and use Mathlive mainly for WYSIWYG editing of relatively simple formulas? Or does that not make sense at all?\r\n\r\n* The documentation also shows how your engine automatically can find formulas in text, similarly to how Mathjax does it (or at least used to do it a few years back). You also have some examples of how to use the library functions more directly, but it sounds a bit like you are against using it as a dependency in an ES2015+ type project where it's being bundled with everything else and you prefer using it like one we used to with jQuery, loading it apart from the rest of the project. Also, you seem to have put everything into one global object, similarly to jQuery. So before I start trying to use this, let me ask: Is it possible to use it in a ES2015 type project?  \r\n\r\nIf answers to these questions can be found somewhere in your documentation - please excuse my bad search skills, but I just did not see it mentioned anywhere.\r\n"},"comment":{"url":"https://api.github.com/repos/arnog/mathlive/issues/comments/446804419","html_url":"https://github.com/arnog/mathlive/issues/123#issuecomment-446804419","issue_url":"https://api.github.com/repos/arnog/mathlive/issues/123","id":446804419,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjgwNDQxOQ==","user":{"login":"arnog","id":760798,"node_id":"MDQ6VXNlcjc2MDc5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/760798?v=4","gravatar_id":"","url":"https://api.github.com/users/arnog","html_url":"https://github.com/arnog","followers_url":"https://api.github.com/users/arnog/followers","following_url":"https://api.github.com/users/arnog/following{/other_user}","gists_url":"https://api.github.com/users/arnog/gists{/gist_id}","starred_url":"https://api.github.com/users/arnog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnog/subscriptions","organizations_url":"https://api.github.com/users/arnog/orgs","repos_url":"https://api.github.com/users/arnog/repos","events_url":"https://api.github.com/users/arnog/events{/privacy}","received_events_url":"https://api.github.com/users/arnog/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T01:06:59Z","updated_at":"2018-12-13T01:06:59Z","author_association":"OWNER","body":"Thanks for taking the time to write. Great questions. I'll try to answer them:\r\n\r\nIf you have some suggestions on where I can advertise MathLive, let me know (i.e. where did you search initially and not find it?)\r\n\r\nMathLive has been designed in a modular fashion. So, if you're only interested in rendering math, you can omit all the modules related to editing.\r\n\r\nAs far as the capabilities of MathLive, last time I looked it was more comprehensive than Katex (in particular support for LaTeX environments), but not as comprehensive than MathJax (which supports a number of non-standard LaTeX commands for improved integration with web content. MathLive supports only a subset of those). I've tried to optimize MathLive for speed of rendering, so whether to just display formulas, or to edit them, speed should not be an issue.\r\n\r\nMathLive can indeed be used with an 'auto-render' add-on which will scan a web page and automatically converts math notations (using some of the same conventions used by MathJax to tag that content). The intent of that functionality is to make it very easy to author math content without having to write Javascript to have it displayed. While this is usually sufficient if you only need to display content, realistically for any editing, you will want to write some Javascript and use the MathLive API to do so. The current release is recommending to use an AMD-compatible loader such as requirejs to load the necessary modules. However, I am in the process of finalizing a conversion to native ES6 JavaScript modules that will make it unnecessary to use a third-party loader.\r\n\r\nWhen loading MathLive you do get back an object, `MathLive`, which is the entry point to the public API. There is no dependency on the `window` object (although MathLive is also added to the `window` object if it exists). It is perfectly possible to use MathLive in non-browser environments that don't have a `window` object, such as NodeJS. In fact, the MathLive automated test suite runs in NodeJS."}}
{"actor":{"display_login":"arnog"}}