From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23267 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Antoine vidal Newsgroups: gmane.text.pandoc Subject: Re: Utf8 and docx Date: Mon, 19 Aug 2019 01:43:56 -0700 (PDT) Message-ID: <42c13a39-67e3-47e1-be96-ebddfd3e3298@googlegroups.com> References: <9c5b4ae3-6e1c-4bb3-a504-f472dec69bc2@googlegroups.com> <1bdfdfc0-e6bd-4530-866b-738d53ca3dfc@googlegroups.com> <6da54d4c-f86f-4fa8-9b32-2d6349184ade@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_49_1928833602.1566204236873" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="154301"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCC3HZHUW4HRBTWC5HVAKGQELZ3JVII-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 19 10:44:00 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hzdGh-000dzf-T7 for gtp-pandoc-discuss@m.gmane.org; Mon, 19 Aug 2019 10:44:00 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id 71sf1934637otl.5 for ; Mon, 19 Aug 2019 01:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=90Z3wwFZ6bDOO/w4HgKfWX62Z7T9T3Wk8nUcLwBgzDo=; b=NX5pPmgQMDDyt60dampNvlLDU7Duwk96tYbGOlOWDH2Rzp57pFZve37oSmEWIUif2g gSh6YrpXC17tScWLFVVIHQmV/ZN9kKJc33E4yaF+TB37LAinytxt6IyPrtxaRC/4guoS QrDprzqqh3kxAJJzQHUomz32EMfOsHeb/TBud2iUeHSr7QVxDpOB5ELZZN4toNkL9waF Dd5UZ1uauRCkpVDhaez9RwRs+0yaBXcOXZpaUoriM3R0KfKkSlf5MglinByKEwPGf9/T eIdcvbKEiDVf07KASljy3W8ETZNEw8MOJt4/b3Ha9roal5VAYeM8SpXtg+7MFFaJinDS m5IQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=90Z3wwFZ6bDOO/w4HgKfWX62Z7T9T3Wk8nUcLwBgzDo=; b=lUYpkRHB2eAcm7sngOVFab4ZuOstalYJGw3TmmJ7WPvyElWaJnBnUThhl5QbL5uJT6 OuwvWYWdEsuAWil2eOcUR//ANrqgGe0Zn+xvgLDQymICzojR/XUSg5dMFp0tITV0TkZ4 gvkdpfaLTC5ePWuu12fU0CpeXfbJLji7DlQoeQSmyB+CpmfRTLvB4z8hPBYYRw7cfKKh 4LLcxWAmsgV28H9xo4iMMNEQRK6qdxk5+LKKDAmTP5M6PYi1TaXt+U01Ut0Wze9zIgJt 5PYls+PN4tQpJkkgntm6XLVINFyhxGPezjO0EPtbUYBq+4niQ9j2xrVL9u7b1bzU9Cfp hxBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=90Z3wwFZ6bDOO/w4HgKfWX62Z7T9T3Wk8nUcLwBgzDo=; b=X7eafOQb4+Tn4arxFtoZACPqD2gnHyljGosvYiFYdYBjA7hCG91uD6FBAWbK3sRFx2 upjpOnoPEDJTtexEuBKFxzQoQXaBBNSlDJygNR+kNMKL58+A+6lAKc6oNWl1l24yY+RO GU2ypcWnjukLUyD41PctquZmUL0e69Zga2yMOUuCSraswPwWHJndPG87uFoCfow7d87L j3o/sPmt8gADtKP6ue6KPMoYHD7/GjBy1kmVXH6yyLGXUM+i+xwuyhdmDQfM8AUqJNk2 9jI3WaCwOoAo+IRJhlLSVzyByhLwfftWsQXii8Hg2qopB7hUYsUCrHo+adPRvCrNwtL7 Sllw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAW9Kskxr+mVMCmj03CY8/ypdqEgBdPecRmYdABWngXN+RDsN1FC vlK2xTSymLgqL33eUINzFJI= X-Google-Smtp-Source: APXvYqz272CP6mUF70SVRU5pabMvoP5fJzhcCZJvmqBWI6eD5Tawqx81YxJ1cFqvRJUOHYyHLPzNdw== X-Received: by 2002:a9d:5c0d:: with SMTP id o13mr18339917otk.310.1566204238537; Mon, 19 Aug 2019 01:43:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:f19:: with SMTP id 25ls1634827oip.12.gmail; Mon, 19 Aug 2019 01:43:57 -0700 (PDT) X-Received: by 2002:aca:d650:: with SMTP id n77mr13488171oig.129.1566204237499; Mon, 19 Aug 2019 01:43:57 -0700 (PDT) In-Reply-To: X-Original-Sender: antoinevidal98-Re5JQEeQqe8AvxtiuMwx3w@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:23267 Archived-At: ------=_Part_49_1928833602.1566204236873 Content-Type: multipart/alternative; boundary="----=_Part_50_1329913398.1566204236873" ------=_Part_50_1329913398.1566204236873 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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= =20 the markdown layout; it just copy the raw text from the markdown file to=20 the docx. Can you help me with that? Antoine Le jeudi 15 ao=C3=BBt 2019 00:27:21 UTC+2, John MacFarlane a =C3=A9crit : > > > That means that pandoc has tried to unpack a malformed zip file.=20 > It is more likely for the reference docx than for an output=20 > file (try without specifying a reference.docx to see if it goes=20 > away).=20 > > Antoine vidal > writes:=20 > > > It is working, thank uoy Dmmitriy=20 > >=20 > > But I am running into a new error message (I think it is for the output= =20 > > which is: -o /home/username/Bureau/input/arrivee.docx')=20 > >=20 > > pandoc: Data.Binary.Get.runGet at position 4: Did not find end of=20 > central=20 > > directory signature=20 > > CallStack (from HasCallStack):=20 > > error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in=20 > > binary-0.8.5.1:Data.Binary.Get=20 > >=20 > > Do you know how to solve this problem?=20 > >=20 > > Antoine=20 > >=20 > > Le mercredi 14 ao=C3=BBt 2019 12:42:44 UTC+2, Dmitriy Krasilnikov a =C3= =A9crit :=20 > >>=20 > >> this should be --reference-doc=3D/file, at least.=20 > >>=20 > >> =D1=81=D1=80=D0=B5=D0=B4=D0=B0, 14 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1= =82=D0=B0 2019 =D0=B3., 10:57:49 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE= =D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Antoine vidal=20 > >> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:=20 > >>>=20 > >>>=20 > >>> I made a screenshot of the error message=20 > >>> Le mardi 13 ao=C3=BBt 2019 20:33:24 UTC+2, John MacFarlane a =C3=A9cr= it :=20 > >>>>=20 > >>>>=20 > >>>> What is the exact command line you're using, and the exact output=20 > >>>> (error message)?=20 > >>>>=20 > >>>> Antoine vidal writes:=20 > >>>>=20 > >>>> > Hello=20 > >>>> >=20 > >>>> > I am using the latest version of pandoc (2.7.3) on Ubuntu.=20 > >>>> >=20 > >>>> > I am trying to merge a markdown file with a docx file.=20 > >>>> >=20 > >>>> > but I have this errror : The input must be a UTF-8 encoded text.= =20 > >>>> > I cheked the xml files of the docx, and they are in utf8.=20 > >>>> >=20 > >>>> > docx file are supported as input file. However docx file are binar= y=20 > >>>> file=20 > >>>> > but it said that they are supported as input file.=20 > >>>> >=20 > >>>> > Can you help me with this issue?=20 > >>>> >=20 > >>>> > Kind regards=20 > >>>> >=20 > >>>> > Antoine=20 > >>>> >=20 > >>>> > --=20 > >>>> > You received this message because you are subscribed to the Google= =20 > >>>> Groups "pandoc-discuss" group.=20 > >>>> > To unsubscribe from this group and stop receiving emails from it,= =20 > send=20 > >>>> an email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 > >>>> > To view this discussion on the web visit=20 > >>>>=20 > https://groups.google.com/d/msgid/pandoc-discuss/9c5b4ae3-6e1c-4bb3-a504-= f472dec69bc2%40googlegroups.com.=20 > > >>>>=20 > >>>>=20 > >>>=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/fddff39a-71c6-4f05-bcd8-= c0a4553a3b23%40googlegroups.com.=20 > > --=20 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 e= mail 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. ------=_Part_50_1329913398.1566204236873 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi John, well it is working today but I don't kno= w why.
thank you for your help.

