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

Word: apply keep with next to table row if table has less than 10 rows #888

Closed
ronaldtse opened this issue Dec 9, 2022 · 4 comments
Closed
Assignees

Comments

@ronaldtse
Copy link
Contributor

ISO 19115-3 has many requirements tables and ultimately the editor decided that they split into pages too often and applied keep with next.

We decided to adopt a rule that if the table has less than 10 rows, apply keep with next.

Even this doesn’t take care of all the cases where a row can be very tall with long content, it still works better than nothing.

@opoudjis
Copy link
Contributor

Also keep header row with next.

opoudjis added a commit to metanorma/isodoc that referenced this issue Dec 12, 2022
@ronaldtse
Copy link
Contributor Author

ronaldtse commented Jan 12, 2023

I'm regenerating ISO 19115-3 with the latest code but am still seeing these:

Screen Shot 2023-01-12 at 1 34 22 PM

There are only 4 rows in this table. Is this really fixed?

@ronaldtse ronaldtse reopened this Jan 12, 2023
@ronaldtse
Copy link
Contributor Author

This is a normal table, so it's not specific to ModSpec tables:

Screen Shot 2023-01-12 at 10 32 54 PM

@opoudjis
Copy link
Contributor

You're right. The CSS keep-with-next property is being applied to <td>, but Word is ignoring it unless it is also applied to any paragraphs and divs within the <td>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants