Is it possible to include text line numbering in Pressbooks, or has a theme been developed that has this feature? Think of line numbering for legal documents, which some word processors can do automatically.
We have a professor using both the online (self-hosted Pressbooks) version of a textbook and the print version of the same book in a class. The prof would like to see line numbering that he can use to guide discussion of pinpointed text for analysis, which would appear in both the online version and PDF exports.
The use case you’re describing might not be well served by this, as line lengths can’t be assumed to be the same in webbook and PDF versions of the book. (Also, there’s no pure CSS way to add line numbers to a block element that I’m aware of… maybe others can correct me on this point.) A (certainly) easier solution would be to use a CSS counter to number paragraphs (and this could be added to any theme with some fiddling using our Custom Styles feature:
If anyone knows a method to add line numbering, I’d be interested in hearing it.