metanorma / bipm-si-brochure

SI Brochure edition 9, semantic encoded version (WARNING: DRAFT)
3 stars 0 forks source link

Indentation of table title #204

Closed anermina closed 2 years ago

anermina commented 2 years ago

Titles of tables and figures are indented if they span multiple rows. However, I'm not sure if the current output is correct, since the original MEP document doesn't have the titles indented at all.

Example (original is on the left and the generated document is on the right): image

ronaldtse commented 2 years ago

I think we need to decide on the proper representation of the table caption, whether it is inline like the left or in a table form like the right.

Intelligent2013 commented 2 years ago

Initially, BIPM XSLT was developed for BIPM SI Brochure.

Original PDF From https://www.bipm.org/en/publications/si-brochure: image

Currently rendered PDF by BIPM XSLT: image

Any rendered PDF by BIPM XSLT will have these styles. There aren't any differentiations between BIPM Brochure and independent appendixes.

Question: should I add one more style for table title for independent appendixes?

ronaldtse commented 2 years ago

No, we should only have one style. BIPM will only use the same style across documents, starting from the SI Brochure.

However, it seems that the caption in @anermina 's screenshot is too much indented towards the right side?

Intelligent2013 commented 2 years ago

However, it seems that the caption in @anermina 's screenshot is too much indented towards the right side?

This occurs due the difference length Tableau (fr) and Table (en). I'll fix this issue (change the paragraph layout with indentation to the list with one item, or non-bordered table with one row).

ronaldtse commented 2 years ago

Thanks!

Intelligent2013 commented 2 years ago

BIPM XSLT updated in https://github.com/metanorma/metanorma-bipm/pull/211:

image

ronaldtse commented 2 years ago

Thanks @Intelligent2013 !