I am using template (Jinja) for automatically generate document.
In the footer, i want generate $(chapterNumber)-${pageNumber}, and the page number for each chapter start from 1.
I will prepare data (including chapter information, etc) for Jinja to rendor.
When I create my template, how can i do for the footer?
I tried insert chapter number (Insert->Field->More Fields->Document->Chapter->Chaper number) and page number (Insert->Field->More Fields->Document->Page number) in the footer in my template. But it does not works.