From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20062 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Word field formula in reference docx not copied verbatim causing incorrect value in output Date: Thu, 19 Apr 2018 09:40:30 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1524155919 7433 195.159.176.226 (19 Apr 2018 16:38:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2018 16:38:39 +0000 (UTC) To: Paul Adams , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBDEN4PLAKGQENE5YARY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Apr 19 18:38:35 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f63.google.com ([209.85.214.63]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9CZu-0001qP-Tv for gtp-pandoc-discuss@m.gmane.org; Thu, 19 Apr 2018 18:38:35 +0200 Original-Received: by mail-it0-f63.google.com with SMTP id r129-v6sf5567285itc.3 for ; Thu, 19 Apr 2018 09:40:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1524156045; cv=pass; d=google.com; s=arc-20160816; b=XXG1jYSeC8xoEBb+Zbajcx4hmSEL/prNxfd/GGpkX8CkKXxkFgf+YaRThW9jafmqks pGZnolkUg5qshpeLvVeSkVzkdcepyG851Rz4aogw80noG9c/8A3hiW/hbHExCYnEaxBA U532AERLcKf648h88eBqnQnhPrYje69cVqv2PdIlFEHHmSJQEvndYS1rSmAmbE4+8EbR CaQ5CnAxKHli/mgQ/Ly6FvEd+Et2s/JLwkqGIoFGxqnXYegpI7Vo+CbVqrWY0Q+zFQeH vtcjI21LGnNAHCs4j0iZpR0hQCv14JxXUbdXbYgeaz/Swfb+hXpQ9D1zkw8umCPwCy13 qhJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=QfxFuXY7be7A2xg24ZCPfWGneJnYrjQ64eGMdLH/5Aw=; b=ReNjQo1TwbkGCUxpI9pd7X/cUaYBzqkNlkKeIsXAjrKfQ/g5rTrT72NEL6hz/byIoV /PbIkXBjymdJaDBKbBTZXKMW9auw9lTjT/eolT86WeGbD01Y8nCSsiQhUJbQPeTzVX+d +d7nsQIt99+H0GOuHygT8vlqfc/cjwqFeUycXnPOi0gbpusYtdA0H5JDWE8E/VABTZn/ VeY76xk9NuLMFUOYDC6Vq5AlYit3DEpUzwwx/75ZCraedeAiyIOar2qXuP2MJT39To2y 5d80ajCVTTGAyfBUSV12WgBcjSOtFaOH7EKH3qdKGqBFixKlaU9GgED9whkNF0pD5of/ xgDA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=u/c1yxou; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::242 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=QfxFuXY7be7A2xg24ZCPfWGneJnYrjQ64eGMdLH/5Aw=; b=ka1MvhOg6Om4bav6vDfigk7EheqSC66eOxlF4m+CG/ggy/5i5VAJZDelzLyKJ7pMLM Be6/RTjVztux9blCplfx/lrHOscwireYFQIiBN6Vru+fAyKyUHaVGVLw/cCqUHYfovyO N20peWIOxnN3RJ92ZuqF/C7MWCw0sbxZBub5zXHFkqNzcuKikvvVNmY8+8/ZmjJvkLiF gJGgjcCAbV9qmK2bjdyDMa4u047GBkRnEXPU/kGLN9o22P4z7suZKVkiWS2w60K6UeKd 5eRKgMl+VpYu6Q8n7E+M3k9w9CTXp2nyYhG0rt2I4ptugy8P0FdJEB2RffLR/rGpQ9EG CBAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=QfxFuXY7be7A2xg24ZCPfWGneJnYrjQ64eGMdLH/5Aw=; b=FdjPtZ2zMTB7BaJ8QQ8PmOXXt2+9FEbI0Q1tCU7rlmnPdOQtYH8a03x87d1aHw1Kl9 2TzghCpFbWsnCsBRoW1CX3rSXSDKpgX9W/AmwJM7/8Q2+O1uUgq7Pe7S6ZzBWDj2dCvz pu7jZHOqvriMLag7GHOo4bVgwvsBGXMa2WSJVXjAUK3CbzWh6NmmRLMEAtoln+Mw2uy7 EUdNmX/jZ4H2eLdBxHXuTUHbjBICpCpWtA6PnwySmxYeRxzg0q3uhj0+5ksJfTDLlsBL UrndLFeUbIhOtUUtRnTRsij1mz2hsYqNoA4bfoRhuG7l12HoXouad5yVY9NsH2BMEJU3 W0Fg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALQs6tDGALQDRckXp+yVSaNb8DWu3ECoyDISKDsfj/JZaCwKMCtH6Nxr OwId7Jj5dXju+ZYyYxjsKAM= X-Google-Smtp-Source: AB8JxZrv6xn6gsOTKFc7B3UZBqC3g41wVfFboCUFRngDKen7PHuY9aJteG93k1iRjYiq7piBYRjZUA== X-Received: by 2002:a24:49ea:: with SMTP id e103-v6mr2911itd.0.1524156045214; Thu, 19 Apr 2018 09:40:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a6b:f206:: with SMTP id q6-v6ls1510136ioh.21.gmail; Thu, 19 Apr 2018 09:40:43 -0700 (PDT) X-Received: by 2002:a6b:6d4:: with SMTP id f81-v6mr3635301ioi.82.1524156043918; Thu, 19 Apr 2018 09:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524156043; cv=none; d=google.com; s=arc-20160816; b=Qd7tr/Fc/Kb1r1d3BGHsIUK2eKYKZqYQJmqOuiDd0eUv6kFBN7obRYA1XFlEfG+taS QEJcoRivMEAZtRqnfbjd1hYVJ97PpRqOJZL77SLqRY4CmWxpJUlRwJOOd1fuYTRRXaAs zwRJWr522hC9WPZrcHgQeByhhvtzOo8EsXavT89yzVyizantCZK4xj+CYThlkLcUVUTM G1Lp/U0YbdUxJ1ub5lZXUEMrvGQqnmtSxU1IDZAGzPl/rtVxR25GOn3LbZv5P/iwWlRa 4QpOWgCbz1qh+1LPWeOzUWcwDBpIuG6m5Go184qt9aCy78ZLjUcl807tu3yOfEo4FJ+2 XTlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature:arc-authentication-results; bh=seF/WGgRP8nvG64Se7XTf4RI3F/59ExcG4UNNsFROlo=; b=hUMTz4t8FziAAARSXErUvQdztp4gtkuZ/k+dMN7A8U+z8Fha3S1hFLWddn4RVLPnPy 4WbBrnIoMytrP6Di0/R6JXkoU+4+4lD+2pB1AXxJ+u8lzEJ0efF26CUNWRYwwGorBDTq p2Xs8ga43/jfiTermPAQYr5fO7xgHk/r4JOurMx9ylB0SxEUIYtI0v3KMeIlteXHTII7 li4Fmb5gvo/WmtdDqSTEMoBGnZieWyy9hbddtnrNknfibpk4z0jZZVqa/z16lsIgneEv JHNsuDyAGykkb4YiYjezLTURB8G9LRm6ZdgqWUIv52UeiCvOUai61/IUNyB6kh1T+yXK WdZA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=u/c1yxou; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::242 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com. [2607:f8b0:400e:c05::242]) by gmr-mx.google.com with ESMTPS id p78-v6si21276itc.3.2018.04.19.09.40.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 09:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::242 as permitted sender) client-ip=2607:f8b0:400e:c05::242; Original-Received: by mail-pg0-x242.google.com with SMTP id i194so2765899pgd.0 for ; Thu, 19 Apr 2018 09:40:43 -0700 (PDT) X-Received: by 10.99.124.21 with SMTP id x21mr5693164pgc.209.1524156043463; Thu, 19 Apr 2018 09:40:43 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id j125sm10783879pfg.188.2018.04.19.09.40.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Apr 2018 09:40:42 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 3AC32A15F; Thu, 19 Apr 2018 12:40:31 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=u/c1yxou; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::242 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:20062 Archived-At: 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 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.