]> Lady’s Gitweb - LesML/commit
Improve/adjust note/sectioning elements
authorLady <redacted>
Sat, 20 Sep 2025 04:51:30 +0000 (00:51 -0400)
committerLady <redacted>
Sat, 20 Sep 2025 05:25:01 +0000 (01:25 -0400)
commit8efc09cdae80baf04d15c9b1c0db38cd3a868584
tree249b5c01d06ad303cd9721ae3ec78e480124f039
parent5c6c7daa10f7c1ab2074a21fbb2886bcc0f83a7c
Improve/adjust note/sectioning elements

- Notes are now `<section>`s, not `<div>`s.

- A new “abstract” section type has been added.

- Sections can now contain list items (with a level > 1).

- The `LesML:finalize-footnotes` stage has been repurposed into a more
  general `LesML:finalize` stage, in part to facilitate the above.

- Paragraph i·d¦s are now passed upwards to the containing element in
  all cases, when applied to the first paragraph in a container. To
  literally assign an i·d to the first paragraph, add an empty initial
  paragraph (just a `¶`), which will be dropped. The same is true for
  language tags.

It would be nice to be able to specify titles/labels for sections, but
there isn¦t a good mechanism for doing this as of now. The heading
sigils are probably inappropriate for this, as headings in sections are
conceptually singular and “unleveled”. There is no need for four
heading types when a section can only contain one heading and it must
always be the first paragraph.

But on the H·T·M·L side, section headings _should_ have appropriate
levels corresponding to their position in the document. So this would
need to be remediated somehow.
README.markdown
parser.xslt
This page took 0.022642 seconds and 4 git commands to generate.