Replies: 3 comments 3 replies
-
|
@xw-mk Hey, In html2pdf itself, page breaks can be controlled, but in StrictDoc the layout is fixed and those options aren’t currently exposed to the user (in the way you suggest above). That said, we’re happy to see if there’s something reasonable we can do within the current constraints. Could you share an example of what you mean by “messy looking page breaks” (for example, a screenshot)? That would help us understand the issue better. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, you’ve found exactly the parameters I was referring to. Making this behavior configurable is on our roadmap. |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the bug related to bold text: One of these mechanisms is related to the There is a In RST content, subheadings are sometimes created using bold text instead of However, this rule is too aggressive: As a temporary workaround on the StrictDoc side, ensuring that such paragraphs contain an additional inline node is sufficient to break this behavior. In your specific example, the paragraph with bold “sed” under "Section 1" is incorrectly classified as |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Is there a way to control line breaks in html2pdf output? I can see that top level sections will always page break, but this logic doesn't apply to a top level requirement. The particular document i'm working has a lot of text and tables per requirement and it's causing some messy looking page breaks (not anything I would class as a bug).
I think I could achieve what I need with any of the following:
Appreciate any thoughts or feedback.
Beta Was this translation helpful? Give feedback.
All reactions