Uploaded image for project: 'LaTeX'
  1. LaTeX
  2. LATEX-86

Figure Block should be handled even when not inside a MacroMarkerBlock

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.9.3
    • Component/s: Syntax
    • Labels:
      None
    • Tests:
      Integration
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This is a regression caused in the XWiki platform by XWIKI-16389 which changed the XDOM and removed MacroMarkerBlocks (MMB), see XWIKI-16708.

      The reason it's causing problem in the LaTeX export is because we apply special handling for figure macros in the XDOM but since the MMBs are removed when a wikimacro is used, there's no longer the information that it's coming from a macro and thus the FigureBlock is just ignored.

      This should normally be fixed by fixing XWIKI-16708 but I don't master how that works. Thus FTM, I'm going to implement a workaround and support handling of FigureBlock that are not inside a MMB.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: