public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Corrupted .docx from Markdown with footnotes
@ 2015-02-28 23:26 bdh
       [not found] ` <77836193-8f1b-4920-a0cc-9e26f5ecef6f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: bdh @ 2015-02-28 23:26 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 1664 bytes --]

Hello,

This is an issue with a lot of history, I'm seeing, but since everything I 
can pull up seems to have been resolved some time ago, I'm posting it 
again. Apologies if I'm beating a dead horse.

Whenever I produce a docx file with footnotes using a custom reference.docx 
file, the resulting document announces it's corrupted when I open it. Word 
is able to correct and open the file anyway, but only after giving me a 
warning that says: "One or more footnotes references in the document are 
missing or corrupt."

This occurs even simplifying things as far as I'm able:

* Create a file `test.txt` with the content: `Test.^[Test.]`
* Convert to docx *without *custom reference.docx in place. Resulting file 
opens fine.
* Copy the resulting file into my pandoc directory with no changes, and 
rename it as `reference.docx`
* Convert the same `test.txt` to docx, and the resulting file appears as 
corrupted.

I'm using pandoc 1.13.2 on Mac OS 10.10.2, and Word for Mac 2011.

This obviously isn't urgent, since Word corrects the error anyway, but I 
wanted to mention it.

-- Brian

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/77836193-8f1b-4920-a0cc-9e26f5ecef6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2269 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Corrupted .docx from Markdown with footnotes
       [not found] ` <77836193-8f1b-4920-a0cc-9e26f5ecef6f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-02-28 23:51   ` John MacFarlane
  2015-03-01  3:13   ` Jesse Rosenthal
  1 sibling, 0 replies; 5+ messages in thread
From: John MacFarlane @ 2015-02-28 23:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I cannot reproduce this (pandoc 1.13.2, Mac OS 10.9.5, Word
for Mac 2011).  I used exactly the steps you outlined.

+++ bdh [Feb 28 15 15:26 ]:
>   Hello,
>   This is an issue with a lot of history, I'm seeing, but since
>   everything I can pull up seems to have been resolved some time ago, I'm
>   posting it again. Apologies if I'm beating a dead horse.
>   Whenever I produce a docx file with footnotes using a custom
>   reference.docx file, the resulting document announces it's corrupted
>   when I open it. Word is able to correct and open the file anyway, but
>   only after giving me a warning that says: "One or more footnotes
>   references in the document are missing or corrupt."
>   This occurs even simplifying things as far as I'm able:
>   * Create a file `test.txt` with the content: `Test.^[Test.]`
>   * Convert to docx without custom reference.docx in place. Resulting
>   file opens fine.
>   * Copy the resulting file into my pandoc directory with no changes, and
>   rename it as `reference.docx`
>   * Convert the same `test.txt` to docx, and the resulting file appears
>   as corrupted.
>   I'm using pandoc 1.13.2 on Mac OS 10.10.2, and Word for Mac 2011.
>   This obviously isn't urgent, since Word corrects the error anyway, but
>   I wanted to mention it.
>   -- Brian
>
>   --
>   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/77836193-8f1b-4920-
>   a0cc-9e26f5ecef6f%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/77836193-8f1b-4920-a0cc-9e26f5ecef6f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Corrupted .docx from Markdown with footnotes
       [not found] ` <77836193-8f1b-4920-a0cc-9e26f5ecef6f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2015-02-28 23:51   ` John MacFarlane
@ 2015-03-01  3:13   ` Jesse Rosenthal
       [not found]     ` <m1pp8txvdl.fsf-4GNroTWusrE@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Jesse Rosenthal @ 2015-03-01  3:13 UTC (permalink / raw)
  To: bdh, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I encountered this problem, and I believe I fixed it last week with
commit ba59e544. If you are able to build from source, can you check to
see if that fixes the problem for you?

