From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28253 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gary Friedman Newsgroups: gmane.text.pandoc Subject: Re: Figure numbers go missing when converting from .docx... Date: Thu, 29 Apr 2021 18:57:52 -0700 (PDT) Message-ID: <8b874469-0f13-4458-8b27-ca842dffe0bdn@googlegroups.com> 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: multipart/mixed; boundary="----=_Part_270_1000038973.1619747872087" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21534"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD76PMH5ZMDRBIOIVWCAMGQE2A6UKFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 30 03:57:57 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lcIPk-0005TI-Es for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 30 Apr 2021 03:57:56 +0200 Original-Received: by mail-oi1-f187.google.com with SMTP id n8-20020acad6080000b029018733b9e4b1sf16956305oig.5 for ; Thu, 29 Apr 2021 18:57:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=4vqIK3a12jVMWsWRCofb7Tx7kYAldWH/hMw+VRv3w7I=; b=KZ1/EPrXDeZnNWXlZ+zCMo9hxr6Op9cIdcQ58s4GJN0l16G1QKKQUT1rI5/bK1PpwM ex95X1MmeWdZz68JTwxoKoMe25EHqXR1Yvug1OMSuVZCMullUMeVFezrRkU3rObPCces UtIHtiwBMnb25M55r8gRExpxGdSkvSApHSni5pqfypLeksE+c1QSQRdKTe9rXlbI7iZk Gb19TPfjCEwOAOXmy786c08c6CW5XCoSRBW5j3hjFTxsKO2XnBSSUA6gpFFziuyPJ1Yp VHB/kD/ufdWhGzYDl8Kxajgs8kcbKcKLP5SbduI3UvjvmhV0IC0LvgpDap8fR3g4aX47 RfQg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=4vqIK3a12jVMWsWRCofb7Tx7kYAldWH/hMw+VRv3w7I=; b=cmhFAuQIob0jaOKr66OPaQR7V6beGnsZ7UDOBOk0UblZtWW4/6aQ2P+y4nu3fTK9Dt 9KnPMP50G/t1vbQqiQxrBv46gC5rA7BH1tQQ2cW1ZSdM4yiu02td5Yg8CXEHnvoW+WM/ Iv6hhcfc7JtJSzFer8Lmi/SU+/+vRuyq3yy3GTzG5i52bvrPx60ogU5zybt96bPGWc3c uHoDaftVqBtUv2Fwxmzxrbj40yQIEh9jAJMLtvbZMX9NGQaaFugJwWq9PUH7oBQPOIRl AG5r4ABJ/VLOxw4U0NJqBUiI8bAaDfp+hitbVVHvED/uZlqDsUbV2nSGFzq3NZqZzV6q 9IjA== 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:in-reply-to :references: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=4vqIK3a12jVMWsWRCofb7Tx7kYAldWH/hMw+VRv3w7I=; b=ZImDkIQXXiw9KGO/l3MGX0+5LFgkaPl/luZqK3/FHLDuVhJ/uw2y8FFxuZdsXDzLKm bxAgmBBdEby80MFYOMUojTG9TS9ennWViOwfGz5RYWN6oU14cvU0bNm/LeSHB7mifAMT F5Ac7vE/p2Ff7USioV3nHz+SdvYYttgFO4zI7/uJLiB0MrJC1h2IgFkJ8aCnmD3TOBIE S/WQe95Zvtip4e9Zzve33nhAE8vDCasKEyE4ADSYfleuCG5dNF4aSMBB292CDYMwaSbv s0XFY2HuK9FtNZDel1hVAOiFSNgKXqGv2+QWuTkzjKIxUWyuQDRoGJc9gnHCIjN9FFSn HdNA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533wK7hCZADa1r2lMOPEsRhJkkXhJdbpzgb9gVRFSYi6LNDDD3VQ copbs7trn2WCqA7/d6pbTnE= X-Google-Smtp-Source: ABdhPJxz2oHhGQm/stcUH1PnwGGB6Wo7My5JCbFtPaw1hqC5klzcb2hoYG7+SXLJh//HU8+qQEMigA== X-Received: by 2002:a9d:6f8c:: with SMTP id h12mr1929820otq.30.1619747875479; Thu, 29 Apr 2021 18:57:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:61d9:: with SMTP id h25ls1333321otk.6.gmail; Thu, 29 Apr 2021 18:57:53 -0700 (PDT) X-Received: by 2002:a9d:7848:: with SMTP id c8mr1727587otm.117.1619747872820; Thu, 29 Apr 2021 18:57:52 -0700 (PDT) In-Reply-To: X-Original-Sender: FriedmanArchives-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28253 Archived-At: ------=_Part_270_1000038973.1619747872087 Content-Type: multipart/alternative; boundary="----=_Part_271_1555646070.1619747872087" ------=_Part_271_1555646070.1619747872087 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Making a small change, saving, and re-converting fixed the problem!! Word can be so annoying sometimes. =20 Thank you all for your help! GF On Thursday, April 29, 2021 at 3:51:13 PM UTC-4 Bastien Dumont wrote: > Refreshing the document / all fields (I don't know exactly > how it is worded) may work. F9 or Maj+F9, if I remember well. > > Le Thursday 29 April 2021 =C3=A0 12:13:27PM, John MacFarlane a =C3=A9crit= : > >=20 > > 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. > >=20 > > When I made an insignificant change in the file and > > resaved it, then converted it using pandoc, I got the > > figure numbers. > >=20 > > So, I'm guessing that in its initial state, the numbers > > weren't "resolved." Try saving from Word and converting again. > >=20 > > John MacFarlane writes: > >=20 > > > 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= =20 > looks=20 > > >>> like a mess because I modified it to aid the conversion (multiple= =20 > pictures=20 > > >>> were replaced with one image; emoticons were replaced, etc.) (The= =20 > original=20 > > >>> 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 wrot= e: > > >>> > > >>>> Hi. I'm not a markdown guy. I'm just using pandoc to convert my=20 > large=20 > > >>>> .docx file to an .epub. I've done it successfully with two other= =20 > books in=20 > > >>>> the past, but now all of a sudden about 90% of the figures are=20 > missing=20 > > >>>> their numbers, showing "Figure - " instead. > > >>>> > > >>>> Is this a known issue with a known solution? :-)=20 > > >>>> > > >>>> Thanks! GF > > >>>> > > >>> > > >>> --=20 > > >>> You received this message because you are subscribed to the Google= =20 > Groups "pandoc-discuss" group. > > >>> To unsubscribe from this group and stop receiving emails from it,= =20 > send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > >>> To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/8e4692ef-6d27-4802-8c94-= 92a6c58423a3n%40googlegroups.com > . > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/m2im44dhuw.fsf%40MacBook= -Pro.hsd1.ca.comcast.net > . > --=20 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 e= mail 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/8b874469-0f13-4458-8b27-ca842dffe0bdn%40googlegroups.com. ------=_Part_271_1555646070.1619747872087 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Making a small change, saving, and re-converting fixed the problem!!
Word can be so annoying sometimes.  

