GithubHelp home page GithubHelp logo

Feature Requests about infinitex HOT 6 CLOSED

fetacore avatar fetacore commented on June 24, 2024
Feature Requests

from infinitex.

Comments (6)

fetacore avatar fetacore commented on June 24, 2024

Thank you very much for your kind words :D !
OK lets break it down so that I understand completely what you suggest:

  • Latex Intellisense:

You mean more than just the suggestions that it already provides? There was a built in autocompletion option to get already written text as suggestions but I scrapped it because it provided useless results that where accidentally selected on enter. It would be awesome to have an emmet implementation where, if you have a mistake that will prevent the document from compiling, an error mark would appear at the specific line left margin, but this will be a pain to implement and I have some more pressing issues in mind. If you are familiar with Ace Editor and Emmet you are welcome to implement it and submit a pull request! In case I am off-topic tell me.

  • Latex in Simple

Well I tried to give native support in Quill for tex ($ and $$) but I was unsuccessful, so I rewritten the formula blot. I am not familiar with Parchment (the model Quill uses in the back) and I had a really hard time understanding it so I ended up with this solution. In general I use quill.deltas for the editor contents and not html and I could not change on $ press or on $$ press the content of the delta into a formula key with the insides as value. In theory it can be done but it requires knowledge of Parchment which I do not have.

  • Export Latex as transparent picture

You mean with the math editor? Like an svg/png file or base64 string? You lost me here :P

from infinitex.

Vastrix avatar Vastrix commented on June 24, 2024

Waw, amazing response! :)
Lemme try to clarify some bits!

You mean more than just the suggestions that it already provides?
Right.. I'm a noob in LaTeX (but do find it very useful), so I was mainly testing the simple editor ;)
But yes, like that but for math commands as well, not just for what seems to be markup commands(?)
yea in this style

Yea, think you understood what I meant :)
Basically that it parses latex commands typed in the regular editor so you don't have to use the special input box

Ah yea, lemme explain the third one :p
See, I like mathematical formulas, however, sharing them, or just showing them to someone is a huge pain in the butt :s
Lemme show you what I mean! :)

You would then have a picture on your clipboard of that -1/12 equation
In this example, it's not real LaTeX, but you get the point ;)
I do understand that this request might be a bit off-topic.. :s

Cheers o/

from infinitex.

fetacore avatar fetacore commented on June 24, 2024

OK so I managed to find a way to change the suggestions (but I could not add all of them). I also tried to make them somewhat intuitive, meaning that when you type \equation you get the snippet of \begin{equation} ... \end{equation} or some mathematical symbol snippets to appear like we call them, for example \muchgreaterthan translates to \gg which is >>. The work is not complete but if you or someone else have the time it would be really awesome to add more. On to your third request! For the second I really tried but quilljs is so tightly written that I cannot understand how to implement it (but I would really love to).
Check the new release and tell me what you think
Cheers!

from infinitex.

Vastrix avatar Vastrix commented on June 24, 2024

Nice!

I wish I could assist but I'm really busy these days.. :/

You're doing an amazing job tho! :)

from infinitex.

fetacore avatar fetacore commented on June 24, 2024

Thank you very much I am glad you like the project! Thanks for filing the issue as well I was never going to improve the snippets if it wasn't for you ๐Ÿ‘

from infinitex.

Vastrix avatar Vastrix commented on June 24, 2024

No probs, glad I could help! :)

from infinitex.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.