* Word field formula in reference docx not copied verbatim causing incorrect value in output @ 2018-04-18 18:39 Paul Adams [not found] ` <bdab5071-abd5-47b4-9c71-cdc13ba99f99-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Paul Adams @ 2018-04-18 18:39 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1012 bytes --] 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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. [-- Attachment #1.2: Type: text/html, Size: 2085 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <bdab5071-abd5-47b4-9c71-cdc13ba99f99-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Word field formula in reference docx not copied verbatim causing incorrect value in output [not found] ` <bdab5071-abd5-47b4-9c71-cdc13ba99f99-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2018-04-19 16:40 ` John MacFarlane [not found] ` <m2k1t3f8u9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: John MacFarlane @ 2018-04-19 16:40 UTC (permalink / raw) To: Paul Adams, pandoc-discuss Can you upload or link to your reference.docx (or one like it that shows the problem), so we can have a look? Paul Adams <paul.adams-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <m2k1t3f8u9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: Word field formula in reference docx not copied verbatim causing incorrect value in output [not found] ` <m2k1t3f8u9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> @ 2018-04-19 18:37 ` Paul Adams 0 siblings, 0 replies; 3+ messages in thread From: Paul Adams @ 2018-04-19 18:37 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2231 bytes --] Even more interesting is that it changes my { = { SectionPages } - 1 } to output: { NumPages - 1 } Tested with Pandoc 2.1.3 on macOS High Sierra 10.13.4 pandoc 2.1.3 Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.1, skylighting 0.7.1 On Thursday, 19 April 2018 09:40:47 UTC-7, John MacFarlane wrote: > > > Can you upload or link to your reference.docx (or one like it > that shows the problem), so we can have a look? > > Paul Adams <paul....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: > > > 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. > > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <javascript:>. > > 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. > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3c87d182-9aa3-455c-ad32-605ca500e1c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 7946 bytes --] [-- Attachment #2: pandoc-custom-reference.docx --] [-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 24835 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-19 18:37 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-04-18 18:39 Word field formula in reference docx not copied verbatim causing incorrect value in output Paul Adams [not found] ` <bdab5071-abd5-47b4-9c71-cdc13ba99f99-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2018-04-19 16:40 ` John MacFarlane [not found] ` <m2k1t3f8u9.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 2018-04-19 18:37 ` Paul Adams
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).