Details
-
Improvement
-
Resolution: Fixed
-
Major
-
1.18.1
-
None
Description
Currently, the figure type is recomputed using FigureTypeRecognizer every time a figure block is rendered.
A data-xwiki-rendering-figure-type parameter can now be defined by XS 14.6+ or some other extensions (e.g., number content app 1.6+).
When this parameter exists, it should be used instead of recomputing because:
- it's faster
- the user can define explicitly the type of a figure. If the defined type contracts FigureTypeRecogniser the rendered latex is not consistent with the wiki page