Image, figures, and tables in Wax
Looking at Pooyan and elife articles, the captions for tables and images we have right now in Kotahi don’t offer enough options, and they have a different behaviors.
We need to make it easier for the user to manage the captions for tables and images.
- The UI to add title and caption for table is quite different from the images, but both forbid any complex caption.
This is how a figure caption looks like in Kotahi.
And this is how a text caption exists:
They need to be the same, as the type of metadata they need is quite close.
- We need to be able to add title, list, paragraphs, or any other block level type of content in the caption. Right now, we can only have simple text.
Adding a table should work as adding a image and it should offer the option to add custom label, title, long caption and alt text (for images).
Both can be put inside a figure
element.
Last thing, sometimes, the images and the tables are not figure but part of the flow (it happens sometimes in elife’s epp manuscript). In that case, we should be able to define that in wax.
Attaching a couple of pdf/images to show some examples:
[elife examples are coming from Bioarxiv so their tables are actually images, but the problem would be the same with real table
elements.]