Git Product home page Git Product logo

Comments (8)

James-Yu avatar James-Yu commented on May 13, 2024

Log level is defined as [E]rror > [W]arning > [T]ypesetting. So setting log level to error will surpress warnings and typesetting infos. That's why the only log message disappear.

The output panel will pop out no matter if there's any parser messages. Do you think this should get an update?

from latex-workshop.

yzhang-gh avatar yzhang-gh commented on May 13, 2024

My fault, I didn't express clearly. There is nothing wrong with the output message, it's about the output panel. I will comment again soon to describe what I expect (after my dinner). Thanks for your reply.

from latex-workshop.

yzhang-gh avatar yzhang-gh commented on May 13, 2024

With the output panel closed by default, the current behaviors are

  • If there is no error or warning, everything works well, and the output panel won't pop out
  • If there is a warning, although the log level is error, the output panel will pop out.

But as I expect, if I decide to suppress warning by setting log level to error, it should behave just like that in the first situation (output panel don't pop out).

Below is a GIF that shows the inconsistent behaviors between that 2 situations. (The commented line will cause a warning)
latex-workshop-test

from latex-workshop.

James-Yu avatar James-Yu commented on May 13, 2024

Thanks for the detailed description. This should be fixed shortly.

from latex-workshop.

James-Yu avatar James-Yu commented on May 13, 2024

Please try out the new version 0.2.15 and see if issue persists.

from latex-workshop.

yzhang-gh avatar yzhang-gh commented on May 13, 2024

Awesome 👍
And there is another issue, it seems that sometimes the preview is not fully reload, so it looks a mess. (If you close the preview page and reopen it by clicking the top-right Show Preview button, it solves.)
Note that I haven't found a 100% reproduce steps, but it often happens.
Sometimes it's when you comment out a line, but sometimes it's when you uncomment a line.
My settings are as below

"latex-workshop.compile_argument": "",
"latex-workshop.compiler": "xelatex",
"latex-workshop.log_level": "error"

latex-workshop-reload-issue

from latex-workshop.

James-Yu avatar James-Yu commented on May 13, 2024

It seems like a bug of PDF.js lib. Yet I cannot fix the problem. Maybe you may try pdflatex and see if problem persists. It works fine for me.

from latex-workshop.

yzhang-gh avatar yzhang-gh commented on May 13, 2024

👌

from latex-workshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.