cogProvides Numbered Headings and Figures, and references to them.
Recommended
TypeJAR
CategoryMacro
Developed by

Manuel Leduc, Michael Hamann

Active Installs30
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

14.2+

Installable with the Extension Manager

Description

The reference macro allows to make references to numbered contents. Currently, references can be made to Numbered Headings, Numbered Paragraphs, and Numbered Figures. This application is part of the Numbered Content.

Note: This macro is an alternative to Numbered Reference Macro

Reference Macro

Example

= Title 1 =

See Figure {{reference figure="Circles"/}}, and {{reference figure="Typo"/}}.

== 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}}

1.3+ 

Instead of specifying the id in the caption as shown in the example above, the id for the reference can also be specified on the image itself:

[[image:circles.png||height="200" width="200" id="Circles"]]

14.2+ The automatically generated image ids can also be used to reference a figure.
The advantage of using an id on the image is that the browser will directly jump to the image instead of the caption when clicking on the reference link.

Release Notes

1.3

1.2

Breaking change The parameter used to skip numbering (data-numbered-headings-skip) is now replaced by data-xwiki-rendering-protected.

1.1

1.0

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Dependencies

Dependencies for this extension (org.xwiki.contrib.numbered.content:application-numbered-content-reference-macro 1.3):

Tags:
    

Get Connected