From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20058 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Adams Newsgroups: gmane.text.pandoc Subject: Word field formula in reference docx not copied verbatim causing incorrect value in output Date: Wed, 18 Apr 2018 11:39:17 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_33307_380355252.1524076757835" X-Trace: blaine.gmane.org 1524076633 11940 195.159.176.226 (18 Apr 2018 18:37:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 18:37:13 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCH33K5QWIDBBVVB33LAKGQECNXFWRA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 18 20:37:09 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f190.google.com ([74.125.82.190]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8rx6-00031b-Jw for gtp-pandoc-discuss@m.gmane.org; Wed, 18 Apr 2018 20:37:08 +0200 Original-Received: by mail-ot0-f190.google.com with SMTP id a13-v6sf1580237oti.4 for ; Wed, 18 Apr 2018 11:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=+SNVYOWd1fSSPLx3ppTS6a6jup3wSx+je1KkQiMkzAc=; b=X2FxrlndSLz24/WCSHx37uUDNxRvXFqOYpvcnQoXt1hBC9FuQg7bqIJJsMcZOWfMKB 7J9DxwsajIg3sR7wWGgif9NtdPYqUheVTBBWQ7lzpGKP8B9gXkiTsd0VlyvNYyQQgyDb noUeyh74hvFcZV1BsfOoDbh1jV8zeaa8OrcKVB3O4jHASPJnVY33c6KwmULgMXCRKU/x UOwRNpFKqouJ8Bo/YMR6bv+4R+q2Ibjy3m3uadDgCEA8DhrTgM2wlih3VBK0lMLJW7mx 1YI7EriED3p5dgL1DEYfPsYnln5SX9OmcwsophYTd7/g89SOpSN6Ic4zbFo8N67B6ESS f1tA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=+SNVYOWd1fSSPLx3ppTS6a6jup3wSx+je1KkQiMkzAc=; b=T1B3WGCilp3uUym5d6bx9wAqH7f4hMaDPmcUwYO5SU0RqW0NBMWM/RlcZX/QNlqYmK BbDPz0pEjiG1k0/BPVuNm55H3GCsXQg3zCfQmQjpFbkcSY0RclPci5fnVzCqgBCTv4xV WDWsdgddGptJ7Z1XQ8H3x5SHr41Zdq7lu0lzG4AI6DuXL1GhynSE80JXsin6wCE5Cjlw IG2NCQewXbqq/G6aHAlkK/vvRMF3q5p03nP6UUxT43eC5GuPfH5vGzmvvf4NXgSliZeL wCR5qgZd7pSqZMBmeTsoDjmaFFNsoGSVkK/2tlc8sWw32N5utW5TYUxqc+ssvIisU1SK IkSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=+SNVYOWd1fSSPLx3ppTS6a6jup3wSx+je1KkQiMkzAc=; b=fJw/o771QVEsRiYeHHjYwdOk1Oyci7vH9byoT+3KQSGG556lVlNHXn6QmGW5aqmSdv LtLLKgEcwtoBnheNKF0oBoDfDQRQ+3k1aa0zpa2ONaJ9UgjBpkVEEW6ut/skx3HVMjlK K9+5qb2xpg3PGW+sB/NXFUA2r/7J5Rme8WR5p7TxQr4CzqkPHewwHdzK3IPnzh7SY7sa xSngmJHQPcNvsGhB56OSGNSNPzNSVUHrtMjGxs8UXyhPc+5FkX04Sb45OY7f9oLWzKtX t/c0LfnNg2X2Rcisk/1rUUbP9RsyYuK4959zYWhMjiSe7dm/ef3BQC/3l18rozTGSaWZ WzEQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALQs6tD+n+z1sITSoH6fnsTalK5orRzs0MtTWOM7B9Eo+Hln409kNcj1 CauIIgSzwp2aJpm7aVH5yck= X-Google-Smtp-Source: AIpwx48oU3U5Fr7jDII+cMF4Ds0kj8XppzgfOdWFLr3McC+X0g5vQB3vqzF7B/2oiU9Je+PZBfwuZg== X-Received: by 2002:a9d:5888:: with SMTP id x8-v6mr201704otg.0.1524076759288; Wed, 18 Apr 2018 11:39:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:5a88:: with SMTP id w8-v6ls2757479oth.14.gmail; Wed, 18 Apr 2018 11:39:18 -0700 (PDT) X-Received: by 2002:a9d:3051:: with SMTP id w17-v6mr200242otd.11.1524076758326; Wed, 18 Apr 2018 11:39:18 -0700 (PDT) X-Original-Sender: paul.adams-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20058 Archived-At: ------=_Part_33307_380355252.1524076757835 Content-Type: multipart/alternative; boundary="----=_Part_33308_1640882922.1524076757835" ------=_Part_33308_1640882922.1524076757835 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_33308_1640882922.1524076757835 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 { =3D { NUMPAG= ES } - 1 }

But in my output DOCX the= footer field looks like this

Page { PAGE } of { NUMPAGES -= 1 }

Which does not render the corre= ct 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=C2=A0work as intended?

Thanks!=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_33308_1640882922.1524076757835-- ------=_Part_33307_380355252.1524076757835--