From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18253 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Markdown to LaTeX: unwanted newlines around LaTeX environment Date: Wed, 4 Oct 2017 10:24:23 -0700 Message-ID: <20171004172423.GE20306@protagoras> References: <8729b9a5-1aff-4d3a-a17f-06d8a63beefa@googlegroups.com> <20171003204332.GA14228@protagoras> 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 1507137861 12454 195.159.176.226 (4 Oct 2017 17:24:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2017 17:24:21 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: 'SBJ' via pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBRFS2THAKGQEKFRA2DY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 04 19:24:15 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf0-f187.google.com ([209.85.192.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dznP4-0002TL-1E for gtp-pandoc-discuss@m.gmane.org; Wed, 04 Oct 2017 19:24:14 +0200 Original-Received: by mail-pf0-f187.google.com with SMTP id n73sf3794184pfg.10 for ; Wed, 04 Oct 2017 10:24:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1507137861; cv=pass; d=google.com; s=arc-20160816; b=yh+7KVACaRGCtFUzuHazLhmb4ogRYvmhfUhGP14p8grwpATdbUxOrWW9AQo46o5Lei clP1yU1/PDm7noPAqXMnt5aSgn2gQGlosnRfK9XzkjYk+RUuKIZsKO6X9KB49MEothJo F7fO8O2c92L7cyYKZp8Og8QF4bWGIsWLVSJ0OoOxuwC9lHFQRzjoF7yr4i1vc9U/kWZT u4ULYEmuTu/kxBbDCQNQO9qSXUWSiievFhmhpUWxXxevPHHvgagrszX7/qyrpeUhT3EA z0xJSwmge01W64mPGnoorw+5z1vkVeNuD5gDLM+D4omK1EZhTbFsJgoBdrzDMLOmcR8/ 5muA== 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=OjhncmBGMMp+GNvFaeEnERZct3uJ3sjkLOlcrth4om4=; b=Szoas9zir4qHwqHx/R2kY3/YrK3G9xrhhUSsh8pl/cEOqmDqm69udhW9BlBv4lIghB JOLWuTyANWxJo8B9i6FZo3nK+joZ2mC4FgY5UKi1dHQB4Q4AOLaYwj3/on7ALsgUzanc ZyzLDOAlJJYd5IaYi89cpuT4RnRYYxwmHg6EDclW11GX/M/cebLzerP2ytNUf5AImGBH o8IvscImTYbvvMt6W0Zaekn1EYC3dzee0BInfiui8sUBU4qHJWix+pdWwjtspm0oUvHf unRFWmRkAmfSsD6TCVYESyEVe8aN/kD9X6gA0FoekTyQD+xR1hXeTPO1iuJyySEI0aZn ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=jqxoWSMV; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 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=OjhncmBGMMp+GNvFaeEnERZct3uJ3sjkLOlcrth4om4=; b=TVaZMIQMtg3JWHWOZB5xvcBGjVMmbgVIesR0FgGbzgp32P90GstDXoDcxd/56wrvef +g2pvD+M6Irf3uRVqBDscQ8gyzqav0jqx+WiUo/Ay+5iWSAxgyXz9rq6xc5l6cznXUhP x1Jrr7MO+n1iM9sdcLNfcW7cUHCGOCx1A65L1pxHeGTwpoCydNkwYyrAx2zLziKEyuBH 8xpoQYKGK7HoD1W3TplMv+dYJMrXDeNClZOSRmVqfyOqx1RoiDfB9xDBULhVjGz/m98B V8szJtIwR5uhcART9Wo5b4fk189ODlnet0W8PnvY1Nnq0bnP/Sh0iVuHjWjo5nXEHr0w xS7g== 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=OjhncmBGMMp+GNvFaeEnERZct3uJ3sjkLOlcrth4om4=; b=Yn0dlxG+hLUh9jkM6ukynduIU+iyRNJUqSmtRVI7/5/JvP00ZsrCGCW8ve9LPDkaS5 RUOteaasdmLS3YKdhcWsJDkNSaC9Ov+YKwX4BInPmhdhZvI56BTYNnfmUeBakYLgG2n3 tX08pp1f5SUxQRZ5yI7xNgLlLvij/rL6bAUagDPJqZz8Ozyo1vYZ1uQN4pVJW1C2CgbG rqWwQiTg6hzuSjf3oRbXBNlA74oaLrAcinOw1xk7Njc8niSzZabt856KBQosiXHswEY1 NcTYvQoiKJnsAfIpj83cwhT39svr2ihIODy7NGD1H7gSzzXlKFKDCeoBnR6CA6YktjVo Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaU25dY2aCML3GxCCQ+lus93OvvoBNMv2Kx3ky5ximrtU1fopeu7 dJ55OM9b4teQVuWIyzj72+c= X-Google-Smtp-Source: AOwi7QCt4i4N/5Cko9MA8ldvlthPZxUvEnMT+OL807N8SdAxAEEsX7ult+v7fBmfkpePjgUX/UgBmQ== X-Received: by 10.36.43.205 with SMTP id h196mr129112ita.10.1507137861308; Wed, 04 Oct 2017 10:24:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.98.185.6 with SMTP id z6ls5226185pfe.1.gmail; Wed, 04 Oct 2017 10:24:20 -0700 (PDT) X-Received: by 10.99.121.77 with SMTP id u74mr2155920pgc.25.1507137860151; Wed, 04 Oct 2017 10:24:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507137860; cv=none; d=google.com; s=arc-20160816; b=COpcx9RZF5Mm/GjYwyGaRCCwENwKjVhe4FYGRu9TrXftQmLcfLWgdssJkr5H4trmWk 5A9/QP3cd2+H5QNA9m85Ra126whCqul4w4APxZJoZ/PSd2QPIGwJ+kdcH5dwixmzIx6U Jv31e2FdvtdqACMIz7h8QFhuqQJXAuh+g5Qq8Y2CbxSYeBYh6NrGseyBcQHXisVPyyNa pjtHUaFE2MWl+vLB2jBxUA6z5dXOgJn181eyusDBbu7lsQXLZrqBdOYccexCXAasLu9f rRI5vVYlBx5GbGx5qmmwnoh+Ivi//8ASG8/o0gaUgWu/Hk+C1N/X8svTD7rkCP4/YSYZ 5RKQ== 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=dEayKg7UGNCvjVuXoJpbcQaZWVcl1/UpICGW09HZ5Bw=; b=UmJiEV63C9zHjroFXwt3N86PBeiWC2I0Zbh7hwtMT3FB3QIS12e8MF53Qj2k3ogPSt EHBeqlXqJWq5SATEW9PcU5yjnWBPe8/xxsV9DjyU5Wv/SEbtaI+hkB7FVcIjutnxV0p/ NowYOjPc7Majd9ljXn2OH2nLUx688bDhCSRcEl/RRaQ0yTJk9jz/1qilCndyTtW7I9st qCpj8awBPz05YaaRTjlYXd/OPzIZ4tqLu5v3Z6/rRSbV7toDZCDofDjp9F88plDnDOBC 8qjhUOzFrf3XoSw/RqrY5LcU8DqeV4LKF4b6Q2YZ9N+AlYmyywjoMXEJz9uR87cz7FQr mBfw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=jqxoWSMV; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com. [2607:f8b0:400e:c00::231]) by gmr-mx.google.com with ESMTPS id h3si1886323pfk.9.2017.10.04.10.24.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 10:24:20 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 as permitted sender) client-ip=2607:f8b0:400e:c00::231; Original-Received: by mail-pf0-x231.google.com with SMTP id d2so3392388pfh.0 for ; Wed, 04 Oct 2017 10:24:20 -0700 (PDT) X-Received: by 10.99.165.77 with SMTP id r13mr12229295pgu.331.1507137859522; Wed, 04 Oct 2017 10:24:19 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id o6sm13287897pgs.24.2017.10.04.10.24.17 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Oct 2017 10:24:18 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id C8C85A1C5; Wed, 4 Oct 2017 13:24:06 -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=jqxoWSMV; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::231 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:18253 Archived-At: +++ 'SBJ' via pandoc-discuss [Oct 04 17 05:35 ]: > I can confirm that Pandoc 2.0 (dev) renders this without the additional > newlines, as shown below. Note, however, that there are now two > linebreaks fewer before and after the environment, respectively > (compared to the old output), so that the entire environment is now > inlined with the rest of the LaTeX source. pdflatex does not seem to > take issue with this and renders it correctly, but I wanted to point it > out nevertheless. Yes, I'm aware of this, but it's not a problem; the latex is valid. > Also, thank you for developing Pandoc. Besides being conceptually > interesting, I find it incredibly useful for my day-to-day work. You're welcome!