Skip to content
Discussion options

You must be logged in to vote

This is form memory, so I hope this works..

You need to select the Heading inside the Section and give the style a unique name. You probably also want this style to inherit from the generic level 2 heading style you defined:

# level 2 header customizations specific to this chapter 
[document history heading level 2 : Section(id='document-history') / Section / Heading]
base = heading level 2
number_format = none
page_break = none

The style log can help you build the correct selector. This example shows that a heading is a Heading node which is a direct child of a Section node.

        ...
        Section(id='subsection-x')   /Users/brechtm/Documents/Code/rinohtype/tests_regression/rst/sect…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rweickelt
Comment options

Answer selected by rweickelt
Comment options

You must be logged in to vote
1 reply
@rweickelt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants