On Apr 11, 10:44 am, werner <wbru...@free.fr> wrote:
> On 10/04/2011 03:30, Tim Martin wrote:
> ...> 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?
>
> sections
> ========
>
> subsection
> ----------
>
> subsub
> ^^^^^^
>
> First maps to H1, second to H2 and third to H3.
>
> http://sphinx.pocoo.org/rest.html#sections

The problem is that I don't want the first to map to H1, since H1 is
part of my layout.html. I want the sections to map to H2, H3 and H4.

YOu might think I could do this with

sections
--------

subsections
^^^^^^^^^^^
etc.

but it doesn't work since the largest heading is always mapped to H1,
regardless of which underline characters I use.

Tim

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to