I've a DOCX reference doc that I'm using for MD to DOCX conversion. In the reference DOCX I created a footer field

Page { PAGE } of { = { NUMPAGES } - 1 }

But in my output DOCX the footer field looks like this

Page { PAGE } of { NUMPAGES - 1 }

Which does not render the correct number of pages in the document.

Is this a bug or a feature? If it's a feature, does anyone have the incantation that will work as intended?

Thanks! 

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bdab5071-abd5-47b4-9c71-cdc13ba99f99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.