semanticClimate / cma3-test

CMA 3 test: CSS needed for document typesetting and automation of manifest and ToCs
Other
0 stars 0 forks source link

Data elements needed for CSS: Session Code #3

Open mrchristian opened 9 months ago

mrchristian commented 9 months ago

CSS needs to use content from the HTML when generating Paged Media output - these are things like running headers, navigational aids, bookmarks, or footnotes, etc. W3C 'CSS Generated Content for Paged Media Module' standard is used for placing the content, and the HTML data tag is used for marking up data in the HTML - https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes

mrchristian commented 9 months ago

Here is a list of data elements we need marking up in the UNFCCC documents.

e.g.,

<div data-session-code="FCCC/PA/CMA/2021/10/Add.1"><span class="session-title">Report of the Conference of the Parties serving as the meeting of the Parties to the Paris Agreement on its third session, held in Glasgow from 31 October to 13 November 2021</span></div>

mrchristian commented 9 months ago

Here is an example: https://github.com/mrchristian/css-typesetting-sandbox