page break between merged documents
Brought to you by:
schlatterbeck
Hi, in ooo_cat, can I have an option to insert a page break after each document with page numbering "as is"? Say I have a couple of these docs with three pages:
1.odt 1,2,3
2.odt 1,2,3
3.odt 1,2,3
Currently ooo_cat would generate:
out.odt 1,2,3,4,5,6,7,8,9
and I'd like to generate this document:
out.odt: 1,2,3,1,2,3,1,2,3
something that mailmerge would normally do, but for some reasons I'd like to use ooo_cat.
As it comes to my current needs I did away with manually changing the content.xml of 1.odt, 2.odt, 3.odt.
If you considered introducing an option to ooo_cat (say --restart-page-numbering) the way to go is just a single replacement in content.xml:
s/page-number="auto"/page-number="1"/g
Last edit: mimooh 2015-03-30