<= /div>
Thank you all for your help!  GF

On Thursday, April 29, = 2021 at 3:51:13 PM UTC-4 Bastien Dumont wrote:
Refreshing the document / all fields (I = don't know exactly
how it is worded) may work. F9 or Maj+F9, if I remember well.

Le Thursday 29 April 2021 =C3=A0 12:13:27PM, John MacFarlane a =C3=A9cr= it :
>=20
> 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.
>=20
> When I made an insignificant change in the file and
> resaved it, then converted it using pandoc, I got the
> figure numbers.
>=20
> So, I'm guessing that in its initial state, the numbers
> weren't "resolved." Try saving from Word and conver= ting again.
>=20
> John MacFarlane <j..= .@berkeley.edu> writes:
>=20
> > Never mind, download had not completed; it works now.
> >
> > John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
> >
> >> Not sure what went wrong, but when I downloaded it I just
> >> got a blank document.
> >>
> >> Gary Friedman <friedman...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> >>
> >>> Thanks for your response. Below is a link to the act= ual file - it looks=20
> >>> like a mess because I modified it to aid the conversi= on (multiple pictures=20
> >>> were replaced with one image; emoticons were replaced= , etc.) (The original=20
> >>> file was print-ready and looks beautiful.)
> >>>
> >>> http://friedmanarchives.com/~download/A= 1/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 us= ing pandoc to convert my large=20
> >>>> .docx file to an .epub. I've done it success= fully with two other books in=20
> >>>> the past, but now all of a sudden about 90% of th= e figures are missing=20
> >>>> their numbers, showing "Figure - " inst= ead.
> >>>>
> >>>> Is this a known issue with a known solution? :-)= =20
> >>>>
> >>>> Thanks! GF
> >>>>
> >>>
> >>> --=20
> >>> You received this message because you are subscribed = to the Google Groups "pandoc-discuss" group.
> >>> To unsubscribe from this group and stop receiving ema= ils from it, send an email to pa= ndoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> >>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/8e4692ef-6d27-4802-8c94-92a6c58423a3n%40googlegroups.com.
>=20
> --=20
> 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..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2im44dhuw.fsf%40MacBo= ok-Pro.hsd1.ca.comcast.net.

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/8b874469-0f13-4458-8b27-ca842dffe0bdn%40googlegroups.= com.
------=_Part_271_1555646070.1619747872087-- ------=_Part_270_1000038973.1619747872087--