Well, that was wild. Definitely the innermost ring of escape-character hell.
1. You want a bare "<" to be seen by a reader of the sample article (not in
math, just text).
2. So author "<" since "<" is for starting tags.
3. Now parse the source to make HTML output. XSL "sees" a "<" and escapes it
in HTML output as "<".
4. But if you show that as the source, a browser will show it as "<", not what
was authored.
5. So break the escape sequence by converting the "&" to its escaped version,
"&", thus needing "&lt;" in the source for the "View Source" knowl.
6. It gets weirder. The sample article has passages that read, "To produce a <
type <." Think about what that last bit was in the source and what it must
become in the View Soure knowl to render like the original source.
Anyway, turned out to be easier than it sounds. But don't break the first
character of "<chapter/>" in the process. ;-)
Homework:
Exercise 8.1
https://pretextbook.org/examples/sample-article/annotated/text-in-paragraphs.html#exercise-13
Rob