From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16839 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Nested numbering Date: Sun, 29 Jan 2017 20:18:24 +0100 Message-ID: <20170129191824.GB66328@Johns-MBP.home> References: <61c683ce-3f3b-4294-9277-ca1049587765@googlegroups.com> 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 1485717520 11533 195.159.176.226 (29 Jan 2017 19:18:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2017 19:18:40 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBD4AXHCAKGQE3ZRLOEA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 29 20:18:36 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f61.google.com ([209.85.218.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXuzi-0002pN-9K for gtp-pandoc-discuss@m.gmane.org; Sun, 29 Jan 2017 20:18:34 +0100 Original-Received: by mail-oi0-f61.google.com with SMTP id u143sf102017447oif.1 for ; Sun, 29 Jan 2017 11:18:40 -0800 (PST) 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:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/b+VfraDk6uNNORCLyEDuQuXfXFn4WDosx+B7DZpnIQ=; b=FLdmdRUpIB1JPQIhd9yIs/grBSrUQ17f8jqDwxGxa/unR0knJnZjA82ZhVQkzj0Gqq zk9LMz2mT3jTdMYj3S2CRIhXaXIejKYwZq7FkdJYurSPr8/TiyuDR73S3M/MckwaYi6v BtZCSJZFTZ5hTBRn7xzotAqrs8F8+wFtiOt5bAykTFEt+gFhz39mIpNy3nwNigO/P6FX heOb5NCNotb9OIq9QE1uAjTteZzOENun5MQRAfwvRpDVH+N9Kt75ILDKto/MbgBuxBcl YZXP2h7O/u2mM+Lvpwa7R2OlMfN7LlzVPR00kXUwyAOeN0PK4ZEhCeD+PBg11Z8G00xW D+rw== 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=/b+VfraDk6uNNORCLyEDuQuXfXFn4WDosx+B7DZpnIQ=; b=P+2CvURYB2RpXjYayX3PjqrrDqaHFwf4rn6XR1KZydKlYgXcXmHjYCf3Zvm/CMccD0 ruy0p9vQIun+5hv42BjjTQIMpN7OlLWWPzpNH9IWJ/qcyNIU94/repsFf0wFf8+mt6w5 UPonwNHiFdy0NmMCVT0piBNFR3PkVvWTT4X+/aDF2wtLNpYCA/AMYPdIfWwFFJkpl1zb 2chqVifsB+YyxQO9Vh5C/xxcg9j2bvNcxjzkqwNFp2MUKGW9YfPZXgrOUiA5Kl1FF+ma frhwGjKloohWjfAJY5ZXjfTxHH+3Jedq7WPtbKuWvc+Ue1RNWo+cFxMQbZyDYrkuyg74 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIkVDXL+1Ovg9fUeL/N9vcHEZri5643Lk0fFMzmrmHMeGPssme+8T2KPqCDjYeYmLmi+ZA== X-Received: by 10.157.45.102 with SMTP id v93mr1345172ota.3.1485717519433; Sun, 29 Jan 2017 11:18:39 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.42.46 with SMTP id t43ls5981437ota.17.gmail; Sun, 29 Jan 2017 11:18:39 -0800 (PST) X-Received: by 10.129.157.68 with SMTP id u65mr5164320ywg.11.1485717519094; Sun, 29 Jan 2017 11:18:39 -0800 (PST) Original-Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com. [2607:f8b0:400e:c00::232]) by gmr-mx.google.com with ESMTPS id 23si2351956pfw.4.2017.01.29.11.18.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jan 2017 11:18:39 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::232 as permitted sender) client-ip=2607:f8b0:400e:c00::232; Original-Received: by mail-pf0-x232.google.com with SMTP id y143so84968289pfb.0 for ; Sun, 29 Jan 2017 11:18:39 -0800 (PST) X-Received: by 10.84.136.135 with SMTP id 7mr27023295pll.149.1485717518711; Sun, 29 Jan 2017 11:18:38 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id c2sm26312173pfl.61.2017.01.29.11.18.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jan 2017 11:18:38 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 74217A16E; Sun, 29 Jan 2017 14:18:27 -0500 (EST) Content-Disposition: inline In-Reply-To: <61c683ce-3f3b-4294-9277-ca1049587765-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::232 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:16839 Archived-At: +++ vimuel [Jan 29 17 03:06 ]: > Is this something you would be happy to see Pandoc flavour Markdown > support, John? > Just asking, because I am a bit into Haskell myself and could try and > code this up at some point. Not sure. There are a lot of complications to consider. If you wanted to use the present AST, then you can store exactly one start number for an ordered list. That could be the last number in the x.y.z sequence. But what if someone writes e.g. 1. one 1.1.1 ??