end of proof signs

34 views
Skip to first unread message

Matthias Beck

unread,
Aug 6, 2025, 1:54:59 PM8/6/25
to PreTeXt support
Dear All,

With Chrissy's and David's expert help, we've been working hard at producing a PreTeXt version of https://matthbeck.github.io/complex.html and it's been real fun. They've already checked with some of you about some MathJax issues we ran into.

But there is an inconsistent behavior with end-of-proof signs in the web output, which stumps me (and them). The attached screenshot is an example. I'm most surprised that the two incidences of the end-of-proof sign are spaced so differently. As far as I can tell, the code for both is isomorphic. (For what it's worth, I like the second spacing much better than the first.)

Thanks for any insight any of you might have.

Cheers,
Matt

Screenshot.png

Oscar Levin

unread,
Aug 6, 2025, 2:33:27 PM8/6/25
to pretext...@googlegroups.com
Could you share a link to a live version with that behavior?  

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/c99dc5dd-bd8f-47de-b651-c97a5cc7255cn%40googlegroups.com.

Matthias Beck

unread,
Aug 6, 2025, 5:46:40 PM8/6/25
to pretext...@googlegroups.com
You received this message because you are subscribed to a topic in the Google Groups "PreTeXt support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pretext-support/iH3EifaaVcM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/CAOU9BaW%3DmYaBxBDymT%3DSVoF-b69L9S2r37v50zUozud7nvDC3Q%40mail.gmail.com.

OHappyDay

unread,
Aug 7, 2025, 5:16:45 AM8/7/25
to PreTeXt support
I have a question: how do you get the end-of-proof sign into the html version of a book? I was unable to find a hint in the documentation or the sample article.

Thanks
Klaus

David W. Farmer

unread,
Aug 7, 2025, 9:26:32 AM8/7/25
to PreTeXt support

The appearance of proofs is part of the style the publisher chooses.

Most (maybe all current) styles use the "Greg's L" to delimit a proof,
and so to not get or need an end-of-proof marker.

On Thu, 7 Aug 2025, OHappyDay wrote:

> I have a question: how do you get the end-of-proof sign into the html version of a book? I was unable to find a hint in the documentation or the sample
> article.
>
> Thanks
> Klaus
>
> matt...@gmail.com schrieb am Mittwoch, 6. August 2025 um 23:46:40 UTC+2:
> Thanks Oscar.
> Front Matter
> davidaustinm.github.io
> [IMAGE]
> To view this discussion visit https://groups.google.com/d/msgid/pretext-support/8467a931-4bdb-47bb-8081-138a7a5ef1c3n%40googlegroups.com.
>
>

David Austin

unread,
Aug 7, 2025, 11:20:54 AM8/7/25
to pretext...@googlegroups.com
I think Matt is referring to the two end-of-proofs markers here: Paragraph.  The difference could be that one proof is inside a #corollary and the other is not.  

Matthias Beck

unread,
Aug 9, 2025, 1:07:29 PM8/9/25
to PreTeXt support
I'm still curious about this...

David -- I moved things in and out of #corollary, with no effect. 

Am I asking the wrong question? Has this sort of behavior appeared in other documents? 

Thanks,
matt 

Andrew Scholer

unread,
Aug 9, 2025, 2:54:55 PM8/9/25
to pretext...@googlegroups.com
It looks like the difference comes from the paragraph preceding the marker. If that paragraph has an inline heading, the paragraph itself is "inline", which changes the behavior of the marker.

Oscar -
It looks like you could get the same basic location by removing the float from the :after that makes the marker and instead using:
position: absolute;
right: 1em;
bottom: 1.5em;

Only did a quick test in the browser dev-panel, so it probably needs more thorough testing.

Oscar Levin

unread,
Aug 9, 2025, 3:08:42 PM8/9/25
to pretext...@googlegroups.com
I just discovered the same thing.  I will try to update the CSS for the Denver theme so the end of proof symbol's location is more consistent.

Matthias Beck

unread,
Aug 9, 2025, 3:15:21 PM8/9/25
to pretext...@googlegroups.com

Oscar Levin

unread,
Aug 10, 2025, 8:38:16 PM8/10/25
to pretext...@googlegroups.com
This has been fixed and will be available in the next release of the CLI (likely Monday).  

Note that your book was using some custom CDs to get the black rectanlge instead of QED.  With the fix, I defaulted to the black rectangle, so you can remove at least this part of your custome css.

Reply all
Reply to author
Forward
0 new messages