Uploaded image for project: 'Numbered Content Application'
  1. Numbered Content Application
  2. NCAPP-62

Wrong figure number displayed by the reference macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8
    • 1.7.1
    • Reference
    • None
    • Unknown
    • N/A
    • N/A

    Description

      I have a wiki page with the following wiki syntax:

      = Title 1 =
      
      See Figure {{reference figure="Circles"/}}.
      
      [[XWiki Logo>>image:attach:Sandbox.WebHome@XWikiLogo.png||id="logo"]]
      
      The following section {{reference section="HTitle2"/}} will detail the process.
      
      == Title 2 ==
      
      Please see section {{reference section="HTitle1"/}}.
      
      {{figure}}
      [[image:circles.png||height="200" width="200"]]
      
      {{figureCaption}}
      {{id name="Circles"/}}Generative Art - Circles
      {{/figureCaption}}
      {{/figure}}
      
      The logo can be seen in figure {{reference figure="logo"/}}.
      

      I activated both numbered headings and figures. The figure numbers displayed by the reference macro are wrong (1 in both cases), although the links are good (they point to the right image). Note that the heading numbers displayed by the reference macro are good, so it seems there's a problem with figure numbers only.

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: