jlelong / LaTeX-Workshop-wiki

Public repo for contributing to https://github.com/James-Yu/LaTeX-Workshop/wiki
6 stars 35 forks source link

Why the LaTeX-workshop can't refer some kinds of Error Infomation to the Problem Panel. #121

Closed Explorer-cc closed 3 months ago

Explorer-cc commented 3 months ago

I found that the latex tools I configured only selectively refer to ternimal error messages. For example, calling an undefined macro \xyzxyz will prompt undefined control sequence in the problem penel; but when calling non-existent packages, such as \usepackage{xyzabc} or just mistyping \usepackage{asmmath}, there will be the video mentioned in the Compile [x] but Error [0] phenomenon, every time you have to command line compile or click the button of view the complie log to see the display back to be able to locate, this workflow is not comfortable enough. I'm not sure if this situation can be made more efficient for debugging by having some settings in latex that allow the problem panel to capture the above error messages. Above txt is Translated with DeepL.com

What's more I take a screenshots to better illustrate the situation.

https://github.com/user-attachments/assets/1aacb7e3-aad8-42e5-824c-0f0b58edd841

Explorer-cc commented 3 months ago

If other infomation is needed.

  "latex-workshop.latex.tools": [
    {
      "name": "xelatex",
      "command": "xelatex",
      "args": [
        "-synctex=1",
        "-interaction=nonstopmode",
        "-file-line-error",
        "%DOCFILE%"
      ]
    },
]
Explorer-cc commented 3 months ago

Ops! I found that I push the issues at the wrong position, I will move the issues to the LaTeX-workshop not the LaTeX-Workshop-wiki. Could the adminiater delete this issue? @eric-wieser