public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Prelude.!!: negative index
Date: Wed, 2 Aug 2017 06:55:19 -0700	[thread overview]
Message-ID: <20170802135519.GC38349@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <4ed75c9b-5447-42e1-a69b-a79e5f0b2ac2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

That's certainly a bug in pandoc, not a mistake on your part!

I have a guess about what's going on.  It would be easiest
to test if you could send or link to an input docx file
sufficient to reproduce the problem.  If you can't do that,
could you try the following experiment?

    pandoc -f docx -t native -o gug.native gug.docx

Then search gug.native to see if it contains

    Header 0

at any point...


+++ Greg Bullock [Aug 01 17 18:56 ]:
>   I'm just trying out pandoc for the first time.  The idea really
>   appeals.
>   Using
>   pandoc 1.19.2.1
>   Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4
>   to convert my docx file to rst gives the subject error message:
>   C:\Users\Greg\Documents\Codes>pandoc --from=docx --to=rst
>   --output=gug.rst gug.docx
>   pandoc: Prelude.!!: negative index
>   What might be happening?  How can I work around this?
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/4ed75c9b-5447-42e1-
>   a69b-a79e5f0b2ac2%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/4ed75c9b-5447-42e1-a69b-a79e5f0b2ac2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


  parent reply	other threads:[~2017-08-02 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02  1:56 Greg Bullock
     [not found] ` <4ed75c9b-5447-42e1-a69b-a79e5f0b2ac2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-02 13:55   ` John MacFarlane [this message]
     [not found]     ` <20170802135519.GC38349-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-08-03  1:56       ` Greg Bullock
     [not found]         ` <e2a60168-8d99-43f4-854e-b4bd25524edb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-03 16:10           ` John MacFarlane
     [not found]             ` <20170803161019.GA56119-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-08-03 17:46               ` Greg Bullock

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=20170802135519.GC38349@Johns-MacBook-Pro.local \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@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).