From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31643 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Denis_Bitouz=C3=A9?= Newsgroups: gmane.text.pandoc Subject: LaTeX to Markodown: nested lists converted to code blocks Date: Tue, 25 Oct 2022 09:15:57 +0200 Message-ID: <87zgdk5q6q.fsf@example.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="30609"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGN3HPB5UNBBL4232NAMGQEKJSKLCA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 25 09:16:03 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f62.google.com ([209.85.128.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1onEAN-0007fa-E4 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 25 Oct 2022 09:16:03 +0200 Original-Received: by mail-wm1-f62.google.com with SMTP id 2-20020a1c0202000000b003c6d73209b0sf4854870wmc.1 for ; Tue, 25 Oct 2022 00:16:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666682163; cv=pass; d=google.com; s=arc-20160816; b=w6fOWs0aI/38x1s7RluX5PTHWVHSLtn8UyFBjdBafUJkfTBR+CED9M0NKDWI0WnNzO 0N8FKBqt5ik8q53O8tyVd7Mw/v9BOOPc13/1TZxfV7YBxSvuoD0J1zjEtB1N0E1mm8fs 2epRMN63PmC0/WD1iEN8TdcLAOH1c8sKud3Ax3bCTNHjNYCA17o/3Yf0IJnlm6e4QxPH gkt0JemNmiMOr3tUF3CjXa1cR7nJeOdsLIg/rVYsmglMe1o6rcLghLf2Xl5z22qlUZPZ 9qpjWhMlZadBfDlbS7J0yVLRRv6lksoVw0rF+2ai0FQXDiFM91PF0g/DAX2r2ko1tgld XhZA== 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:user-agent:message-id:date:subject:to:from:dkim-filter :sender:dkim-signature; bh=X73ro89Na705up8nWSPB90SDX7abCwm1/VXf6hKMI2g=; b=yzJCzgn1VffXTADHOLiJsdNZGLujLU3rk40WaR+ON7EtvYY6UN4JFi2xqBHIKGJQfc O2j7/VOn9rAFrVDkxog+MvypunjOs/X0N2sFoaJtFJPZHm+E83iLiMCC605eZmtGR5Iq VMSHSs+8Ftkz2x7QdlMX59YmaAt7dJCRin4BLAv/h/tHjvTv0BrzS/RZ8CmP+Ei/GNI4 4hCqxNogp8H9h488GZeGiGRMA+D5L5Hogl6y43k4nOQW5S5Zv813t2yEnex9xtV7GS1j CzquhDNVazGMLDNdC0V1NehFdYjzYam9bfcyqNBobMdCkJDT4uNofm0TVmurlgPvVJCb gckQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@univ-littoral.fr header.s=6CC8B4D8-72BE-11EC-B575-37C8EECE7675 header.b=kTIlU5Km; spf=pass (google.com: domain of denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org designates 195.220.130.151 as permitted sender) smtp.mailfrom=denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:dkim-filter:sender:from:to:cc:subject:date :message-id:reply-to; bh=X73ro89Na705up8nWSPB90SDX7abCwm1/VXf6hKMI2g=; b=ae3ZnRGtnFmYGIGC+byiabX4dbo6Yfg7ifGJ9pIE9NsBj/XrtcWvMktHLT1/VD8PI6 wX8u72hTIjY367uBUjGC8KBx19vwkPqVjo+5SQ54zogDGrmlDvrjFoxyKctrATNaZ/gk JUFm0znnqVnVeIzjrpfmALrcXSPWwF/YaiLa2E7kgCAGMTxB2kdpkIwqvTpepjHzNqGa 8DwhufMaiD7pvKD+fbrdfMFRn4lq8sZ9qzS24ss7XYlFZrd3vZsAZCNEnWzzOd4yOLO0 N9ryow7eWNd7C1HIJxZJ9W0GLTLN/tCye8uMX+I9BRqvA4kCiUugS5MFR1q6qtSYA X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:dkim-filter:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=X73ro89Na705up8nWSPB90SDX7abCwm1/VXf6hKMI2g=; b=WiKRYNTISiWk04iN49oDWmS95DJmLWpdak5NMrJ+5paVp+BNXlr0XkXUABJYqT2egw 4INwLPYs8LQKPsuqpaVL0GqRE4FwRZaRL+H5esAmOpVNr5jTPZqTeAaOIMdc+eV9d2Nv zl4cdz5U9oWDD1hJawH+kME3wpIEi8L1SEm10l1SkY4rWPwBMv38lmo+qGEmw07NN4bG D6eQauU8uATK02znRGJ2SXv7OD5+VwXiSbLod2K5QpXYDv8hdzRVzAJQcC6jWcJPMoVW Z8joHAOKr97OQmFMsaKf Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3W/iUWxDf/jTue/fx3u60RjrX1kiA018vJUFqrgE3HFkcFTfDk AQESLoyDALCJC7/p7R90uDY= X-Google-Smtp-Source: AMsMyM7m+DvtoKCVgRYPMzaYFjLGj7b9S59h5Mrxce9LmF4kDqdMOauTeV1+zHVZZhwxIHR21REc0Q== X-Received: by 2002:a5d:64e1:0:b0:22e:762f:7d3f with SMTP id g1-20020a5d64e1000000b0022e762f7d3fmr24049240wri.526.1666682162897; Tue, 25 Oct 2022 00:16:02 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:d205:0:b0:228:ddd7:f40e with SMTP id j5-20020adfd205000000b00228ddd7f40els2874853wrh.3.-pod-prod-gmail; Tue, 25 Oct 2022 00:15:59 -0700 (PDT) X-Received: by 2002:adf:d0c6:0:b0:236:6e66:3510 with SMTP id z6-20020adfd0c6000000b002366e663510mr6980652wrh.488.1666682159090; Tue, 25 Oct 2022 00:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666682159; cv=none; d=google.com; s=arc-20160816; b=H3zWLgIqoVVoXkyjJOuSvi2gx135692a7AqPJ8Vy4me9BU6Ael3Hjp4OIaFDAhL4tt hNHhiUUzuMzPPjXsnVhxNoM3kuoLojQuQj50DfZt3lxAMUGJCxqxqEb+B18EL3mXdUe8 0Sp3qCUfvrX7us1uWO5tInQecOWhhLb3BSbBJ6HX7kzA9CKl+xr4D7zHRFb3ZwL4LjEM x2lp3za6kiKUxNo00n7Zag2nDZOFIuyanVqYuUDYVCDFkt0U/yo7YEeXL4FBZNtGmG5v QWee2p2pLZaoVEi0xGnRmyx1iCn5A2Et1+F5g6cNpA8igtTmERrVmm1vGORDWp1nuSIU 3fXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:dkim-signature:dkim-filter; bh=Xykj0vays2lsWR2EcA/TR6XfxOXQR9Fal1ojM9djNjw=; b=ODiqKnPiaMbv7+0oGP49E45XetdaZhybfTCo9nRLXu91b8bd+TRQl2E39jc6HcBUzi VMkDV/5GFIA349lj/QAOIkbDchnJmk5hiWnGcN5C5wmZ/XdEs3dmdmsW8rq9tioE/fS8 rijQJcDGz0vO+IggDjY8avyojovfrJjMZ4cqFALRvcdv+EZXaaltTxQWGD/XCwwr/+qZ HrjIkNSYNq7pDbJ7uJez5a/575wPh47tEQRD2Fy5Y5aJkq5Ajlla6M1zGhrx7D7tDMdT PDXoxu0lIwRxgPuUm5HbMkbVPSHTQSO6IdHSUXDUSn9bEGfUxag4PaY5SjyKf41I4wtR 5A8w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@univ-littoral.fr header.s=6CC8B4D8-72BE-11EC-B575-37C8EECE7675 header.b=kTIlU5Km; spf=pass (google.com: domain of denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org designates 195.220.130.151 as permitted sender) smtp.mailfrom=denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org Original-Received: from zmta2.univ-littoral.fr (zmta2.univ-littoral.fr. [195.220.130.151]) by gmr-mx.google.com with ESMTPS id n7-20020a1c2707000000b003c46c479be1si46235wmn.0.2022.10.25.00.15.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 00:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org designates 195.220.130.151 as permitted sender) client-ip=195.220.130.151; Original-Received: from localhost (localhost [127.0.0.1]) by zmta2.univ-littoral.fr (Postfix) with ESMTP id DC9531A06BA for ; Tue, 25 Oct 2022 09:15:58 +0200 (CEST) Original-Received: from zmta2.univ-littoral.fr ([127.0.0.1]) by localhost (zmta2.univ-littoral.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id CQQaYX-XT7R5 for ; Tue, 25 Oct 2022 09:15:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zmta2.univ-littoral.fr (Postfix) with ESMTP id 6A9CC1A0721 for ; Tue, 25 Oct 2022 09:15:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmta2.univ-littoral.fr 6A9CC1A0721 X-Virus-Scanned: amavisd-new at zmta2.univ-littoral.fr Original-Received: from zmta2.univ-littoral.fr ([127.0.0.1]) by localhost (zmta2.univ-littoral.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cuxkQUef2VLA for ; Tue, 25 Oct 2022 09:15:58 +0200 (CEST) Original-Received: from drums-bis (i15-les01-ntr-62-34-160-60.sfr.lns.abo.bbox.fr [62.34.160.60]) by zmta2.univ-littoral.fr (Postfix) with ESMTPSA id 46ECF1A06BA for ; Tue, 25 Oct 2022 09:15:57 +0200 (CEST) X-Url: http://gte.univ-littoral.fr/members/dbitouze/pub/latex X-Archive: encrypt X-Original-Sender: denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@univ-littoral.fr header.s=6CC8B4D8-72BE-11EC-B575-37C8EECE7675 header.b=kTIlU5Km; spf=pass (google.com: domain of denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org designates 195.220.130.151 as permitted sender) smtp.mailfrom=denis.bitouze-PToOLB6qFnLddoiwg0DPyg@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.io gmane.text.pandoc:31643 Archived-At: Hi, consider the following `test.tex` `LaTeX` file, involving a nested list: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} \begin{itemize} \item Foo \begin{itemize} \item Bar \end{itemize} \end{itemize} \end{document} --8<---------------cut here---------------end--------------->8--- When it is converted (with `pandoc` 2.19.2) to `Markdown`: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 pandoc test.tex -o test.md =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 the resulting `test.md` file is: --8<---------------cut here---------------start------------->8--- - Foo - Bar --8<---------------cut here---------------end--------------->8--- >From the `Markdown` point of view, the nested list is a code block, not a nested list. Would it not be separated from its parent with a blank line, the problem wouldn't arise. Is it a bug? Is there a way to prevent these blank lines? Thanks. --=20 Denis --=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/87zgdk5q6q.fsf%40example.com.