Skip to content
New issue

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

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

Already on GitHub? # to your account

revise data-ams-doc=secX #219

Closed
pkra opened this issue May 10, 2019 · 3 comments
Closed

revise data-ams-doc=secX #219

pkra opened this issue May 10, 2019 · 3 comments
Milestone

Comments

@pkra
Copy link
Member

pkra commented May 10, 2019

secX is another leftover from htmlbook. In XML this is disp-level.

We also have a level attribute which serves the same purpose as sectX.

Both ams-doc-level="X" or ams-doc="level X" would be cleaner and easier to reuse downstream (where we extract the X for various purposes).

@pkra pkra added this to the 2019Q2 milestone May 10, 2019
@pkra
Copy link
Member Author

pkra commented May 10, 2019

I'm leaning towards ams-doc-level (which is more reminiscent of aria-level which is a matching concept used to create headings without or beyondh1-h6 tags).

Using -level would allow us to keep data-ams-doc closer to "something like DPUB ARIA role" (which are prefixes doc-) - currently the only other values for data-ams-doc after #215 are titlepage, copyright-page, and article.

In addition, we could then change data-jats-structure (current values: section, subsection, subsubsection, paragraph and one empty attribute in jams410) to data-ams-doc which would be another good match to the "DPUB ARIA role-like" idea for data-ams-doc.

@pkra
Copy link
Member Author

pkra commented May 10, 2019

Correction: another value for data-jats-structure is part (books only).

@pkra
Copy link
Member Author

pkra commented May 10, 2019

Related: dedication (books) and ack elements (jams410 only) do not have a disp-level but we add sectX to them.

@pkra pkra closed this as completed in 764037f May 16, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant