From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30562 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: When Converting From DOCX to Markdown Formatting For Lists Are Not Carried Over Date: Wed, 18 May 2022 06:44:11 +0000 Message-ID: References: <6F48F869-C199-4EE6-9050-278CF14C78EC@gmail.com> <662275E5-EDA3-4D1D-B8C2-51B4EA12C103@gmail.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: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12839"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBPVLSKKAMGQEBF644GA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 18 08:44:19 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f183.google.com ([209.85.208.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nrDPv-0003A8-1e for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 18 May 2022 08:44:19 +0200 Original-Received: by mail-lj1-f183.google.com with SMTP id x12-20020a2e9dcc000000b0024f2bb07cb8sf169159ljj.13 for ; Tue, 17 May 2022 23:44:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652856258; cv=pass; d=google.com; s=arc-20160816; b=pNHB5DRkkNaigPeYw+GXlhbbpzhTQSuv7c8sInYfkH8ygr2y4l3bMYbWn3+A02/FE6 BWt7pF1ZoGjEt3Xs2fybu1qu7Zv75jft1xJZI1o0crOcUZlcJ7puaZyNPoCy2UJq4CGS ond5+iKJ8pL3Y7ygulidN+JZKPKE9DadfpXW7dOuSIYqQD53jfOESFIyKP6krGo8ZkfP gvSvM8THA1g97c3EHNGqiz6jTcAGUnx5l34CgZQzHQ7ox1jJsR7XafoGtyIPosHEqQWg efuhyTqk/kiTExRrp+U+qg6YNuMhS3cLVlOpF+gwgP7lwJRC2puHcvsLknNoK3+yoavF 3L1Q== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=cctIyoBcUSFx1VJECTfvCRumX316CklwqUk+MArMZK4=; b=w/3Mvbk7jbYx3pxHOutfvQpoRrO0c+D63OOT20PA8bhdyCiIf0IBUfqEk8q9wfMeR2 8mlZ10Cr3FJT85Sbvn6xcuiBKgSJyptmGmm4Vin6jTMmbpPzTpxgC7utWcfoYGn3bzlb mrNLIVARAoe3sk/CpvJ1+gHWRZ2axLz/54mPyiJe+QejAGp7HYZ5SiwGe5Irnbmyo3nS NcfANlkD6XhLaap3n4vWpK/AFhRl943kEHkol4Wke2J2eBcg5S05TFf7WV+Z7/LxyAnH BhunMJ7wzkDohWi0zdVaRPrGW3SOaa9ReGxtKhMUT7aP8CXaQYYsDlvq3ViKkE+BEtyk YNCQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=kCE1NVlE; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :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=cctIyoBcUSFx1VJECTfvCRumX316CklwqUk+MArMZK4=; b=kgVTXcVjy7Q/ClHRpf9FWkqm3FXxUhZ7x6Ba0G+IdiTryUHfeuczXMtx23N6v6p5K9 vVpUiVvklgys+ms3zGRaiWP0akgmhnPT5TiqyEBCYmDnvLaqI9SNtJDJDphZ7YDiaa5r 9mLhKRWdHVEeuGegZTt6zzYjw62VUGOZXj9hKKuk27ndGXeoMd+5SGLm+S7AYzE0+Fi9 XWRYEV9B0eVMpEZ30KXFbwfroow4D+mQMvIS4Rz62MfCskGG08q4Qlil6y8f5sFrhTn0 ZBLRD4mjLzBQK//mzC+bohxULwsiK5GVP6CPakVn6HAWQkvWjnBQq2TF/wB8UHgtAcVw wT9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to: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=cctIyoBcUSFx1VJECTfvCRumX316CklwqUk+MArMZK4=; b=tWJ/AILIzusjA1lXYF/B2GFE/ETlEpFCojSTmMqaczQ12qdsHLiiiHj9msQvsa6gNe YnKGiSaz49DVnJXWj5VbLo1lfwBz3PKGigavdVhGH5vRlw7mN2ejcWfi1hq+c0BxGsi8 2LdTkpyu3/mEyWkAWrwslLt9f1/MJjzBq9x1RYsuWKnuRunKuKfOTsJlgZv/8KcZ5oYY 3RuO6SXSLp+rRwtLOHaZG4CzURgmA+T1BqtR0MkFKAzu8k9nbXzw5vS26CEv8rTsgij6 ryn6ddrsrzzLlDU6IUbL0BzgYdtn2YWwE4OZIiQhAtrs Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530hMhXB02YEla+DztI84cwrw1jnBnbZorbKlIiXQv/E7+AQlaps xE2O+OKctqDZokBDxpa01HQ= X-Google-Smtp-Source: ABdhPJyK9CKn7u4dM0P36p3yn4MNB0vTj4DSyMTfnpJP9N4L9msPkAe9rRQeSSF3Gv2OHCpYbQ4blQ== X-Received: by 2002:a05:6512:3e15:b0:477:a28b:3fcf with SMTP id i21-20020a0565123e1500b00477a28b3fcfmr5027499lfv.476.1652856258396; Tue, 17 May 2022 23:44:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3b0e:b0:477:a45c:ee09 with SMTP id f14-20020a0565123b0e00b00477a45cee09ls3371687lfv.3.gmail; Tue, 17 May 2022 23:44:13 -0700 (PDT) X-Received: by 2002:ac2:592a:0:b0:477:b81b:4d13 with SMTP id v10-20020ac2592a000000b00477b81b4d13mr1307320lfi.140.1652856253055; Tue, 17 May 2022 23:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652856253; cv=none; d=google.com; s=arc-20160816; b=FQjXj2PHapnXlGLz2O5ukHox0RB7vWW/3xjUbMYlmQtBbS6HJ3AvCD9M3Ia6FYrQFR R9A4MKTqxRyBqvf8gIU6a0tlBAuH4hmwsPOr7ZHMsxgrDeSp+PW9TIqsYo0YSsw5L6/I al97kNRVTnuiH2dgVBslhBD6JrqIv6Jf1v9SJevqbgdGVbofWL4+ZjUm5JvBtU4y9KlD IwHWapOhnEbor9Nv9nikJQyX5UDOfFeIg3kIk/nux7upJvLMMKWI8mbhQqe941jj9ulo zn/xWb0pbOgOJRCkuInq1tMUICtyjwMj/UxMdKy9wP4nIWP+OogINN+tijT11VE5UCal KALw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=odpVPGzIvdA9Fsm5rDKiNSlZt+bzNTSkYPhyGDOYb1E=; b=T7Q2kI3+OYmKKwSAphtp23TOySmnJOiVZ6KhlSEfgD02d1de8joQfnhMP/i8nQAvZ9 Va6o4t5cjkvQCeye64qKUXAUGdPJIQN0gAM5PC2gQEpNHu7tGOxORd7hGlEvyI/4Bcdb zWE8NHR9uI0gMpk/wQwoiezy9p8u2oOAvF4WRlAg1U9fO6TJqyEJJjx+o5JklrBpqJ0S m85i6rDbb2Hlqzh6zRmyKPuHmUyKnE0Gq4EJikNA7s9hlbscBXdi389Y4cP62DRJvwEf jfiDNcB8x47ou9x49xPZ2VgW54BYJJSBp2qxLi7WCNyJ0byzwayuCtSQG8EPm265/4z5 j5fQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=kCE1NVlE; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id o7-20020a05651205c700b00473b906027fsi57051lfo.4.2022.05.17.23.44.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 23:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 344A6240050 for ; Wed, 18 May 2022 08:44:12 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L33P75dc0z6tnf for ; Wed, 18 May 2022 08:44:11 +0200 (CEST) Content-Disposition: inline In-Reply-To: <662275E5-EDA3-4D1D-B8C2-51B4EA12C103-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=kCE1NVlE; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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.io gmane.text.pandoc:30562 Archived-At: I get the following output: ``` List Examples This is an unordered list. - Apples - Bannas - Oranges - Peaches This is a numbered list 1. Dogs 2. Cats 3. Mice 4. Elephants ``` You may be using an old version of pandoc. If true, try upgrading to 2.18. Le Tuesday 17 May 2022 =C3=A0 05:58:45PM, Kevin Fjelsted a =C3=A9crit : > I ran the following command to create the Markdown. >=20 > <<<< > kfjelsted@kfjelsted-Mac desktop % pandoc -s "list test.docx" --wrap=3Dnon= e --reference-links -t gfm -o "list test.md" >=20 > kfjelsted@kfjelsted-Mac desktop % pandoc -s "list test.docx" --wrap=3Dnon= e --reference-links -t gfm -o "list test.md" >=20 > >>>> > I have attached the DOCX file that was used for the input. I have also at= tached the .MD file that was produced.=20 >=20 > There are no bullet or number symbols in the markdown.=20 > -Kevin >=20 > =20 > > On May 17, 2022, at 5:43 AM, Bastien DUMONT = wrote: > >=20 > > It should work with -t markdown too (which is implicit with "-o xxx.md"= ). Could you provide a small example file containing one such list? > >=20 > > Le Tuesday 17 May 2022 =C3=A0 05:19:24AM, Kevin Fjelsted a =C3=A9crit : > >> Interesting I still do not get lists that are created in Word to conve= rt. > >> This is the command I tried. > >> $ pandoc -s "Test Word format.docx" --wrap=3Dnone --reference-links -t= gfm -o > >> "Test Word format.md" > >>=20 > >>=20 > >>=20 > >>=20 > >> On May 17, 2022, at 1:51 AM, 'Nikolay Mihaylov' via pandoc-discuss = <[1] > >> pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > >>=20 > >> You should use `-t gfm` flag for bullet lists to work. > >>=20 > >> On Sunday, May 15, 2022 at 1:29:36 AM UTC+3 kfje...@[2]gmail.com wr= ote: > >>=20 > >> Why is it that when I convert from Docx to Markdown, bulleted a= nd > >> numbered lists do not retain formatting i.e., no "-" in front o= f each > >> unordered list item, and no number in front of each numbered it= em. > >>=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, s= end an > >> email to [3]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To view this discussion on the web visit [4]https://groups.google.c= om/d/ > >> msgid/pandoc-discuss/ > >> a59d216d-f527-4d14-a9b8-f75da3f1af19n%40googlegroups.com. > >>=20 > >>=20 > >> -- > >> You received this message because you are subscribed to the Google Gro= ups > >> "pandoc-discuss" group. > >> To unsubscribe from this group and stop receiving emails from it, send= an email > >> to [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To view this discussion on the web visit [6]https://groups.google.com/= d/msgid/ > >> pandoc-discuss/6F48F869-C199-4EE6-9050-278CF14C78EC%40gmail.com. > >>=20 > >> References: > >>=20 > >> [1] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >> [2] http://gmail.com/ > >> [3] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >> [4] https://groups.google.com/d/msgid/pandoc-discuss/a59d216d-f527-4d1= 4-a9b8-f75da3f1af19n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoo= ter > >> [5] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >> [6] https://groups.google.com/d/msgid/pandoc-discuss/6F48F869-C199-4EE= 6-9050-278CF14C78EC%40gmail.com?utm_medium=3Demail&utm_source=3Dfooter > >=20 > > --=20 > > You received this message because you are subscribed to the Google Grou= ps "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/ms= gid/pandoc-discuss/YoN8ahDbTBUMk8F1%40localhost. >=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/662275E5-EDA3-4D1D-B8C2-51B4EA12C103%40gmail.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/YoSVu600xH8jeOtt%40localhost.