From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28250 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Figure numbers go missing when converting from .docx... Date: Thu, 29 Apr 2021 12:13:27 -0700 Message-ID: References: <0d6a6135-dd7e-482b-b2f2-72f58ec982e5n@googlegroups.com> <8e4692ef-6d27-4802-8c94-92a6c58423a3n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2047"; mail-complaints-to="usenet@ciao.gmane.io" To: Gary Friedman , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBZEKVSCAMGQEG7WDIHY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Apr 29 21:13:42 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f183.google.com ([209.85.219.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lcC6Y-0000RY-Ug for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 29 Apr 2021 21:13:42 +0200 Original-Received: by mail-yb1-f183.google.com with SMTP id i201-20020a25d1d20000b02904ed4c01f82bsf24906685ybg.20 for ; Thu, 29 Apr 2021 12:13:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619723622; cv=pass; d=google.com; s=arc-20160816; b=QHY99w+G5Zeo1MjL6vH+Tm0lplGN6Oxe6+bQMXyIWV8TU1abeON6g+AZgsoFOx+GIQ Xsa7LR+comW/HVBR1HPjsDSRMRIz+L9d5oRnob3hXktkExeWWOOdTutfiAG1TZ/p48px 83ssOYUXitCOvv9mSTC4A7MITIcYG9NsCqlhY64C8oxqAuMXv8fcQnT229VXvIyEOQBr YkOpkXJgqq+myXDtS6pvXQXouyPi863A7FYX7DXbNlO7+dwVYJrElpG1dCm1CBNTJpF0 k8qGvIF6Nn+nMmshGIMLRQtf/UWSMH/rtA/+z4wrG+EJsDg/Zw+Q9qu+jt9EtlaMaKrP TgvQ== 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:sender:dkim-signature; bh=7gPtqPQniOsGwrXCugBxq3xkPVakvDW9QDHa9u+N7t8=; b=czr243c3UaNTm2uWmv0iYeckMJtNZRNi/7e8tF+urXSeVvurt/qlUahsSvX1fsdajn vjc1HCkUpRY2Ov+YFEWItesaPgDp8PhLDTC8feHp/aotNVVP4rN+GAImK/9Irlovnd8d j33ozPwqIQwxf5WbL+AdBB4zty7U7h0ldOW7RsfoicVF+QUn6jVrckx/WYlwoPVcT6Hz YO7fgnMKJ/kDt+lJXxn/ApULAHcaH5bMLiTVilZOcadgEmGOfSX/oEVD61ssO0egF4cW cTYDLt9r0Tx+6q5JAJ94aI2kpeZCXUclf9NijPCZXqiN/Bk/PznCIoO3Dbt8F1invgkp clXg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=suWv95SP; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 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=7gPtqPQniOsGwrXCugBxq3xkPVakvDW9QDHa9u+N7t8=; b=WZhxHtmswxFseGZ2NzkHgMRZaH4RdGVYku4Wm3LfDqShYhUtfmQbToJD/fXwvNzV40 RuxrkzEU36LbbRqw53Ijujmyvcq/sr89TtcmJy8+Qf2CiVk1N0j5kh0JEM14pRjpS0YY JTRXUGbJPfScR5tI+5s2fCW8GixVkG3MY4rdF5ceyXDbJJ5QbVfIFFCRNVX4F1+cj1Mt V+YHFQHZnNUrgaFd8JW3HVzRqRXysLFWwPBzBYlGxYtCY1AsAQLs1XAvcCH5fGMS5JYn MdNK+o6ZrKMRBRIcgVmF22Q1gG9ePi7ytmOZe+Qxk9SkfWg2pVTmYwSZ+akLhb/Sr+n9 aLRQ== 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=7gPtqPQniOsGwrXCugBxq3xkPVakvDW9QDHa9u+N7t8=; b=BS4oOn4VJoVCpDE9tLGVoHfZosiHXyB20lvq+yLC6rYm22fpiBDZzGHwDRphId8qNu BALg0tdoYRoS0LWnqPcZ32F1MJyfymdbbTVs1ZgtYqp1dOBI13/Yupa2bjDR78sbwRYR wjiBXYDaKSDwJQ/x18b0c6aio8s4WxBjwS00DPMvL92UbK0bAmx8JFvYsoMoNzVCMpKJ 3pErLsnS59IxPOWIfOuxFC6fU14cHffNltlILkNlz+QouK9yHyfURGT1ENTUjcispOhU vevWo0+C1Hrgkn6DCJ/YBNskaOXn0Q/eF2Alxt7kM0zKJKvMP3LCv7CvBbhD18oR0gvU qP0A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533YIGaQW+1OaJ6DQ7TfzDU8TxPFKWIX2Jxh3uhWrDUsH8+9DWfQ y7u1DEVfa3SYLCqnc64PmJw= X-Google-Smtp-Source: ABdhPJwWVRXvZByMCW+sc0E8W47KuEhubApeZU3+mdoYtxEqt3pYznyyQIrU7xBPpP3d9e9CC4apQg== X-Received: by 2002:a25:80c4:: with SMTP id c4mr1677730ybm.283.1619723622102; Thu, 29 Apr 2021 12:13:42 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:660f:: with SMTP id a15ls2098743ybc.7.gmail; Thu, 29 Apr 2021 12:13:40 -0700 (PDT) X-Received: by 2002:a25:1689:: with SMTP id 131mr1522009ybw.375.1619723620435; Thu, 29 Apr 2021 12:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619723620; cv=none; d=google.com; s=arc-20160816; b=WzynDbXBGttZt3K5uN7QKTm+6nN5nZCGutl7AxBnJt3qk6THsstSp/uBTp40F9iQD8 D0qlnMfn3onjUPb1fkbgNIVgjSkO41tw8NJewkW6wSGwJ3ClL7Noe/gd4JvP9jqkJxLm j3T75aMIM3YnAbF988zmMeYWAo/HmBSfpoRwor3f77DwPb5sQk8K5VkLO8IHpS9rLy0r wbLo45HZiCKzRdVI4kqbdfcp8avfGNtHZwiDDeBdsdF6Xty8t0IdQDvA3vhnUUxrqVUT yaWe3mM3S+7QpnS9JTc5M1RVtdUyygZuiNw2skomx5VcxU47mZ/6HjXF8wPBlp1K3VJJ J+Fg== 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; bh=lAr40rXiNpiTHAjs1Qv+aIY1odHEI7TyXc2t5mtGOC8=; b=UYTGwKeXHrX055NXtxbPKd1niKHdQnvup6Z6AzZAobGNbU1zGu5XBWCupBGLYfo97h JBql9vqieJdnJyZ3ePikWaK4rt+l7EN1qr+bMdYCQVjss0FXnWZQm/zrzozaQxWUoNxW sGTlIWfV4bF1iMmdZOlKHB1eTpdJkt8Vouh5pBoSgEWyM3uVEx412e/vnZAWrpwuTwTu FfchXtBljPtHS4OoLUGcXRup56xDTgZOsaX3IPh5wfSY9SXiF5nlqkJLzoyUgy9yTxZ0 o5gD2n4Kz4BIh0IG6I/MyJGsKruFE6PMMAgT3GFl3fyX9azFczix3qCquE+IjqELwlH+ GRzQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=suWv95SP; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com. [2607:f8b0:4864:20::531]) by gmr-mx.google.com with ESMTPS id g4si64960ybo.3.2021.04.29.12.13.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Apr 2021 12:13:40 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) client-ip=2607:f8b0:4864:20::531; Original-Received: by mail-pg1-x531.google.com with SMTP id q10so47828734pgj.2 for ; Thu, 29 Apr 2021 12:13:40 -0700 (PDT) X-Received: by 2002:a05:6a00:16d0:b029:249:adf8:6fb8 with SMTP id l16-20020a056a0016d0b0290249adf86fb8mr1204924pfc.58.1619723619380; Thu, 29 Apr 2021 12:13:39 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id kc4sm2964822pjb.8.2021.04.29.12.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 12:13:38 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 61BFAA231; Thu, 29 Apr 2021 15:13:27 -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=suWv95SP; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::531 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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28250 Archived-At: When I first tried converting it, I saw what you reported. I then looked in the docx container. It seems that the figure numbers are automatically computed by Word. When I made an insignificant change in the file and resaved it, then converted it using pandoc, I got the figure numbers. So, I'm guessing that in its initial state, the numbers weren't "resolved." Try saving from Word and converting again. John MacFarlane writes: > Never mind, download had not completed; it works now. > > John MacFarlane writes: > >> Not sure what went wrong, but when I downloaded it I just >> got a blank document. >> >> Gary Friedman writes: >> >>> Thanks for your response. Below is a link to the actual file - it looks >>> like a mess because I modified it to aid the conversion (multiple pictures >>> were replaced with one image; emoticons were replaced, etc.) (The original >>> file was print-ready and looks beautiful.) >>> >>> http://friedmanarchives.com/~download/A1/A1_v1.0.docx >>> >>> I convert the file via: >>> >>> pandoc A1_v1.0.docx --output A1_v1.0.epub >>> >>> Many thanks for any insights! GF >>> >>> On Wednesday, April 28, 2021 at 5:04:29 PM UTC-4 Gary Friedman wrote: >>> >>>> Hi. I'm not a markdown guy. I'm just using pandoc to convert my large >>>> .docx file to an .epub. I've done it successfully with two other books in >>>> the past, but now all of a sudden about 90% of the figures are missing >>>> their numbers, showing "Figure - " instead. >>>> >>>> Is this a known issue with a known solution? :-) >>>> >>>> Thanks! GF >>>> >>> >>> -- >>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8e4692ef-6d27-4802-8c94-92a6c58423a3n%40googlegroups.com.