Good work, Brad.
Yes, we thought putting permalinks onto the page was a good idea, rather than
having Javascript find gthe right places and add them in. We (Andrew, Oscar)
have been finding places where they are too much and killing them. For me, I
think children of divisions (including #paragraphs) might be enough? A
#theorem, but not every #p within it? I'm sure some will think that leans too
far the other way.
OK, having said that, how about an even bigger suggestion. I've learned the
harway that copies of content are fraught. Knowls, WW, manifest, and probably more.
What if the manifest's #htmsrc element just held a *pointer* into the HTML? Go
grab the original, don't just make a copy? Something like
<htmlsrc the-file="sec-number-theory.html" id="ANT_3_number-theory-proof"/>
(Then the manifest could go back to XML!)
Rob
> Set up a time to meet <
https://fantastical.app/bonelake-Gj2i/meet-with-
> brad> with me.
>
>
>> On Nov 6, 2025, at 1:41 PM, Andrew Scholer <
andrew....@chemeketa.edu> wrote:
>>
>> The key features that I think are necessary to trigger this:
>> * It is natural language, not programming.
>> * It has embedded math (or some other markup that introduces newline
>> characters as it is rendered as XML).
>>
>> The existing `number-theory-proof` already meets those criteria and displays
>> the issue.
>>
>> But... you only see evidence of the issue when you try to solve it on a book
>> page and then go look at your solution on a DB driven page (assignment page or
>> grading page). It works fine in either context, but it is different in the two
>> contexts so your saved solution from one does not make sense in the other.
>>
>> That combination of factors is why we aren't seeing it more. Sean did his
>> thing and found the edge case no one else was using. :)
>>
>> On Thu, Nov 6, 2025 at 1:27 PM Bradley Miller <br...@runestone.academy> wrote:
>>
>> So, it would be good to get that question into the sample book so we can
>> test and make sure this is solving the problem.
>>
>> I’m surprised we are not seeing this problem more? Maybe because this
>> isn’t a programming problem.
>>
>> Brad
>>
>> Brad Miller
>> Professor Emeritus, Luther College
>> Founder, Runestone Academy LTD
>> Blog:
http://reputablejournal.com <
http://reputablejournal.com/>
>>
>> Set up a time to meet <
https://fantastical.app/bonelake-Gj2i/meet-with-
>> brad> with me.
>>> <
https://github.com/sean-fitzpatrick/APEXCalculusPTX/blob/
>>> f21d5dcf98a6ff0868519f25f8633ecfe7fa7291/ptx/sec_optimization.ptx#L585>
>>>
>>> On Thu, Nov 6, 2025 at 7:38 AM Bradley Miller <br...@runestone.academy> wrote:
>>>
>>> Yeah,
>>>
>>> I solved the encoding problems and it looks good now.
>>>
>>> Is there an exercise that was exhibiting the problem Sean was having
>>> so that we can verify whether or not all of these changes have made a
>>> difference.
>>>
>>> I do think this needs more careful scrutiny before merging any of
>>> this. We have had years of stability in the manifest and I would hate
>>> to throw courses into chaos over a bad xpath query!
>>>
>>> Brad Miller
>>> Professor Emeritus, Luther College
>>> Founder, Runestone Academy LTD
>>> Blog:
http://reputablejournal.com <
http://reputablejournal.com/>
>>>
>>> Set up a time to meet <
https://fantastical.app/bonelake-Gj2i/meet-
>>> with-brad> with me.
>>>
>>>
>>>> On Nov 5, 2025, at 6:46 PM, 'Rob Beezer' via PreTeXt development
>>>> <
prete...@googlegroups.com <mailto:
prete...@googlegroups.com>>
>>>> wrote:
>>>>
>>>> On 11/5/25 15:50, Bradley Miller wrote:
>>>>> it seems we have some encoding issue to figure out
>>>>
>>>> Those problem characters are Unicode apostrophes and "smart quotes",
>>>> and are identical in the XML version (old) and the HTML version (new).
>>>>
>>>> But the XML version has a first line like:
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>
>>>> while the HTML version has *nothing*.
>>>>
>>>> I'll see if I can change a couple of things to make the right stuff
>>>> come out (or at least something better), or you can add something by
>>>> hand if you want to make progress right now.
>>>>
>>>> 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%2Bunsu...@googlegroups.com>.
>>>> pretext-dev/MTAwMDAyNy5iZWV6ZXI.1762397218%40pnsh <https://
>>>>
groups.google.com/d/msgid/pretext-dev/
>>>> MTAwMDAyNy5iZWV6ZXI.1762397218%40pnsh>.
>>>
>>>
>>> --
>>> 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...@googlegroups.com>.
>>> pretext-dev/317A6740-3832-4F5F-9029-2EC47EC2D737%40runestone.academy
>>> <
https://groups.google.com/d/msgid/pretext-
>>> dev/317A6740-3832-4F5F-9029-2EC47EC2D737%40runestone.academy?
>>> utm_medium=email&utm_source=footer>.
>>>
>>>
>>> --
>>> 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>.
>>> CACm44N8Vwdv6kanaTfxgh7SrV3JkWdXDdbj8%2BJv7nbj7P2YfrQ%
40mail.gmail.com
>>> <
https://groups.google.com/d/msgid/pretext-dev/
>>> CACm44N8Vwdv6kanaTfxgh7SrV3JkWdXDdbj8%2BJv7nbj7P2YfrQ%
40mail.gmail.com?
>>> utm_medium=email&utm_source=footer>.
>>
>>
>> --
>> 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>.
>> dev/D9111BD4-B689-4F04-9287-97920D2DA0C0%40runestone.academy <https://
>>
groups.google.com/d/msgid/pretext-dev/D9111BD4-
>> B689-4F04-9287-97920D2DA0C0%40runestone.academy?
>> utm_medium=email&utm_source=footer>.
>>
>>
>> --
>> 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>.
>> CACm44N8CkbK_Ne3rqzFDqaoTNcxqngJ6BGvzq20WiBi_PHwFiA%
40mail.gmail.com <https://
>>
groups.google.com/d/msgid/pretext-dev/
>> CACm44N8CkbK_Ne3rqzFDqaoTNcxqngJ6BGvzq20WiBi_PHwFiA%
40mail.gmail.com?
>> utm_medium=email&utm_source=footer>.
>
> --
> 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>.
> dev/632DDC3D-CEC7-462C-953C-677BF2C2C575%40runestone.academy <https://
>
groups.google.com/d/msgid/pretext-dev/632DDC3D-
> CEC7-462C-953C-677BF2C2C575%40runestone.academy?utm_medium=email&utm_source=footer>.