title_body: section numbers in epub headings I want to display chapter and section headings in an epub file (epub version 3.0) so that the titles preceded by the corresponding section numbers.  Currently I am explicitly writing the section numbers inside the corresponding HTML tags:
  
  &lt;h1&gt;1 Exciting Concepts&lt;/h1&gt;
  &lt;h2&gt;1.1 Introduction&lt;/h2&gt;
  ...
  &lt;h2&gt;1.2 Buildup to Excitements&lt;/h2&gt;
  ...
  
  
  To my eye, this approach seems somewhat ugly, because the numbers are not really part of the chapter/section titles and including the numbers in the header tags may violate the separation between content and presentation.
  
  My questions:
  
  
  Will my approach cause any problems?  For example, are ebook readers guaranteed to not add their own chapter/section numbers?
  Is there a better way to display numbered sections?  For example, I found tutorials for adding automatic section numbers to HTML via CSS, but it is not clear to me how will work when the text is split between different HTML files, and whether there are compatibility concerns with ebook readers.
upvoted_answer: EPUB3 defines a profile for CSS which is pretty much a superset of CSS 2.1 and a subset of CSS 3.
  
  I haven't checked to see whether the CSS facilities mentioned are covered in the profile, but if they are it will then depnd on how well those are implemented in particular readers.