ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
65 stars 38 forks source link

Render an <artset as a choice #1016

Open cabo opened 1 year ago

cabo commented 1 year ago

Description

Offer the user of an HTML rendering the choice which element of an artset is to be shown.

Archived-At: https://mailarchive.ietf.org/arch/msg/rfc-interest/40jIe7nQfnIJ9zY2rSdNYA6G5QM

I expect this functionality needs to be prototyped before we can agree to accept it. It does not require changes to RFCXML.

(Related issues that do require changes to RFCXML: -- artset for sourcecode -- offer additional forms, such as LaTeX source )

Code of Conduct

kesara commented 1 year ago

We can also make use of JavaScript and allow the consumer of HTML to browse through different artwork. Similar to HTML/CSS tabs in this example.

kesara commented 1 year ago

I was experimenting with achieving something similar without using JavaScript. Here's a PoC:

Without JavaScript options are limited.