DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Install Instructions

1 Requirements

  • Typo 6.x Installed.
  • WIRIS plugin for Typo3 extension installed.

2 File permissions

Give write permissions to the following folders to the web server:

/typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/formulas
/typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/cache

3 Page TSconfig

  1. Add wiris button to RTE toolbar:

    RTE.default.showButtons := addToList(wirisplugin)
    
  2. Add MathML specification to allowed tags:

           RTE.default.proc {
    
           allowTags := addToList(math,menclose,merror,
           mfenced,mfrac,mglyph,
           mi,mlabeledtr,mmultiscripts,
           mn,mo,mover,
           mpadded,mphantom,mroot,
           mrow,ms,mspace,msqrt,
           mstyle,msub,msubsup,
           msup,mtable,mtd,
           mtext,mtr,munder,
           munderover,semantics,maction, annotation)
    
           allowTagsInTypolists := addToList(math,menclose,merror,
           mfenced,mfrac,mglyph,
           mi,mlabeledtr,mmultiscripts,
           mn,mo,mover,
           mpadded,mphantom,mroot,
           mrow,ms,mspace,msqrt,
           mstyle,msub,msubsup,
           msup,mtable,mtd,
           mtext,mtr,munder,
           munderover,semantics,maction, annotation)
    
           allowTagsOutside := addToList(math,menclose,merror,
           mfenced,mfrac,mglyph,
           mi,mlabeledtr,mmultiscripts,
           mn,mo,mover,
           mpadded,mphantom,mroot,
           mrow,ms,mspace,msqrt,
           mstyle,msub,msubsup,
           msup,mtable,mtd,
           mtext,mtr,munder,
           munderover,semantics,maction, annotation)
    
           removeTags := removeFromList(math,menclose,merror,
           mfenced,mfrac,mglyph,
           mi,mlabeledtr,mmultiscripts,
           mn,mo,mover,
           mpadded,mphantom,mroot,
           mrow,ms,mspace,msqrt,
           mstyle,msub,msubsup,
           msup,mtable,mtd,
           mtext,mtr,munder,
           munderover,semantics,maction, annotation)
    
           entryHTMLparser_db.htmlSpecialChars = -1
           entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
    
    }
    

4 Template configuration

Include WIRISplugins.js into frontend pages:

page.includeJSlibs {
        wirispluginengine = typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/integration/WIRISplugins.js?viewer=image
        wirispluginengine.external = 1
        wirispluginengine.disableCompression = 1
        wirispluginengine.excludeFromConcatenation = 1
        wirispluginengine.forceOnTop = 1
}