Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10291

Formulas are not showing up in PDF documents if document is not public

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Like for many macros that generate images, the PDF export will only be able to export the image if the wiki page is public.

      Some additional code is needed to save the image locally in case of PDF export in order for the PDF export to not be dependent on being able to access a resources at a specific URL served by XWiki.

      How to reproduce:

      1. Install standard XWiki
      2. Add formula
        {{formula}}
        x / 3
        {{/formula}}
        
      3. Protect page for admin
      4. Export as PDF

      The equation won't be present

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              ludovic Ludovic Dubost
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: