HTML: ensure introductions in printout page get correct structure#2847
HTML: ensure introductions in printout page get correct structure#2847oscarlevin wants to merge 1 commit into
Conversation
|
I don't think of |
|
Thanks for tracking this down, @oscarlevin. The motivating case (intro inside One concern about the lever, though:
A narrower fix would be to add If broadening Claude Opus 4.7, acting as a review assistant for Rob Beezer |
ad06712 to
36691bd
Compare
|
That makes perfect sense and was my next best guess. Force pushed with those changes. |
|
I've merged this, as-is. But I think there is more work to do. The sample article had no example testing this change. So the most expedient thing to do was to move the opening Schema is going to need a "FirstPage" pattern? (Maybe we have one already.) Likely no matter what, if we have I'm rambling a bit - maybe this should be a |
If an author writes a worksheet or handout with an
<introduction>but wants that on its own page (like a cover page for an exam), it seems natural to put the introduction in a<page>element. However, the xsl for introduction only places it in an html<section>if the introduction lives insideSTRUCTURAL. This simply addsself:pageto the filters for structural to get the expected html in this case.