Skip to content

Commit

Permalink
Add title numbering to default
Browse files Browse the repository at this point in the history
  • Loading branch information
jelovirt committed Dec 22, 2024
1 parent 317f28c commit b174565
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions src/main/resources/com/elovirta/pdf/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@
"h1": {
"font-weight": "bold"
},
"h2": {
"title-numbering": true
},
"h3": {
"title-numbering": true
},
"h4": {
"title-numbering": true
},
"h5": {
"title-numbering": true
},
"h6": {
"title-numbering": true
},
"chapter": {
"numbering": "document",
"title-numbering": true
Expand All @@ -29,22 +44,28 @@
"start-indent": "0pt"
},
"1": {
"start-indent": "0pt"
"start-indent": "0pt",
"title-numbering": true
},
"2": {
"start-indent": "$brand-toc-indent"
"start-indent": "$brand-toc-indent",
"title-numbering": true
},
"3": {
"start-indent": "2 * $brand-toc-indent"
"start-indent": "2 * $brand-toc-indent",
"title-numbering": true
},
"4": {
"start-indent": "3 * $brand-toc-indent"
"start-indent": "3 * $brand-toc-indent",
"title-numbering": true
},
"5": {
"start-indent": "4 * $brand-toc-indent"
"start-indent": "4 * $brand-toc-indent",
"title-numbering": true
},
"6": {
"start-indent": "5 * $brand-toc-indent"
"start-indent": "5 * $brand-toc-indent",
"title-numbering": true
}
}
}
Expand Down

0 comments on commit b174565

Please sign in to comment.