From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23548 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Gu Lu Newsgroups: gmane.text.pandoc Subject: Correctly convert back tightlist from latex to markdown Date: Tue, 8 Oct 2019 09:51:09 -0700 (PDT) Message-ID: <48be16f3-b5ac-4bb3-8395-59eefb7aa12c@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2811_1209487069.1570553469643" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="88225"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCAJXENMVEBBB7X46LWAKGQEQE7XSPA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 08 18:51:15 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 1iHshc-000Mka-U8 for gtp-pandoc-discuss@m.gmane.org; Tue, 08 Oct 2019 18:51:13 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id d15sf3545511otc.18 for ; Tue, 08 Oct 2019 09:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=XoZGPiH51JmOW8biP+zCzUs4uAmUE6Ne5nLGF5v1pus=; b=B/cw1vBbXiy10GDirdi9vdxukN9kWOivvTClnqWnTugpno9SxLLMIsYqh4khtfkfsp ZatNLDbpNdglEaTrM8wrGihWvzCFQYWfD1D3l8K20XHPDrSQgZBlSvUybOLx6s3hcEdY pVktICv425YLrM9byr6JOIy74kDIB/eoqCzpcIbzERc1gkGI8hH0Zzbk/NCajfeMc++m 2/cape8rUa+qgo7SPDVepDCykofXEKGEy1Gg7OMtwL9gvC9lWXkC847evFqteQ06KS8N P7ZDKxAJAvk/ez0RGOeDsuOCatjLABacOcVyTRXRXEqBsUGrQNEhabu+ZI4zL/qr1Skc MxKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=XoZGPiH51JmOW8biP+zCzUs4uAmUE6Ne5nLGF5v1pus=; b=Zj2gq5B3KewS/EkFXOB9MXjsb2biE+PZgD/W2gem1qohGHYUK5dsxN3P+SbwyDing4 AUxyoglUGGGCyCqP4ITmh5Z9GuTP2h4NhLnIQMwdWIQMG+ijtG7LZsIXS0+DLGna+w6T 7d+JKVs7Pptpfh5cwxLs8s1KrLINfQYpiKhFrWXW5YuEt5uKukX8DhRXG5GwIQpuINqu 4hmobTzvFRyLhHwO+Pkj/I0ZB3aOdt9oAGAdOc7OWsFAOzE22k+ucX8PEmC8R26LW42U 59AEs8I2NNgxIlFUFymp82njmFtvzeteqUAkSUwCbclibrDB5h81NXc/Z+kGljH2M+o0 LDLw== 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: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=XoZGPiH51JmOW8biP+zCzUs4uAmUE6Ne5nLGF5v1pus=; b=MCrYwMwRzkW1WSWX5o43D3qs8PguWZ+sJ3j/Gf/mLFIXo66cH2SUN3Wwq3m0hGaOHm tUZv0zqzeo/OscchwYD7n8Dm5no7dm6+GXYcddklfn69MtFEzWNj3zTR+D2Goe5aJvJ9 c/WrIZCVENmlN6m29LaGbwoZIBEQnosoxvrU0jFKcliq1+bXNqTEh2ktdsWU5TZDjcXM ktCE/sSBLDqY0E/k+V6yTLYy2oVs0tUKk65SenDrBeXBkooYIXQyX8W/yJrqmhS3Rs7l dRNUrWLHHnrDs4N+i7JUU0RpO5mpwdP1iWZTbIzGmrXwOXytxVbvheCEOdQXBF9XDiIe ageQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWPC3kQodrgg2b75wjpnQ+wQAWZvFCsB7QU8Y6zrz37dRSQH+5q KBGbpWW1BjezHtqE+pH5Zjw= X-Google-Smtp-Source: APXvYqzEwWhrt7S+dgKNGxpUrP8hgHTbm1iEuca3Qa/VowWSVIVPcPeKBCxtYNu9FKeN0hrKYF+nOg== X-Received: by 2002:a9d:57c9:: with SMTP id q9mr25793323oti.303.1570553471636; Tue, 08 Oct 2019 09:51:11 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:4a9c:: with SMTP id i28ls715782otf.14.gmail; Tue, 08 Oct 2019 09:51:10 -0700 (PDT) X-Received: by 2002:a9d:2007:: with SMTP id n7mr24928280ota.132.1570553470410; Tue, 08 Oct 2019 09:51:10 -0700 (PDT) X-Original-Sender: guill.louvel-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:23548 Archived-At: ------=_Part_2811_1209487069.1570553469643 Content-Type: multipart/alternative; boundary="----=_Part_2812_88052174.1570553469643" ------=_Part_2812_88052174.1570553469643 Content-Type: text/plain; charset="UTF-8" Dear Pandoc users/developpers, I am trying to produce markdown *from latex*. However, regular lists (itemize environment) are converted to the "loose" type of list, i.e the markdown output has blank lines between each item: * item1 * item2 * item3 While I would personally always prefer the markdown compact list format, this choice is consistent with the conversion from markdown *to latex* (where the \tightlist command is added to compact lists). I therefore tried to add the \tightlist command to my itemize environments, but pandoc simply ignored it: it still produces loose markdown lists. Is there a way to produce markdown compact lists from latex? Either by interpreting the \tightlist command when seen, or by simply converting all lists to compact using some command-line option? Thanks a lot for your help. -- 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/48be16f3-b5ac-4bb3-8395-59eefb7aa12c%40googlegroups.com. ------=_Part_2812_88052174.1570553469643 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Pandoc users/developpers,


I am trying to produce markdown from latex.=C2=A0
<= br>
However, regular lists (itemize environment) are converted to= the "loose" type of list, i.e the markdown output has blank line= s between each item:


* item1

* i= tem2

* item3


While I would personally always pre= fer the markdown compact list format, this choice is consistent with the co= nversion from markdown to latex=C2=A0(where the \tightlist command is added to compact lists).


I therefore tried to add the \tightlist command to my itemize enviro= nments, but pandoc simply ignored it: it still produces loose markdown list= s.

Is there a way to produce markdown compact list= s from latex? Either by interpreting the \tightlist command when seen, or by simply converting all lists = to compact using some command-line option?


Thanks a lot for your help.

--
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/48be16f3-b5ac-4bb3-8395-59eefb7aa12c%40googlegroups.co= m.
------=_Part_2812_88052174.1570553469643-- ------=_Part_2811_1209487069.1570553469643--