Skip to content

Printout improvements - #3177

Open
oscarlevin wants to merge 5 commits into
PreTeXtBook:masterfrom
oscarlevin:printout-improvements
Open

Printout improvements#3177
oscarlevin wants to merge 5 commits into
PreTeXtBook:masterfrom
oscarlevin:printout-improvements

Conversation

@oscarlevin

Copy link
Copy Markdown
Member

This fixes three separate issues with printouts (worksheets and handouts).

  1. There apparently is a bug with how we were swapping out stylesheets in the newest version of chrome. That's fixed. Thanks Claude Opus 5 :)
  2. Footnotes had never worked in printouts: they would be opened mid paragraph as a knowl. Now they migrate to the bottom of their page.
  3. A paragraph that had a long list (ol/ul/dl) would overflow a page. Since we now do a better job fixing page overflows in general, it was a simple fix to add this for the list case.

Mostly javascript, with a few css tweaks for the footnotes (so both js and css needs a rebuild). Examples of both footnotes and multipage lists added to the sample article.

@oscarlevin
oscarlevin force-pushed the printout-improvements branch from 00e3204 to ef7e29b Compare August 25, 2026 00:07
@oscarlevin

Copy link
Copy Markdown
Member Author

Just force pushed after a rebase on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant