tecosaur / LaTeX-Utilities

An add-on to LaTeX Workshop that provides some features that go beyond the bare essentials
MIT License
482 stars 28 forks source link

New maintainer? #347

Closed leoleoasd closed 2 years ago

leoleoasd commented 2 years ago

LaTeX-workshop dropped support for this extension (see James-Yu/LaTeX-Workshop#3009). Maybe we should mark this extension unuseable, or remove it from vscode extension marketplace.

tecosaur commented 2 years ago

That's a decent idea. I'll see about changing the readme and publishing it as a new version.

leoleoasd commented 2 years ago

I just found this extension, and I desperately need its features(formatted pasting, etc.). Maybe I can help maintain this extension after a few weeks (recently I have no time), trying to get support from LaTeX-Workshop, or implement a subset of features without their support (it seems that previewing tikz pictures needs their API, but Zotero support and formated pasting don't).

tecosaur commented 2 years ago

If you're interested in maintaining it, that's great! I'd be happy to give you all the access needed. It looks like the main concerns in that issue are around maintenance, so if you become the maintainer of this extension they may well be happy to revert that commit :)

leoleoasd commented 2 years ago

Sure! I'll try reverting that commit locally, update this extension to make sure that everything works fine, then reach out to them.

tecosaur commented 2 years ago

If you could take a look at the codebase, have a think about it, and let me know whether you really are willing to be the maintainer long-term (i.e. on the scale of months-years not weeks) that would be good.

I'd love for this extension to get the love it (in my very unbiased opinion 😉) deserves, but I wouldn't like to see it just get a short burst of attention and then be re-abandoned or poorly maintained. I don't know you, but I'm willing to make this minor leap of faith, I'd just appreciate it if you could make sure you know what you're signing up for and confirm that you're willing to give it a good shot 🙂.

If you are that would be fantastic. I'm happy to answer the odd question about the code base etc. but unfortunately, I won't have much time to help — you'll largely be on your own.

SirHamburger commented 2 years ago

Hello, some time ago i implemented some new features which i needed. These features are:

  1. Prefix and Suffix for tables
  2. Prefix and Suffix for images
  3. Ignore Graphicspath and just drop the image in the current folder
  4. Temporary save Filepath from clipboard to copy and paste an image name (only windows)
  5. Use caption name for formated paste and generate label and image name through the caption name
  6. Replace the path in an document for only compiling a single file (needs magic root comment)
  7. Remove all commands in a document I didn't make a pull request since i don't know Typescript and the style is quite bad and i didn't make any bugfixes.

If you're interested in these features i would make a pr.

leoleoasd commented 2 years ago

Hi @SirHamburger! Some of your features sound good to me. In particular:

For some of these features, like a more powerful table template, I'll be happy to implement them if you are not into learning TypeScript, by cleaning and referencing your code and I’ll list you as co-author.

But, I'm currently focusing on fixing capability issues with Workshop, since they drop the support for this repo. After that let's see what we can do about these features. If you want to use this repo right now, you need to use the dev branch of my repo and my fork of Workshop.

SirHamburger commented 2 years ago

Hi @leoleoasd,

In theory all changes should not affect any of the current functionality. Everything is optional by settings or a new command.

If you want all these features i can change the table to a template but for the refactoring i maybe need some help since i don't know what your target coding style is.

Also i think the fix of the current features is more important.

leoleoasd commented 2 years ago

First, I'll fix the current features. Then, you can open a Pull Request. Due to large modifications to the codebase to fix current features, you may need to refactor the current code, and I can provide the necessary help. If you aren't into this, you can open a pull request with allow modifications from author and let me do this job.

leoleoasd commented 2 years ago

New version is published and ready-to-use!