tecosaur / LaTeX-Utilities

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

Could not find definition for \includegraphics #381

Closed codingToPerfection closed 10 months ago

codingToPerfection commented 1 year ago

Could not find definition for \includegraphics

I have already trying texdef includegraphics on cmd. it returns undefined. i dont understand why texdef is so incompetent.

image

Could not find definition for \Cref and other common command.

this could not find definition window shows frequently. it seems it cant find definitions of other common commands.

leoleoasd commented 1 year ago

Do you have texdef installed? If you dont have it, you can disable this feature in settings.

codingToPerfection commented 1 year ago

i installed texdef by installing texlive latest. I tried the texdef command on cmd. Here's the screenshot.

I can only assume that texdef is just incompetent.

image

leoleoasd commented 1 year ago

Can you try:

texdef --source --Find --tex latex --class article -p graphicx \includegraphics
leoleoasd commented 1 year ago

Also, can you paste the logs in the "output" panel: image