PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
268 stars 210 forks source link

Add slide number option to revealjs #2231

Closed kcrisman closed 4 months ago

kcrisman commented 4 months ago

This adds an option to use the revealjs slide numbering. Note that with the default "grid" option this creates ordered pairs, so I didn't make it the default option; I don't mind the ordered pairs personally, but I figure others might find them distracting. With "linear" slides it would be fine for anyone, I think.

kcrisman commented 4 months ago

@ascholerChemeketa @sean-fitzpatrick you may be interested in this potential option.

rbeezer commented 4 months ago

PreTeXt controls numbering, not the output formats. Necessary for consistency across outputs and for when a subset is built. The exception is about half of the laTex, since its behavior is the model.

kcrisman commented 4 months ago

PreTeXt controls numbering, not the output formats.

Perhaps there is a misunderstanding about what this enables. There is no connection whatsoever to numbering of theorems etc.; this simply enables (as an option) the tiny numbers that every slide deck format I know of supports. This is a very heavily used option outside of PreTeXt (including Beamer), and a standard option for revealjs, so it seemed like a reasonable thing to support as a non-default option, especially since no one commented otherwise on #1890.