Skip to content

PG renderer processing flags

Peter Staab edited this page Aug 4, 2020 · 1 revision

These are additional flags needed for processing/rendering a problem. These were generated by scraping the PG macros for existing needed flags. The default is given in parentheses

  • displayMode (MathJaX)
  • grader (avg_problem_grader)
  • showOldAnswers (false) -- if true, return as a separate field in the output hash
  • showCorrectAnswers (false) -- if true, return as a separate field in the output hash
  • showHints (false) -- if true, return as a separate field in the output hash
  • showSolution (false) -- if true, return as a separate field in the output hash
  • useMathView (false)
  • mathViewLocale ("mv_locale_us.js") -- is this a environmental variable?
  • useWirisEditor (false)
  • useMathQuill (false)
  • show me another flags
  • achievements (this seems to be independent of the renderer)
  • periodicRandomization flags
  • scaffolding problems flags
    • open_all_subproblems (false)
    • other flags to indicate open parts (or does the problem itself take this on)
Clone this wiki locally