I have a= n another question:
How do=C2=A0 I keep the layout of the input f= ile?
I want to copy a file from=C2=A0 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 th= at?
Antoine

Le jeudi 15 ao=C3=BBt 2019 00:27:21 UTC+= 2, John MacFarlane a =C3=A9crit=C2=A0:

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 <antoine...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> It is working, thank uoy Dmmitriy
>
> But I am running into a new error message (I think it is for the o= utput=20
> which is: -o /home/username/Bureau/input/arrivee.docx')
>
> pandoc: Data.Binary.Get.runGet at position 4: Did not find end of = central=20
> directory signature
> CallStack (from HasCallStack):
> =C2=A0 error, called at libraries/binary/src/Data/Binary/Get.= hs:351:5 in=20
> binary-0.8.5.1:Data.Binary.Get
>
> Do you know how to solve this problem?
>
> Antoine
>
> Le mercredi 14 ao=C3=BBt 2019 12:42:44 UTC+2, Dmitriy Krasilnikov = a =C3=A9crit :
>>
>> this should be --reference-doc=3D/file, at least.
>>
>> =D1=81=D1=80=D0=B5=D0=B4=D0=B0, 14 =D0=B0=D0=B2=D0=B3=D1=83=D1= =81=D1=82=D0=B0 2019 =D0=B3., 10:57:49 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7= =D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Antoine vidal=20
>> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>>>
>>>
>>> I made a screenshot of the error message
>>> Le mardi 13 ao=C3=BBt 2019 20:33:24 UTC+2, John MacFarlane= a =C3=A9crit :
>>>>
>>>>
>>>> What is the exact command line you're using, and t= he exact output=20
>>>> (error message)?=20
>>>>
>>>> Antoine vidal <antoine...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writ= es:=20
>>>>
>>>> > Hello=20
>>>> >=20
>>>> > I am using the latest version of pandoc (2.7.3) o= n Ubuntu.=20
>>>> >=20
>>>> > I am trying to merge a markdown file with a docx = file.=20
>>>> >=20
>>>> > but I have this errror : The input must be a UTF-= 8 encoded text.=20
>>>> > I cheked the xml files of the docx, and they are = in utf8.=20
>>>> >=20
>>>> > docx file are supported as input file. However do= cx file are binary=20
>>>> file=20
>>>> > but it said that they are supported as input file= .=20
>>>> >=20
>>>> > Can you help me with this issue?=20
>>>> >=20
>>>> > Kind regards=20
>>>> >=20
>>>> > Antoine=20
>>>> >=20
>>>> > --=20
>>>> > You received this message because you are subscri= bed to the Google=20
>>>> Groups "pandoc-discuss" group.=20
>>>> > To unsubscribe from this group and stop receiving= emails from it, send=20
>>>> an email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.=20
>>>> > To view this discussion on the web visit=20
>>>> https://groups.google.com/d/msgid/pando= c-discuss/9c5b4ae3-6e1c-4bb3-a504-f472dec69bc2%40googlegroups.com= .=20
>>>>
>>>>
>>>
>
> --=20
> 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-...@googlegroups.com.
> To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/fddff39a-71c6-4f05-bcd8-c0a4553= a3b23%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.co= m.
------=_Part_50_1329913398.1566204236873-- ------=_Part_49_1928833602.1566204236873--