From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23243 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Utf8 and docx Date: Wed, 14 Aug 2019 15:27:06 -0700 Message-ID: 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: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="238431"; mail-complaints-to="usenet@blaine.gmane.org" To: Antoine vidal , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBR4V2LVAKGQEBI7OQAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 15 00:27:22 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk1-f185.google.com ([209.85.221.185]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hy1jl-000zvg-Qt for gtp-pandoc-discuss@m.gmane.org; Thu, 15 Aug 2019 00:27:22 +0200 Original-Received: by mail-vk1-f185.google.com with SMTP id r17sf260770vkd.23 for ; Wed, 14 Aug 2019 15:27:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565821640; cv=pass; d=google.com; s=arc-20160816; b=ekCUxE7UK+R/qss6zMbdqbpZsaEIu34RvOAOjLW2uQkbUkm9lZR8FbxSogUzY/p08Y /EB7zrf0tNRcaXP9AMAZIlj5WPiGuZkK7hJ8BXsA8k7NNMFT8mwaRA/lrTUk8EuOpEjh 3PYj9bLakX/fDJMSGXq0jB8ZbvLwtr1ptl/k3y9piRwU/OAyJOtBWbYrB2qCKAiJvSjE SmXs90IJN7SseBXiSIyZaHhpoIrqK17TYsRKZB6hpmLAMt7V/+UglLSF4JA3wpjWQBxr yZt794B6Lk6TaKV5WoPBpbBvE/d/Q4A5xVvB0NPdSlZ1rehrGnWVaZYFfi4mQSclpo62 iYCw== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=eCLLWLXzoTZShCyZYKI0Hk58hyN6B4hT7WeeKNiZ/Uk=; b=l3zVv3X+MyppqEJTzVRK/XoFMxA8b5/1L+vhJQVQOP+dhsboUslHOeaJfVELlDnCKo PtgAjUURtFjs0SpnaraTcU260HSrwv3iMG2FKeOwCRykQNK1dJSMvNZ/h9JKFmZipjY+ 1fVjG5WcqKnL5JuSu7jwVv+mFuuAoOi0OJyREmlCq0S1R2+802ENwoVRHWRfl2xXA+dO cXcM7jNVSrLb/8BoYy946p/H66vvPxHm0JF3zUWuOgkRhTEDi4S2jUQKoS6L+0gX6Hls 6F9U5Px33qdk2gEWCOKMEEERc14qgE5cOGSBbR5sR9qfjr1rm5YEUD557aD0y/doKEjq tY0w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Q1PsMCTv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 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:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=eCLLWLXzoTZShCyZYKI0Hk58hyN6B4hT7WeeKNiZ/Uk=; b=WmKHzh4AuNx8/gRmjJKUr1P2w+laRyphknyIdwLYtqRDgL0BeQTo0MtbeYUFg0uIA7 MuArcUIuylF64UQjqmLTDd/QMCzZA+uO9gKkLdu9mCtkq3lVhJoyYEBhp5L5HaQihnnm mLATeNwPI7N0mv4zI/c/mQeyIj9tYLH9+bUkXxnyP1epjgI4qOtH9sY54cOytA8W+hU3 Q9fwt+yygg3Tr1SA+7YrvmS68QVDkTp+mG7osDEhIjHb72PZu4gIc5tlxpZFwGq7zX0Q MouSQb1+8U/eV6tZ56511IaukP4P1ca5Wwljn8yrb+k6vOgKAvqb2DVV0ekT1hxEFoXb YsQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=eCLLWLXzoTZShCyZYKI0Hk58hyN6B4hT7WeeKNiZ/Uk=; b=s+eIQ69lrRJrsVZTvCvtYG+PFMBbNPQ0kfUqN+ajdIitk6fYIAKshVVeXmqSvfEaQ6 trI/EBWPsyTjG9BtNWXJ9NhsAE1zyb6GojWft+7Vo5EuS6OizqeYQuRFBoR7QJE87okY sS5NXAtAKDdWlIBKTMaCTEVqR0/oGVqZ2kHQItdpbwgzcQysWVNUFje+Os9zv6LAOF/a w2lM7dSmCDsUM3frAwfSjd1Ai6pnKSEFmCBVk1oDBfSC3qGgcgoZm9H7Q5S5a5rNV06B nie/8ZyEGW1I2kICTNQZRY4RDmtK0cEbNfYK8zD8QxNOQvAgpJCQtZyZgUznfxqFNZg1 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAU7699vahL2QRa0z98dosn0Q5eCMhrlO0koBOXDFT4OvWjvxZgD 0KtwFb5KDegOPxvz/phPj8U= X-Google-Smtp-Source: APXvYqzzEtxwR5GHEZkSCPZH1J7eb7z34JFml/olkN22cfPybRcRWTN292ItzgDcJW6P3frTHtd6QQ== X-Received: by 2002:a67:f9d9:: with SMTP id c25mr1539249vsq.76.1565821640386; Wed, 14 Aug 2019 15:27:20 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a67:6913:: with SMTP id e19ls486848vsc.16.gmail; Wed, 14 Aug 2019 15:27:19 -0700 (PDT) X-Received: by 2002:a67:8bc3:: with SMTP id n186mr1545087vsd.22.1565821639679; Wed, 14 Aug 2019 15:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565821639; cv=none; d=google.com; s=arc-20160816; b=dJ9A+KLXrlQeaca0ZcMEqKwu+wXvc+xAtVaeXp6ywmVLPdUW0/mIisCKrnhHwF89C7 jncdYD8JneFxlvzaoj26DVueasDPO4WQ93/X1v6ncQGPxt15EGuDJ0CpDN8jyVAnxFlV cclBns08VhzkFjmwGj0RRmAGRd10wUvz7sMQ8eMFPVnHhKiq6dJ4+M5ydQNf4DAXscea OSeQ3Ga73jh2kbxYHgFEf5YrgQkgyWpbFyWAL1/j4DeBfkcHI0i4lpdVe8PNWdqUkTuL oXPBHAixdosKJd+nblDFVXGC6NbMTBPUJKZ+LT23QERAtOC0w9nvFS/t2MdkfVSvUGe7 9LpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=RkbBLKV3b0G5IBiWbVCJc++JT32CJiAmXdKfSKfxHhg=; b=ZNHY7r3AyadKFHg9HwEGL2uxWnyTlSdPjAI1WTCOSOQ8fyo4lotN9+eM8M5llRxasx 1TmhDAxpL5WJIRqwUIePGsGTV6GrIAJWEuL8CsOQyH/OJRKbyISYjZxN22KU+IWtfZQH Vb6sw/0Rmpt4vik0jh32nLcYumPISsxI+LF7AuGFh5yES2DbY/XOEv+YJ5JN2D4YLQBY kAAZDAHFJZ2p/ta0JWZXN8rC4sgOCo/N9G7VtIOjSBHzzl9qtSHcO9P5pVawGrSSUS8R f9EfGjPWtOkI4qcHK3za05Bg1cIm3odr+3n5jDl543f1KKuii9cwUIFArvd8BsBgFs2M wyFw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Q1PsMCTv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com. [2607:f8b0:4864:20::432]) by gmr-mx.google.com with ESMTPS id e126si57483vkg.5.2019.08.14.15.27.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Aug 2019 15:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 as permitted sender) client-ip=2607:f8b0:4864:20::432; Original-Received: by mail-pf1-x432.google.com with SMTP id f17so213347pfn.6 for ; Wed, 14 Aug 2019 15:27:19 -0700 (PDT) X-Received: by 2002:a65:610a:: with SMTP id z10mr1159211pgu.178.1565821638593; Wed, 14 Aug 2019 15:27:18 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id w207sm933138pff.93.2019.08.14.15.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 15:27:17 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 15165A18E; Wed, 14 Aug 2019 18:27:07 -0400 (EDT) In-Reply-To: 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.s=20150623 header.b=Q1PsMCTv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::432 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:23243 Archived-At: 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= =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): > 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 the exact output=20 >>>> (error message)?=20 >>>> >>>> Antoine vidal writes:=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 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 subscribed to the Google= =20 >>>> Groups "pandoc-discuss" group.=20 >>>> > To unsubscribe from this group and stop receiving emails from it, se= nd=20 >>>> an email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >>>> > To view this discussion on the web visit=20 >>>> https://groups.google.com/d/msgid/pandoc-discuss/9c5b4ae3-6e1c-4bb3-a5= 04-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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/fddff39a-71c6-4f05-bcd8-c0a4553a3b23%40googlegroups.com. --=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/yh480ktvaj5qo5.fsf%40johnmacfarlane.net.