Hi John, well it is working today but I don't know why. thank you for your help. I have an another question: How do I keep the layout of the input file? I want to copy a file from md to a docx but when I do so, it doesnt keep the markdown layout; it just copy the raw text from the markdown file to the docx. Can you help me with that? Antoine Le jeudi 15 août 2019 00:27:21 UTC+2, John MacFarlane a écrit : > > > That means that pandoc has tried to unpack a malformed zip file. > It is more likely for the reference docx than for an output > file (try without specifying a reference.docx to see if it goes > away). > > Antoine vidal > writes: > > > It is working, thank uoy Dmmitriy > > > > But I am running into a new error message (I think it is for the output > > which is: -o /home/username/Bureau/input/arrivee.docx') > > > > pandoc: Data.Binary.Get.runGet at position 4: Did not find end of > central > > directory signature > > CallStack (from HasCallStack): > > error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in > > binary-0.8.5.1:Data.Binary.Get > > > > Do you know how to solve this problem? > > > > Antoine > > > > Le mercredi 14 août 2019 12:42:44 UTC+2, Dmitriy Krasilnikov a écrit : > >> > >> this should be --reference-doc=/file, at least. > >> > >> среда, 14 августа 2019 г., 10:57:49 UTC+3 пользователь Antoine vidal > >> написал: > >>> > >>> > >>> I made a screenshot of the error message > >>> Le mardi 13 août 2019 20:33:24 UTC+2, John MacFarlane a écrit : > >>>> > >>>> > >>>> What is the exact command line you're using, and the exact output > >>>> (error message)? > >>>> > >>>> Antoine vidal writes: > >>>> > >>>> > Hello > >>>> > > >>>> > I am using the latest version of pandoc (2.7.3) on Ubuntu. > >>>> > > >>>> > I am trying to merge a markdown file with a docx file. > >>>> > > >>>> > but I have this errror : The input must be a UTF-8 encoded text. > >>>> > I cheked the xml files of the docx, and they are in utf8. > >>>> > > >>>> > docx file are supported as input file. However docx file are binary > >>>> file > >>>> > but it said that they are supported as input file. > >>>> > > >>>> > Can you help me with this issue? > >>>> > > >>>> > Kind regards > >>>> > > >>>> > Antoine > >>>> > > >>>> > -- > >>>> > 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-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >>>> > To view this discussion on the web visit > >>>> > https://groups.google.com/d/msgid/pandoc-discuss/9c5b4ae3-6e1c-4bb3-a504-f472dec69bc2%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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/fddff39a-71c6-4f05-bcd8-c0a4553a3b23%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/42c13a39-67e3-47e1-be96-ebddfd3e3298%40googlegroups.com.