The way Tryton processes ODT templates causes it to sometimes do stuff that doesn'T make sense (like if you have a FOR
loop before a page break and /FOR
on apage itself after it should not keep the empty pages). A look into the content.xml file within the odt often then tells us why. In my case it was simply the formatting.
So I fixed this annoying issue by just marking it and clicking "Remove direct formatting"
and now it gets rid of those without an issue.
Turns out the text:p text:style-name="bla"
tags were causing it to consider it non-empty and keep it. Just something to keep in mind when designing templates. If weird stuff happens check the XML ;)
Comments
There are currently no comments
New Comment