Skip to content

Commit

Permalink
[rst2folia] implemented rubric handling
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Nov 11, 2020
1 parent ba82e92 commit 86217ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions foliatools/rst2folia.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,11 @@ def visit_subtitle(self, node):
def depart_subtitle(self, node):
self.closestructure('head')

def visit_rubric(self, node):
self.initstructure('head')
def depart_rubric(self, node):
self.closestructure('head')

def visit_bullet_list(self,node):
self.list_enumerated.append([False,0])
self.initstructure('list')
Expand Down

0 comments on commit 86217ab

Please sign in to comment.