Closed leoleoasd closed 2 years ago
That's a decent idea. I'll see about changing the readme and publishing it as a new version.
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).
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 :)
Sure! I'll try reverting that commit locally, update this extension to make sure that everything works fine, then reach out to them.
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.
Hello, some time ago i implemented some new features which i needed. These features are:
If you're interested in these features i would make a pr.
Hi @SirHamburger! Some of your features sound good to me. In particular:
labelPrefix
?includegraphics
by pasting a path? 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.
Hi @leoleoasd,
"latex-utilities.formattedPaste.PrefixTableTemplate": "\\begin{table}[H]\n\t\t\\begin{NiceTabular}{",
"latex-utilities.formattedPaste.SuffixTableTemplate": "\t\t\\end{NiceTabular}\n\t\\caption{}\\n\t\\end{table}",
labelPrefix
is that you can specify a prefix. But you could also do that in the template.
"latex-utilities.formattedPaste.image.template": "\t\\begin{figure}[H]\n\t\t\\centering{}\n\t\t\\includegraphics[width=\\textwidth]{${imageFilePath}}\n\t\t\\caption{${imageCaption}}\\label{${imageLabel}}\t\n\t\\end{figure}",
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.
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.
New version is published and ready-to-use!
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.