From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17987 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Prelude.!!: negative index Date: Wed, 2 Aug 2017 06:55:19 -0700 Message-ID: <20170802135519.GC38349@Johns-MacBook-Pro.local> References: <4ed75c9b-5447-42e1-a69b-a79e5f0b2ac2@googlegroups.com> 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"; format=flowed X-Trace: blaine.gmane.org 1501682136 1668 195.159.176.226 (2 Aug 2017 13:55:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Aug 2017 13:55:36 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBVFTQ7GAKGQESK4LJSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 02 15:55:27 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg0-f64.google.com ([74.125.83.64]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcu7T-0008Pr-1N for gtp-pandoc-discuss@m.gmane.org; Wed, 02 Aug 2017 15:55:27 +0200 Original-Received: by mail-pg0-f64.google.com with SMTP id 63sf2762732pgc.0 for ; Wed, 02 Aug 2017 06:55:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1501682132; cv=pass; d=google.com; s=arc-20160816; b=tCNch9AaSvdA6rL9VaRGqY8QgOEUdk8wKOCOzEfsOLOcjG2eurhumTFIgoicDTH80t byJvYtOph+jkLYgL7CzgmCNnB1gfBrxw/PJjVJD7H1uQJIDUK3Q3kI5JOmlkIdNvEdg5 ZnYuGyJoQMLII+r2OgkGiSK89RL8YHE0TH1a2No4QxUcA3irb/SQJPRQ+6MUjhs1HAqe auwIgIaeruH3bW1/6kCBqSEHqfIOZ8jU+JmXf+mO1DspYcu2SEX/8xPCsYJcRg7E2M3r Qu6a7JNckCRyrpOttmubmLfdzi6MVxSmamk5V7iT7Fl2xwnkqIq0u3x2AAnuG2hHD8OF 3VwA== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=hMVX53cD+7UBhIjl6/sqovAZpvE+LGRumMErw9WnnXA=; b=B/YFEgBaiQ09aJWDcDp1O5ibefk73XSCRAbJ1w6VHy7tlXANj7kTuRy6WFPQ1s5IRN voWb3LdPeTr0D9lpQ3XpG+AJvFgnymkolkeAPqlKrNYn70JlepTsVAmIxIl035YBF79z xIwmYs0MsSV9PuMt07OEa/NO4GF38QswdR8lFFHcxOVht0bq1AfEfxsZhzyQBPBxtPQT wmSUOPIi2bf7/UwwJ2DdNt1uG2SCxErJJOLdmYx3FOPqh32sLVhz4M6SYivefu5GaRid Clz/WGR8U8ImfFX/2XGxbGShCPpY+qqVmY0XCao7P2o9Clrsq0H/A4tqsDmdxhXJI6nS ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=Ti1evEv3; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22b 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:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=hMVX53cD+7UBhIjl6/sqovAZpvE+LGRumMErw9WnnXA=; b=dS9RMVBuJPPghYH4Kp4m/8ySdI5ovYpjVL8CX4/CrbTWmG9RSkewLVPpBET0g6OAGB uFJY8qaqd+pZrUL34JF0l+TG5TIPCUhDAEprIyyaKhRvu7EyS9TwREF6RdsvzpMGGumR q/vTxpVgkBq+82VJQ5IBRy6nNXvvp7wXUR5VVAdpYX/XS4rMxjFxZd/OUrb3TixTJi/K 99SyvzT7jPL0wL3RK7kcZpSJvqt0UUswPxyGe+GwIK8dtCyGuqlWWw4ulJPKxFFQQ/Nl vX1x20YSmCu4s2gJnzzeEFWH66My/MWx8RYApL9pNrNiX6ev3e1CVMa0USzjxcY7vSYV 6bhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=hMVX53cD+7UBhIjl6/sqovAZpvE+LGRumMErw9WnnXA=; b=ivqbqILw6GWwpiT64OuXYyVyISsqPg4cNljBwQ7NYkdWC7X9pFZbyiJcrd9ymZ4r6W XdlGr9n3/HNiPENRb5c9C74zcX3cNuFbCxH9S5qJFboMd4I8glpjmkpSj8Zbb2kN2ZZ5 o0syIPoj1Cc91gstKzxdxR5Wq+/QGhv/rTXAip1oFAcq5UEvUFvIcIy+FdKlrem2TVP7 kLDO0O/g6uFQYtcNrYT9snIPRIiK5b/GRoC6Q4imd5NdUSDPIi5z7K9GJgXN82OwCuW4 5OeGtcm1reh0eidyU62rVfzRwj8BbF3r130kVqVlkAdgbREUzXnC8vGbgd97PhDug3eC Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw110AeU6IEe2Y/9Edk0RJk73DCvK/q3QTVzcjlRpjq1LFSXeWZz+g ny3pU93h9+/UDw== X-Received: by 10.36.88.4 with SMTP id f4mr233847itb.11.1501682132849; Wed, 02 Aug 2017 06:55:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.94.207 with SMTP id h198ls3316516itb.5.canary-gmail; Wed, 02 Aug 2017 06:55:32 -0700 (PDT) X-Received: by 10.129.165.80 with SMTP id c77mr16444980ywh.81.1501682132100; Wed, 02 Aug 2017 06:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501682132; cv=none; d=google.com; s=arc-20160816; b=XHoMklZ8GDV/1VLFpqvEPRY4s/blYX0yt0yypOLXtURC4pqnY9dYhH/PMDg0IWZ9aD PrjVYHoucdbTiHHaaGgvp3iELc6aw6KiBgSOTI6PnAiEjgHzCqPbCXWmrIKbobAIvlgs EMK9JVitsnhcPd+kmsQdZBfpwS/A+6Rvc/O6D+175/dUXdUoewNK4e0HYuR1aPPoEbvA m3cdRR+g2xmIsQk3VUFTyP9mMiLOBiEVdIkYZKicmr3+x5nx/fpGsSmHH16dLYzts9n6 2Jai8QHqR57ckHNmMq/Hseq+TGYcusw/Pp2AJFBzAGjwRDsMgvqn3Kq+2KP8UvEx1dk1 9seg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=Em9usDwDhc4PqYoEbptMwuJkr2Hifga05cnX33oW3KU=; b=g0cENeXyN8ngeei2VrYY6VmpoH9Ew0fGpXdoWtIzpL3EfgVB9Dnv7y33VksnwmF+ow r+JiykkUYGA5nyM8gS8vb8rurKRNEhBqAXVAdLeWhADO0RjubsVVFmZXF81vTKxWld7F Eri+B5BuM6G1ZLGLqmuSZHWQ0HKOSlCYp+zPlPf7HJgq50akr/6HG4v/uNcyw9FejHqq ixwOxmNfnspR1WVZbvxmYbgMAYqaaBG3ybLNoHc8OsYfoNuN0d0Mg6Jv0dIMnFK8mUit 2O/wG3hGDbShsqihgEOBzPTLqM+RLEXqZV2bzVKUI+xo0IFn8CvD/L6huiwEl4OZEjzR JbOg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.b=Ti1evEv3; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com. [2607:f8b0:400e:c00::22b]) by gmr-mx.google.com with ESMTPS id f66si1710558pfh.10.2017.08.02.06.55.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 06:55:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22b as permitted sender) client-ip=2607:f8b0:400e:c00::22b; Original-Received: by mail-pf0-x22b.google.com with SMTP id d67so21459385pfc.0 for ; Wed, 02 Aug 2017 06:55:32 -0700 (PDT) X-Received: by 10.84.195.131 with SMTP id j3mr24652125pld.147.1501682131518; Wed, 02 Aug 2017 06:55:31 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id e184sm57282157pfe.172.2017.08.02.06.55.30 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Aug 2017 06:55:30 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 4D7C6A1C5; Wed, 2 Aug 2017 09:55:20 -0400 (EDT) Content-Disposition: inline In-Reply-To: <4ed75c9b-5447-42e1-a69b-a79e5f0b2ac2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc 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.b=Ti1evEv3; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22b 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.org gmane.text.pandoc:17987 Archived-At: 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