Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table identifier for multi-page tables #199

Open
anermina opened this issue Feb 22, 2023 · 2 comments
Open

Add table identifier for multi-page tables #199

anermina opened this issue Feb 22, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@anermina
Copy link

anermina commented Feb 22, 2023

Notation of the Table B.1 which spans to multiple pages doesn't repeat at each page. In the original document, every new page begins with the title "Table B.1 (x of y)", where x and y are indicators for the number of spanning pages.

Generated (left) vs. original (right):
image

Related to https://github.com/metanorma/mn-samples-bsi/issues/218.

@anermina anermina added the enhancement New feature or request label Feb 22, 2023
@opoudjis opoudjis assigned Intelligent2013 and unassigned opoudjis Mar 11, 2023
@Intelligent2013
Copy link
Contributor

Intelligent2013 commented Apr 2, 2023

where x and y are indicators for the number of spanning pages.

This feature is called 'relative page numbers' and supports by AH XSL-FO processor: https://www.antennahouse.com/hubfs/xsl-fo-sample/page-set/axf-origin-id-1.pdf?hsLang=en
XSL-FO fragment with AH extension axf:origin-id:

This shows the table part number and the total number of parts:
<fo:page-number axf:origin-id="table-en"></fo:page-number>/<fo:page-number-citation-last ref-id="table-en" axf:origin-id="table-en"></fo:page-number-citation-last>

I'll try to investigate how to add similar to the Apache FOP.
In the meantime I'll add the header: Table B.1 (continued).

@Intelligent2013
Copy link
Contributor

'Continued' header added:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: On hold
Development

No branches or pull requests

3 participants