Skip to content

STACK 4.3 to 4.4

mkraska edited this page Aug 6, 2022 · 8 revisions

New features

  • Dynamic linking of external content in question variables (useful for feedback variables) and in question text (useful for inserting meclib areas)
  • castext() function for proper TeX formatting in dynamic strings (e.g. feedback)
  • Conditional text blocks

Migration problems

  • ev(expr, a=b, c=d,...) might fail. Workaround: use at(expr, [a=b, c=d,...]). Note that the equations need to be in a separate list. See github issue 830
  • Umlauts (äöüß) sometimes must be replaced by HTML codes: ä ö ü ß
  • Text with embedded CAS expressions like {@@} might requires either equations bracketed by \\\( \\\) or being explicitly set to HTML using paragraph tags. Sometimes even the whole widget must be set to HTML
  • Decorations in meclib labels must be bracketed. Instead of \\bar v write \\bar{v}.
  • Special characters like ° sometimes must be written as HTML code °
  • Label placement in meclib images can be poor. Eventually "label" objects must be used.

Tryout Space

In order to try code snippets in jsfiddle,

  1. copy the code from the wiki page to the clipboard
  2. follow the link for the JSXGraph version you want to try
  3. Replace the code in the HTML section (contents of <p hidden id="init">) with the content of the clipboard
Clone this wiki locally