bdh <bdhamilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello,
>
> This is an issue with a lot of history, I'm seeing, but since everything I 
> can pull up seems to have been resolved some time ago, I'm posting it 
> again. Apologies if I'm beating a dead horse.
>
> Whenever I produce a docx file with footnotes using a custom reference.docx 
> file, the resulting document announces it's corrupted when I open it. Word 
> is able to correct and open the file anyway, but only after giving me a 
> warning that says: "One or more footnotes references in the document are 
> missing or corrupt."
>
> This occurs even simplifying things as far as I'm able:
>
> * Create a file `test.txt` with the content: `Test.^[Test.]`
> * Convert to docx *without *custom reference.docx in place. Resulting file 
> opens fine.
> * Copy the resulting file into my pandoc directory with no changes, and 
> rename it as `reference.docx`
> * Convert the same `test.txt` to docx, and the resulting file appears as 
> corrupted.
>
> I'm using pandoc 1.13.2 on Mac OS 10.10.2, and Word for Mac 2011.
>
> This obviously isn't urgent, since Word corrects the error anyway, but I 
> wanted to mention it.
>
> -- Brian
>
> -- 
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/77836193-8f1b-4920-a0cc-9e26f5ecef6f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Corrupted .docx from Markdown with footnotes
       [not found]     ` <m1pp8txvdl.fsf-4GNroTWusrE@public.gmane.org>
@ 2015-03-07 17:08       ` Brian Hamilton
       [not found]         ` <etPan.54fb3098.12200854.2dc-/PtJbC4szPtFcdvJaOSV8W90lxrwvxZ8@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Hamilton @ 2015-03-07 17:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3902 bytes --]

Sorry to be so long in getting back to this. If you’re unable to reproduce it, John, does that mean it’s something in my own setup? I’ve gone back and done the same experiment again, and confirmed.

I’d be happy to try the newer build, but I want to make sure I know what you mean. Will I get the version that includes your newer commit if I install through Haskell? If I do that, will I just end up with two parallel installations of pandoc on my system?


On February 28, 2015 at 10:13:45 PM, Jesse Rosenthal (jrosenthal-4GNroTWusrE@public.gmane.org) wrote:

I encountered this problem, and I believe I fixed it last week with  
commit ba59e544. If you are able to build from source, can you check to  
see if that fixes the problem for you?  

bdh <bdhamilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:  

> Hello,  
>  
> This is an issue with a lot of history, I'm seeing, but since everything I  
> can pull up seems to have been resolved some time ago, I'm posting it  
> again. Apologies if I'm beating a dead horse.  
>  
> Whenever I produce a docx file with footnotes using a custom reference.docx  
> file, the resulting document announces it's corrupted when I open it. Word  
> is able to correct and open the file anyway, but only after giving me a  
> warning that says: "One or more footnotes references in the document are  
> missing or corrupt."  
>  
> This occurs even simplifying things as far as I'm able:  
>  
> * Create a file `test.txt` with the content: `Test.^[Test.]`  
> * Convert to docx *without *custom reference.docx in place. Resulting file  
> opens fine.  
> * Copy the resulting file into my pandoc directory with no changes, and  
> rename it as `reference.docx`  
> * Convert the same `test.txt` to docx, and the resulting file appears as  
> corrupted.  
>  
> I'm using pandoc 1.13.2 on Mac OS 10.10.2, and Word for Mac 2011.  
>  
> This obviously isn't urgent, since Word corrects the error anyway, but I  
> wanted to mention it.  
>  
> -- Brian  
>  
> --  
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org  
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/77836193-8f1b-4920-a0cc-9e26f5ecef6f%40googlegroups.com.  
> For more options, visit https://groups.google.com/d/optout.  

--  
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.  
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/xuL-JK4cUDY/unsubscribe.  
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org  
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org  
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m1pp8txvdl.fsf%40jhu.edu.  
For more options, visit https://groups.google.com/d/optout.  

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/etPan.54fb3098.12200854.2dc%40brians-mbp.dhcp.nd.edu.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 5368 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Corrupted .docx from Markdown with footnotes
       [not found]         ` <etPan.54fb3098.12200854.2dc-/PtJbC4szPtFcdvJaOSV8W90lxrwvxZ8@public.gmane.org>
@ 2015-03-09 16:10           ` John MacFarlane
  0 siblings, 0 replies; 5+ messages in thread
From: John MacFarlane @ 2015-03-09 16:10 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ Brian Hamilton [Mar 07 15 12:08 ]:
>Sorry to be so long in getting back to this. If you’re unable to reproduce it, John, does that mean it’s something in my own setup? I’ve gone back and done the same experiment again, and confirmed.
>
>I’d be happy to try the newer build, but I want to make sure I know what you mean. Will I get the version that includes your newer commit if I install through Haskell? If I do that, will I just end up with two parallel installations of pandoc on my system?

You'll need to install from the github source.
First, get and install the Haskell Platform:
http://www.haskell.org/platform/

Then

    git clone git://github.com/jgm/pandoc
    cd pandoc
    git submodule update --init
    cabal configure -fembed_data_files --enable-tests
    cabal build
    cabal test

The executable will be `dist/build/pandoc/pandoc`; it should be portable,
so you can move it wherever you like.  This method of installation won't
mess with your existing pandoc install.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20150309161031.GE88189%40localhost.hsd1.ca.comcast.net.
For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-09 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-28 23:26 Corrupted .docx from Markdown with footnotes bdh
     [not found] ` <77836193-8f1b-4920-a0cc-9e26f5ecef6f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-02-28 23:51   ` John MacFarlane
2015-03-01  3:13   ` Jesse Rosenthal
     [not found]     ` <m1pp8txvdl.fsf-4GNroTWusrE@public.gmane.org>
2015-03-07 17:08       ` Brian Hamilton
     [not found]         ` <etPan.54fb3098.12200854.2dc-/PtJbC4szPtFcdvJaOSV8W90lxrwvxZ8@public.gmane.org>
2015-03-09 16:10           ` John MacFarlane

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).