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

Have Word HTML cope with custom ordered list numberings #247

Open
opoudjis opened this issue Dec 29, 2020 · 1 comment
Open

Have Word HTML cope with custom ordered list numberings #247

opoudjis opened this issue Dec 29, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@opoudjis
Copy link
Contributor

We have left the door ajar to allowing custom ordered list numberings in Metanorma, as opposed to a single numbering. Provided we can embed list paragraphs from one list style in list paragraphs from another (e.g. <p style="mso-list:l3 level1 lfo3;"> followed by <p style="mso-list:l4 level2 lfo3;">, we will expand this to Word.

That is a big if. It will require five extra ordered list styles, to cope with each of our allowed numberings, and it will require indentation to be parameterised as variables in the Word CSS, to keep them consistent. I do not know how the lfo numbering, which preserves list identity, will work. It will make the routines in html2doc which keep track of lists much more complicated, if it does work.

And this is not allowing start: start in Word HTML is handled as a brand new list style instance, which means I would have to duplicate list styles in Word CSS on the fly in html2doc. I can, but if I can avoid doing so, I will.

@opoudjis opoudjis added the enhancement New feature or request label Dec 29, 2020
@opoudjis opoudjis self-assigned this Dec 29, 2020
@ronaldtse ronaldtse moved this to Triage in Metanorma Nov 14, 2021
@ronaldtse ronaldtse moved this from Triage to Med priority in Metanorma Nov 14, 2021
@opoudjis opoudjis moved this from Med priority to Urgent in Metanorma May 4, 2022
@opoudjis
Copy link
Contributor Author

Because list numbers are manually set in Word ISO DIS, we can leave things open whereby start numbering is ignored in draft ISO Word output, but respected in DIS output.

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: 🏕 Med priority
Development

No branches or pull requests

1 participant