second #p in list items not indicated well (in HTML)

15 views
Skip to first unread message

Alex Jordan

unread,
Sep 4, 2025, 9:34:32 PM (2 days ago) Sep 4
to prete...@googlegroups.com
When a list item has multiple #p, then in HTML output, there is no indication of where the second paragraph begins. Outside of a list, this would be a top-margin on the lower paragraph. Or in PDF, there is indentation.

Here is one example of this in the sample article:
It's not the greatest example to illustrate why this is bad, but it does illustrate the issue as described above.


David W. Farmer

unread,
Sep 4, 2025, 9:55:24 PM (2 days ago) Sep 4
to prete...@googlegroups.com

Yeah: for some reason the margin-top on .para + .para
has the additional condition that it is a child of
article or section.

Another example:

https://pretextbook.org/examples/sample-article/html/section-facts-figures.html#section-facts-figures-6-9-4
> --
> 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.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jrcmsmuVCJ%3D3y52oUtXYY9rn2mueNHHqCVifeCqp8NPKZQ%40mail.gmail.com.
>
>

Andrew Scholer

unread,
Sep 5, 2025, 11:06:00 AM (2 days ago) Sep 5
to prete...@googlegroups.com
Thanks Alex, I'll take a look at that and PR something.

Andrew Scholer (he/him/his)
Computer Science Instructor
Chemeketa Community College


Andrew Scholer

unread,
Sep 5, 2025, 4:08:30 PM (2 days ago) Sep 5
to prete...@googlegroups.com

Andrew Scholer (he/him/his)
Computer Science Instructor
Chemeketa Community College

Reply all
Reply to author
Forward
0 new messages