GithubHelp home page GithubHelp logo

Comments (2)

dpvc avatar dpvc commented on August 20, 2024

The syntax error information is displayed in the "entered" column of the results table, but it looks like you have disabled that. You should see

entered

One of the consequences of disabling the entered column is that you lose these syntax high-lighted error messages. I have never thought that disabling the entered column is a good idea for this reason.

The answer preview is a TeX-formatted field. Moving the syntax error message there would be possible, but I don't see an easy way for you to do that without changing the core WeBWorK code. One possible core change would be to check if there is no TeX preview, and use the entered message instead (as HTML, not TeX) in that case provided the entered column is disabled.

from pg.

dpvc avatar dpvc commented on August 20, 2024

Is there a way to prioritize the parsing of the student response (in order to generate an answer preview) before passing to the context for interpretation? Particularly in the case when a student is only attempting to preview their answer?

No, the parsing is done in order to generate the internal representation of the expression, and it is that internal form that is used to produce the typeset output. A syntax error prevents the internal form from being generated, so no typeset output can be generated. While in this case, the syntax error is simply a limitation, and the expression could have been parsed by an unrestricted context, but that is not always the case. In general, syntax errors prevent meaningful typeset output.

from pg.

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.