19 declare(strict_types=1);
43 (
bool) $this->
settings->get(
'enable'),
44 (string) $this->
settings->get(
'path_to_polyfill'),
45 (string) $this->
settings->get(
'path_to_mathjax'),
47 (bool) $this->
settings->get(
'enable_server'),
48 (string) $this->
settings->get(
'server_address'),
50 (bool) $this->
settings->get(
'server_for_browser'),
51 (bool) $this->
settings->get(
'server_for_export'),
52 (bool) $this->
settings->get(
'server_for_pdf')
isServerForPdf()
Should the server-side rendingeing be used for PDF generation.
getClintPolyfillUrl()
Url of a javascript polyfill (needed by MathJax 3)
isServerForExport()
Should the server-side rendingeing be used for HTML exports.
Global Mathjax configuration.
__construct(ilSetting $settings)
Constructor.
isServerEnabled()
Is a server side rendering engine configured and enabled.
getServerAddress()
Url of Mathjax server.
getClientLimiter()
Type of enclosing limiters for wich the embedded client-side Mathjax is configured.
getClientScriptUrl()
Url of Mathjax script to be embedded with script tag on the page.
isClientEnabled()
Should latex code be rendered in the browser.
getServerTimeout()
timeout (s) to wait for the result of the rendering server
getConfig()
Get the MathJax Configuration.
updateConfig(ilMathJaxConfig $config)
Update the MathNax Configuration.
isServerForBrowser()
Should the server-side rendingeing be used for browser output.
Repository for storing and loading the MathJax configuration.