Knowls in NotationList

10 views
Skip to first unread message

Jeremy Sylvestre

unread,
Jul 8, 2026, 1:37:58 PM (3 days ago) Jul 8
to PreTeXt development
When you click on the location link for an entry in an IndexList, the knowl opens directly below that entry.

When you click on the location link for an entry in a NotationList, the knowl opens below the entire NotationList. For a long NotationList, this is likely off-screen. The screen does auto-scroll, but only so that the top border of the now-opened knowl is visible, and a novice user might not notice that anything has happened other than the screen jumping to another part of the NotationList.

Is it possible for the knowls in the NotationList to behave more like the knowls in the IndexList?

Regards,
Jeremy S

Rob Beezer

unread,
Jul 8, 2026, 2:40:50 PM (3 days ago) Jul 8
to prete...@googlegroups.com
Thanks, Jeremy! Our notation list is so short in the sample article, that I
guess it hasn't been so obvious.

Long ago, we were very careful about having a knowl open after the "closest"
block-level content, or something like that.

So either

(a) something needs to be tweaked to get notation items into that list

or

(b) markup for notation items needs something "bigger"

Hopefully the CSS/JS mavens will see a practical solution.

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-dev...@googlegroups.com <mailto:pretext-
> dev+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/
> CALMYOnd43uXm3BzbxDpRu0xyhNhkaaBFPCS%3DbzVjuO3_MPPBvQ%40mail.gmail.com <https://
> groups.google.com/d/msgid/pretext-dev/
> CALMYOnd43uXm3BzbxDpRu0xyhNhkaaBFPCS%3DbzVjuO3_MPPBvQ%40mail.gmail.com?
> utm_medium=email&utm_source=footer>.

Andrew Scholer

unread,
Jul 8, 2026, 7:22:08 PM (2 days ago) Jul 8
to prete...@googlegroups.com
IndexList is rendered as a series of nested div elements (that maybe should be an actual list?).

NotationList is rendered as a table. There is no valid way to inject other elements in between rows in that table. Trying to place the knowl body in a td but have it visually expand across the entire row would be messy. Adding a new table row with knowl content would break the semantics for the table.

So, absent restructuring the HTML (might make more sense as a definition list?), I don't see an easy way to implement that. 

Andrew

To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/MTAwMDAwNy5iZWV6ZXI.1783536047%40pnsh.
Reply all
Reply to author
Forward
0 new messages