Description
Currently, the export allow to, selectively, insert list of figures and list of tables in the produced document.
With the introduce of new figure types in the figure macro, it is currently not possible to list more types.
Option 1
Allow extensions to inject their own checkboxes in the export UI, to allow users to check more listing
Allow extension to take into account the UI parameters and insert the corresponding \listofXXX in the latex template
Option 2
Reduce the choice to a single "Listings" "Whether the lists of elements should be inserted or not" choice.
When the checkbox is checked, scan for all listable contents and check for each if at least one element has a caption.
List only the listable types that have at least one caption.
Note that in this case too, extension could have to be able to provide known types as well as the command to list the elements of such type.