From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23551 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Gu Lu Newsgroups: gmane.text.pandoc Subject: Re: Correctly convert back tightlist from latex to markdown Date: Tue, 8 Oct 2019 10:09:04 -0700 (PDT) Message-ID: References: <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_3132_1402888694.1570554545058" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169826"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCAJXENMVEBBBMUF6PWAKGQEDBCVXEQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 08 19:09:10 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iHsyy-000i1c-5c for gtp-pandoc-discuss@m.gmane.org; Tue, 08 Oct 2019 19:09:08 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id t7sf7909193otm.4 for ; Tue, 08 Oct 2019 10:09:08 -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=Mh2Bn2Mcf4Jeyroe0dp65BpZUwJOXKMsIacUuvLQVfo=; b=cCg07b0xxFXxIkzCLRtl8+94QoENDKbchRX8QchO3gIrjXcVXgxueCOFJNE9CcpkNU PrhL4vOjhw1o16I/wV/C1cKKuE68FNPd1gp09+fXZX4oUKSVq9zQDt1EdRyxUVNiQJ8s WyPXFLbR0hw51SZdmxed0p9WDjs+ibfHB0IoMosZ9l/yw2VRr6ixF3JB9tw5jB+yTW30 m0fofsB8CJVvZ4JWNDZzjP6cCeKMk1SkBfQvrJA1/2hLVYOVv2JgEUP1OOiEtXT68eHR q6uN0svVjubvqwyzvGKwzLW/A6ZOqWHRoeYQe3QxC+CVKdxaxejrIoJkL/3f8YXAtLsp soGA== 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=Mh2Bn2Mcf4Jeyroe0dp65BpZUwJOXKMsIacUuvLQVfo=; b=pDXXJlgiWlklfnXj3Jj+02+BG+mWyxvX5b4Uwlzd9DKdoyvGNz3Gf4Kuf35kqOWTkh KUKsLXSHX9NOBMb8ZVoppUQlp7GRXky46kMIh+pnAse0ouXfECigkaslwXJr3UpXEtM/ iDOi0zMru3jn7MHocicOlMSzd7R0z6whw6IbjRIOdSH18f2bIiYnpe6o08Oa+clsq9o4 8x2a24wrR6kCywMbnCsUR19XXn6BGYtkNsKL13tiFpdboYybUz66zhibByqrWrJ8c2WH B745qbWvSctI5a7t55z++l6CwKWgIhO/DYwF0wzZBIjdGcos81vNinCdu4YHdVNEgvt9 VApw== 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=Mh2Bn2Mcf4Jeyroe0dp65BpZUwJOXKMsIacUuvLQVfo=; b=XxpWtnEnjJbDjeSs7wju7U3EzbpqCRxWmENUP8umbvmmbl9pb9NI9ryRRYrupFwLHR QvE2T8lzJOKM/qXun3+1xpjOfI4d/339b405DBC2utGKz/m19f98GEDVsM9HAdkapkPq 7HNhNDJvgoXNzm/VXlTUogfRvI5NjX/BiiuUE4DbIk8Y1VlBB20DxEdVuvPhm3G8UjWn qwTR2dZFL+ByC3hNEb6wVlWAydNJGEDI2/8zi6joL/tml2y2DXZP+oGxc41BH9QUY0FD uBN/Jt8EPBhDvH7Pt3ax50grCyyoEGzMMSQvU7/3KhEe27b0WCHKxY9ia7wRPZSPXrzB nHPQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUlvSveO6RAvl3sWvuJcRec4N9MWur2PSf3gZtM5AG26jzsopEB D4HgIcVYxZQGUsrZ1iWMOQc= X-Google-Smtp-Source: APXvYqxdJyW8bdqf4xFi4TgGAUZsuLB2Mw547NiktpG82cjrev6KFmnWnXrwiO7YamijzoUS3i3IvQ== X-Received: by 2002:aca:da87:: with SMTP id r129mr4778159oig.177.1570554546881; Tue, 08 Oct 2019 10:09:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:1d1:: with SMTP id e75ls723479ote.15.gmail; Tue, 08 Oct 2019 10:09:05 -0700 (PDT) X-Received: by 2002:a9d:7308:: with SMTP id e8mr12312704otk.104.1570554545647; Tue, 08 Oct 2019 10:09:05 -0700 (PDT) In-Reply-To: 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:23551 Archived-At: ------=_Part_3132_1402888694.1570554545058 Content-Type: multipart/alternative; boundary="----=_Part_3133_1122400105.1570554545058" ------=_Part_3133_1122400105.1570554545058 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, I wasn't sure this thing wasn't already implemented. I'll submit an= =20 issue then. best, Le mardi 8 octobre 2019 19:04:23 UTC+2, John MacFarlane a =C3=A9crit : > > > \tightlist is sort of pandoc-specific, but we could make=20 > the LaTeX reader sensitive to it. Submit a request for=20 > this on our GitHub issue tracker?=20 > > Gu Lu > writes:=20 > > > Dear Pandoc users/developpers,=20 > >=20 > >=20 > > I am trying to produce markdown *from latex*.=20 > >=20 > > However, regular lists (itemize environment) are converted to the=20 > "loose"=20 > > type of list, i.e the markdown output has blank lines between each item= :=20 > >=20 > >=20 > > * item1=20 > >=20 > > * item2=20 > >=20 > > * item3=20 > >=20 > >=20 > > While I would personally always prefer the markdown compact list format= ,=20 > > this choice is consistent with the conversion from markdown *to latex*= =20 > (where=20 > > the \tightlist command is added to compact lists).=20 > >=20 > >=20 > > I therefore tried to add the \tightlist command to my itemize=20 > environments,=20 > > but pandoc simply ignored it: it still produces loose markdown lists.= =20 > >=20 > > Is there a way to produce markdown compact lists from latex? Either by= =20 > > interpreting the \tightlist command when seen, or by simply converting= =20 > all=20 > > lists to compact using some command-line option?=20 > >=20 > >=20 > > Thanks a lot for your help.=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/48be16f3-b5ac-4bb3-8395-= 59eefb7aa12c%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/f3e67254-04db-4af5-a04d-187dccbe7b8e%40googlegroups.com. ------=_Part_3133_1122400105.1570554545058 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I wasn't sure this thing wasn't already im= plemented. I'll submit an issue then.
best,

Le mardi 8 octob= re 2019 19:04:23 UTC+2, John MacFarlane a =C3=A9crit=C2=A0:

\tightlist is sort of pandoc-specific, but we could make
the LaTeX reader sensitive to it. =C2=A0Submit a request for
this on our GitHub issue tracker?

Gu Lu <guill...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Dear Pandoc users/developpers,
>
>
> I am trying to produce markdown *from latex*.=20
>
> However, regular lists (itemize environment) are converted to the = "loose"=20
> 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 f= ormat,=20
> this choice is consistent with the conversion from markdown *to la= tex* (where=20
> the \tightlist command is added to compact lists).
>
>
> I therefore tried to add the \tightlist command to my itemize envi= ronments,=20
> but pandoc simply ignored it: it still produces loose markdown lis= ts.
>
> Is there a way to produce markdown compact lists from latex? Eithe= r by=20
> interpreting the \tightlist command when seen, or by simply conver= ting all=20
> lists to compact using some command-line option?
>
>
> Thanks a lot for your help.
>
> --=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/48be16f3-b5ac-4bb3-8395-59eefb7= aa12c%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/f3e67254-04db-4af5-a04d-187dccbe7b8e%40googlegroups.co= m.
------=_Part_3133_1122400105.1570554545058-- ------=_Part_3132_1402888694.1570554545058--