From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18328 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Formatting to Markdown inserts space indentation in list items Date: Mon, 16 Oct 2017 14:55:18 -0700 Message-ID: <20171016215518.GA21256@protagoras> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1508190918 9241 195.159.176.226 (16 Oct 2017 21:55:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 21:55:18 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBPOVSTHQKGQEX2IYOKI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 16 23:55:13 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f187.google.com ([209.85.223.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4DLj-0000co-60 for gtp-pandoc-discuss@m.gmane.org; Mon, 16 Oct 2017 23:55:03 +0200 Original-Received: by mail-io0-f187.google.com with SMTP id 134sf55819ioo.22 for ; Mon, 16 Oct 2017 14:55:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508190910; cv=pass; d=google.com; s=arc-20160816; b=ehz7spu3pEkj0nUpRyD7ZtN3KRqoxFGRnoDctJqrs2Hr3uTcWzAiSWTOqfoOSejEq7 nsUmcwtgv+a7m+bN5S32my7cakEBqT2XY4QTJgUBfq+o/bWS/vqBRTfDvHVAO2+IE/0n 0ogIPyf0UeuVNdApd/pbm7dgUxUlxcFaBxR9/mOxjNGh/12vlv4r4gYhdZuShvgaPzy3 O3Jer4AIGL+azVYQbMTQL8wawNMG5Bemk6LvTOzhzWDDWVJiTUsHZLdAJmfL5caBUk+w OF/DOeB/O7WgzRKdGHILlru0fo3Oijs+594MYE64bpUF4dWqPLxlcQLdMjTSYrUlTXMk n1/Q== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=/lInCK73LDPeN7fmvOaaIwprjGyuS2Zd64m0dA2XD0s=; b=zLIY7bD02p8mdolvjOSnjtXvDONOVy5S6xDeqf/r+VSp9QuRfisEnChauJsxrBRDUp DUMjoiJaHIBzlUV4OMScxO9xCvWPbX9co/03Ggr14+jnPhEBMNCyLIQng6jq4Fr0L81I ZiPTT1nppDRmuOQDI/gnLER5RqEADBpmQDNbU+h7Ofqcj5PqGKE9DQOtG/8s010XvxnU YG8/BKH5j0jwN5MicAJ9F5Cc+YuozQyFrqnQzBr/VPuCXDE9RvFKIhGlHVKqouQUZqGC zS0591dJ1Apj/DsU0bG0jKysQVSJ8dLsmoVfyHeDurIBxkTPl6v69GLG6DnS1PC8fSeu ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Sr9yAJCM; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f 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:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=/lInCK73LDPeN7fmvOaaIwprjGyuS2Zd64m0dA2XD0s=; b=dwbvQH4D5MfzvZbyremRHW1gNzheSf7lx7iZuNC+1k0GyfFkYC4H/7Z3Xqz9ZKsot/ 2fHbwT9TgwfQbTxc9pZWjh1nMyRQWekRiuAc+BF7Jcgbo+/JDqq3aHbxeCGjbsLGtPGr YPAWwQcEMC2j2ayWQcj4Xu/1LON3e0fqV3FWtJdx4uOeglujyLg+T3+fQTB0/JSoY0Vo aujOOFCaaEDOmheNFGN4Md3bmI2u/E1zR0y9ZO7gtX6jeAzNQOiys0lxe+fB5UwhzTJo s9kegYK7zGBy4uMXV0vMd64uO1NZgt8JgOjQvdLga2EvuFyG1LjTapTCVR72M7LmncZn a0og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=/lInCK73LDPeN7fmvOaaIwprjGyuS2Zd64m0dA2XD0s=; b=qyPDqiLI9tUJbW7aBRez/g6iQEbulma7JtlA2oUsluExSCxVjhL4gYzd2RYN9whIH+ +jAPv2rN/vJJ6sAZD7fDk3+L8ucwpx8r36JhkHv07DH+JjLbxCEO//qVJxU55GUs+5QP ABZgnHeuQ5X+lFzNQDEz9FayETp4KWaTCzUtcwMZNPDpygXPuuQylOOWEqFrlI8YD+Qa ZxZZFd2ivcjbxwNsyhnX66ViD3q9anPx3Eo5PqyV3c1zQ/xJlEZo236RkWL6+stqOJMK caGpnhr8M8gGJhhCyQhUhlxGRs4PZ+f9vlCvGuvFwXOL3JR38NWzotiqO9LMPwJpu6NW Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWENJzoEFsdcs67g9R6p8b6HvuE0aUlGRh2eSJ2TMaZxEQdrnOL y939VnbsI2DfmsLDgaELesw= X-Google-Smtp-Source: ABhQp+RUt0HyDZCWmf65au1e4MBUo1cmTTrFmxmkyNJGXGjBj1R3sKCbu1qirpzO0E1hlZzAcv/Drg== X-Received: by 10.36.127.211 with SMTP id r202mr36455itc.0.1508190910476; Mon, 16 Oct 2017 14:55:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.134.134 with SMTP id u128ls85222itd.2.canary-gmail; Mon, 16 Oct 2017 14:55:09 -0700 (PDT) X-Received: by 10.36.47.76 with SMTP id j73mr1632092itj.35.1508190909794; Mon, 16 Oct 2017 14:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508190909; cv=none; d=google.com; s=arc-20160816; b=v0jct35bXbGCk3vAh1xfY6U3N+Ta8QrO1XY7tVigKSztFMHph8ibk6nNHf9I41bfxF S7SPPDYJ2hgi6qc9Mm1AHJ/jI4Rd31H3xSXB4ahoFv0uD536nLZsxm2EieDCxOc6QoLS eNLNFpxFr0CXw3QjYXy2Nu8sNYmXoT1oz592FZOvONEoRTZauyMgzXIPyPrRVlnt6Bzc Mei4oHWaLDShVCH4BWsnrFBphx4lMs+7jJiMHFxFyG/8orMwy76dZCTOB79ilNWbwqcB o3np6a+Po9ecm0pTwp3TGbt1bQKvnLhHWuQZwNbzCxIMNb2RtDISjPpHcAp2aIvjBrZe 88Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=LvihAjOBJV4yFVlN6Klpl38o0Rk+J9f7QaL0LQeOOYM=; b=e80yOqtSoPMzkk2HMUCKPibPTqdrqH8XLJp7gVkTB5Mnj6jBV75on70tE9i4nUu1As D/QUz4SOtOlBxRWr5+UTZtFvb/pwRovv8n+/oqs0CAscbOHPsoSboLlctLcri3WdKlGZ AaYuRtw8wIyNno66oVvubGlNYAJVhVtQfshgWBnLSYSfhEjYNofyBuoJWATfax4i3A1i 6a9GwWzHaJIbv3wIDHQWxgDc+TGJhDNWc1Qvrie13qYlnauxqGqH0yL1OsV2tu7vujs9 fotWxtWRCbLHGE0pRGCR1qw4p3yAXQrdGCHyVD+Z1CSbaEVhyLT2EFDAW9zrJ7tpVG/N kbHA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Sr9yAJCM; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com. [2607:f8b0:400e:c05::22f]) by gmr-mx.google.com with ESMTPS id w133si564831itc.0.2017.10.16.14.55.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 14:55:09 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) client-ip=2607:f8b0:400e:c05::22f; Original-Received: by mail-pg0-x22f.google.com with SMTP id a192so6461919pge.9 for ; Mon, 16 Oct 2017 14:55:09 -0700 (PDT) X-Received: by 10.101.90.193 with SMTP id d1mr9243034pgt.423.1508190908881; Mon, 16 Oct 2017 14:55:08 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id d12sm14172303pgt.16.2017.10.16.14.55.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2017 14:55:07 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id C0471A1ED; Mon, 16 Oct 2017 17:54:56 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc 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=Sr9yAJCM; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f 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:18328 Archived-At: There's no way to retain all the details of the original formatting. Everything goes via an intermediate representation of a structured document, which does not store details like how many spaces between the bullet and the text... There's actually good reason to format the way we do, since it makes everything line up when you obey the four-space rule: - beginning paragraph second paragraph of list - sublist Obeying the four-space rule is what you should do if you want your document to be compatible with the most Markdown implementations. +++ will.faught-cFyOE3ROWdBBDgjK7y7TUQ@public.gmane.org [Oct 16 17 14:00 ]: > For example, when formatting this: > ``` > - a > - b > - c > ``` > I get this: > ``` > - a > - b > - c > ``` > where there are now 3 spaces between the hyphen and the bullet text > Instead of the original 1 space. > How do I either keep the original spacing, or control the number of > spaces it uses (I want 1 space)? > It seems to happen when formatting to any Markdown flavor. > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/b2690c61-9b86-44f6- > bb00-96df411c9ba5%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/b2690c61-9b86-44f6-bb00-96df411c9ba5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout