Forum Bugs

Table of contents using CSS3 generated lists

nateabbott
We're trying to make a table of contents using CSS3 generated lists, and running into some problems. We're using the code verbatim from the CSS3 module (http://www.w3.org/TR/css3-gcpm/#toc), but no list is showing up when we run prince on the html. Any ideas on what we're doing wrong? Is this supported by prince?

...
<style>
  #toc { prototype: container }
  #toc-entry { 
    prototype-insert-position: current;
    font-size: 14pt }
  #toc-entry::after { content: leader(‘. ’) source-counter(page) }
  h1.chapter { make-element: toc-entry content }
</style>
...
<div id="toc">
  <h1>Table of contents</h1>
  <div id="toc-entry"></div>
</div>
...
<h1 class="chapter">Introduction</h1>
...
mikeday
Sorry, Prince doesn't support generated lists yet.