I've here from LaTeX-Workshop#1478 where I basically took the paste image code here and modified it to make it work well with LaTeX documents, and the extension. We've concluded that from a modularity point of view it would be better for this extension to be modified to support LaTeX documents, than adding all the file/path manipulation code here into the LaTeX workshop extension.
Would you be open to this idea? If so I'll make a PR that does the following things:
Adds some default config to latex files
Make it so that the image pasting can be called by LaTeX workshop by an adaptor, which will supply the directory to paste in (graphics path)
Those are the main things I can think of, there may be other small tweaks involved; which I will raise when I get to them.
Hi @mushanshitiancai,
I've here from LaTeX-Workshop#1478 where I basically took the paste image code here and modified it to make it work well with LaTeX documents, and the extension. We've concluded that from a modularity point of view it would be better for this extension to be modified to support LaTeX documents, than adding all the file/path manipulation code here into the LaTeX workshop extension.
Would you be open to this idea? If so I'll make a PR that does the following things:
Those are the main things I can think of, there may be other small tweaks involved; which I will raise when I get to them.
thanks,
tecosaur