On 04/10/2011 03:30 AM, Tim Martin wrote:
I can't see a way to generate the h1 and h2 headings from ReST but insert the standard generated text into it (without having that text repeated in every ReST file).
not sure if you want or dont want it, but have you looked at rst_prolog in conf.py?
The problem I hit here is that the largest heading type in ReST is automatically mapped to<h1>, whatever I do. This means that 'Section 1' always comes out as<h1>, but I need it to be<h2> in order to fit with the style. Is there some way to control the way that ReST headings are mapped to HTML?
would it still be bad if you just gave your layout-inserted h1 a certain css class/id, and re-styled all other (sphinx) h1 to h2 in the css? HTH, Paul -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
