Uploaded image for project: 'Formula Macro'
  1. Formula Macro
  2. FORMULA-4

Formula macro does not display expression if image type is set to SVG

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • Unknown

    Description

      Prerequisites

      Having XWiki older than 14.7 or having latest XWiki

      Steps
      1. If you're using latest XWiki, install Macro extension from Extension Manager
      2. Go to Sandbox, start the editing session in wiki mode and put below content
        {{formula imageType="SVG"}}
        \sin^2(x) + \cos^2(x) = 1
        {{/formula}}
        
      1. Save
      Actual result

      Failed to execute the [formula] macro. Cause: [The image type [image/svg+xml] is not supported by the SnuggleTeX formula renderer.]. Click on this message for details.

      Expected result

      The formula is displayed, user can save it as SVG (which is set)

      Attachments

        Activity

          People

            Unassigned Unassigned
            npetrenko Nikita Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: