Reference Macro for the Numbered Content Applications
Provides Numbered Headings and Figures, and references to them. |
Type | JAR |
Category | Macro |
Developed by | |
Active Installs | 15 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Compatibility | 14.0+ |
Table of contents
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
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}}
Numbered Content 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:
XWiki 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.10.1
1.10.0
1.9.3
1.9.2
1.9.1
1.9
1.8.4
1.8.3
1.8.2
1.8.1
1.8
- The minimal XWiki dependency is now 14.10
- Translations: Japanese, German
1.7.1
Translations: Japanese
1.7
1.6
1.5
1.4
1.3
1.2
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):
- org.xwiki.platform:xwiki-platform-localization-api 14.2
- org.xwiki.contrib.numbered.content:application-numbered-content-headings-api 1.3
- org.xwiki.contrib.numbered.content:application-numbered-content-figures-api 1.3
- org.xwiki.rendering:xwiki-rendering-macro-message 14.2
- org.xwiki.contrib.numbered.content:application-numbered-content-figures-ui 1.3
- org.xwiki.contrib.numbered.content:application-numbered-content-headings-ui 1.3