public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Figure numbers go missing when converting from .docx...
Date: Thu, 29 Apr 2021 19:50:50 +0000	[thread overview]
Message-ID: <YIsOGutM4s3/Bp9b@localhost> (raw)
In-Reply-To: <m2im44dhuw.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>

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 à 12:13:27PM, John MacFarlane a écrit :
> 
> 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 <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
> 
> > Never mind, download had not completed; it works now.
> >
> > John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
> >
> >> Not sure what went wrong, but when I downloaded it I just
> >> got a blank document.
> >>
> >> Gary Friedman <friedmanarchives-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.
> 
> -- 
> 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/m2im44dhuw.fsf%40MacBook-Pro.hsd1.ca.comcast.net.

-- 
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/YIsOGutM4s3/Bp9b%40localhost.


  parent reply	other threads:[~2021-04-29 19:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 21:04 Gary Friedman
     [not found] ` <0d6a6135-dd7e-482b-b2f2-72f58ec982e5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-29  2:26   ` John MacFarlane
2021-04-29  3:05   ` Gary Friedman
     [not found]     ` <8e4692ef-6d27-4802-8c94-92a6c58423a3n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-29 18:01       ` John MacFarlane
     [not found]         ` <m2o8dxc6m3.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-04-29 18:02           ` John MacFarlane
     [not found]             ` <m2lf91c6kn.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-04-29 19:13               ` John MacFarlane
     [not found]                 ` <m2im44dhuw.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-04-29 19:50                   ` Bastien DUMONT [this message]
2021-04-30  1:57                     ` Gary Friedman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YIsOGutM4s3/Bp9b@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).