pressbooks / ideas

Ideas for Pressbooks.
GNU General Public License v3.0
11 stars 4 forks source link

Allow Figures, Tables, and other elements to be numbered automatically #114

Open SteelWagstaff opened 6 years ago

SteelWagstaff commented 6 years ago

Feature Scope

Feature Description

A number of our authors would like for their figures and tables to be able to be numbered automatically, and to have the option to include references to chapter/section numbers in the figure/table number (e.g. Fig 1.3 for the third figure in the first chapter, etc.) I believe that automatic numbering for figures/tables/and other HTML elements could be provisioned by CSS counters: https://tympanus.net/codrops/2013/05/02/automatic-figure-numbering-with-css-counters/ 6.

Feature Use Case

I think this might be especially valuable for textbooks and other kinds of standardized publications, where having numbered ‘figures’ or ‘tables’ might be desirable.

Other Notes

Some previous conversations about automatic numbering has taken place in the Pressbooks Discourse forum at https://discourse.pressbooks.org/t/auto-numbering-for-images-and-headings/171/6 + https://discourse.pressbooks.org/t/automatic-line-numbering/369 + https://discourse.pressbooks.org/t/theme-support-for-automatic-numbering-of-tables-figures/238

pb-amy commented 3 years ago

Internal: https://pressbooks.zendesk.com/agent/tickets/1837

If this ticket is ever worked on, please follow up with the ticket above.

DoctorPCOD commented 1 year ago

Is this something that is in progress or going to be implemented? I could realllllly use this feature, as I'm currently writing a textbook!

kybrarian commented 11 months ago

Automatic numbering and cross references for tables, figures, and subsections is really needed. I hope this can be addressed soon

alliaservice commented 3 days ago

Faculty at my institution would really appreciate this feature!