[Delivers #51752055]
[Delivers #51752055]

* table-refactoring-51752055:
  Refactor caption code into a common method
  Refactor figures code

softcover/polytexnic,minireference/polytexnic,minireference/polytexnic,softcover/polytexnic