I create two docx files using CreateDocxFromTemplate. They both have page numbering in footer so one shows "1 / 3 pages", the other one show "1 / 2 pages".
I then use MultiMerge mergeDocx using option ['numbering' => 'restart'].
The end result of page numbers becomes this:
1 / 5
2 / 5
3 / 5
1 / 5
2 / 5
The result I would want is this:
1 / 3
2 / 3
3 / 3
1 / 2
2 / 2
Is there any way to fix this?