From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14911 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.text.pandoc Subject: Re: Re-open #2889? Or create a new bug? Date: Mon, 02 May 2016 18:33:53 +0200 Message-ID: <87mvo8zafi.fsf@fastmail.fm> References: <6f5f70b7-802d-4fcb-ba05-e211149c890a@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1462206852 19748 80.91.229.3 (2 May 2016 16:34:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 May 2016 16:34:12 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS7B5O6XUOBB5UCT24QKGQEY3PL6RQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 02 18:34:02 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qk0-f190.google.com ([209.85.220.190]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1axGnH-0000mp-PQ for gtp-pandoc-discuss@m.gmane.org; Mon, 02 May 2016 18:33:59 +0200 Original-Received: by mail-qk0-f190.google.com with SMTP id l68sf59916462qkf.0 for ; Mon, 02 May 2016 09:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:references:user-agent:from:to:subject:in-reply-to:date :message-id:mime-version: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=XHFM++zJgAHlWzomTOgPWC0s1/inDCWoovo/mIKlLjk=; b=mPWeAueu13U7PhVL2/87aXG02FieOR5jJiBzX0b5raaookjdVZZJxqayGnYnygPaAR SZJB0zXbBW5lO4wfaBky6sLcoAlvSgcBtn06RdEXs1wumV+dZslP1RgXL+f5yYIuFu+r NIEFQU4lAGUXurGUnaVWS1+bLM6bUJtC2oVTgcl7/0BpsvMmHnGmO5mZEg1uAQSdcXNP ehfTFapkXv1qNL4626eud2if+9UYFdjl3Dc8kbr4osnVV0PBOOKw84x5BidaoeEvU8GA Omu+W7XFubno86zBv/2IfyGWZNfLzWbF/sbdxdbGFXIOA5LrBHzqDKI8yc3gC1SEAfrI dSHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version: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=XHFM++zJgAHlWzomTOgPWC0s1/inDCWoovo/mIKlLjk=; b=TbbszmSrcOTsHoYCB9ockBjbITltPQeG9amEVLxXg01NCMShzuNgRytCAFIOhijwio BeKK/a1h9wGQVppIeVBrv1V7212zcG5VGH1l2L8rJAvnJka9Z65fzKB9xsyePl2EsmqN zqXkusA6HwlbHkW2kBRH6AlSoTb+R8+txudh7UZWda1nqtc3rQjnXZRdmAhGNDPzRj5n n5hVZyBIqCuvxLhvGAL2TQ/VY67vDOkDyJ8MYrKzHlhpw76h9F3Np4m3QFEk5nZlPvnz goJU5fdtNno2FYnwYjmQDap7zEfHIM6oSNAXZAeBcBcaPPema6lHLxxrn5Wvc0l201RL J3SQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOPr4FX5dWPS4LzNdeV8jpgiNnTnZ8BPd5I4ydce9Y4zz8XrSsnYhihwaXhjxA/kR5FtNw== X-Received: by 10.140.100.142 with SMTP id s14mr550179qge.3.1462206839090; Mon, 02 May 2016 09:33:59 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.38.10 with SMTP id s10ls4142739qgs.61.gmail; Mon, 02 May 2016 09:33:58 -0700 (PDT) X-Received: by 10.129.161.69 with SMTP id y66mr24595517ywg.44.1462206838594; Mon, 02 May 2016 09:33:58 -0700 (PDT) Original-Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com. [66.111.4.29]) by gmr-mx.google.com with ESMTPS id vo1si2000262pab.2.2016.05.02.09.33.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 09:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.29 as permitted sender) client-ip=66.111.4.29; Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8D42420BDA for ; Mon, 2 May 2016 12:33:55 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 02 May 2016 12:33:55 -0400 X-Sasl-enc: Qg8ywihC2FoMAyLnMLDJK9jScYfI35RTmZEf90C/T1aJ 1462206835 Original-Received: from IdeaPad.messagingengine.com (x5f774c0f.dyn.telefonica.de [95.119.76.15]) by mail.messagingengine.com (Postfix) with ESMTPA id 01439C00014 for ; Mon, 2 May 2016 12:33:54 -0400 (EDT) User-agent: mu4e 0.9.17; emacs 25.0.92.1 In-reply-to: <6f5f70b7-802d-4fcb-ba05-e211149c890a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@fastmail.fm; dkim=pass header.i=@messagingengine.com; spf=pass (google.com: domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=joostkremers-97jfqw80gc6171pxa8y+qA@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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14911 Archived-At: On Mon, May 02 2016, kurt pfeifle via pandoc-discuss wrote: > I don't know if (or how) I could re-open issue #2889, or wether I should > start a new issue. > > However, I'm experiencing the same (I think) page-overflowing bug as in > issue #2889. In my case I've been using no images, no floats and no tables > (unlike the OP for issue #2889), only headlines so far without any > paragraph texts (since this/was is the early drafting of a longer document). I'd say this is not the same bug, since the original bug is related to longtable, which your document doesn't use. In fact, the effect you're seeing is probably not even a LaTeX bug but a result of the fact that headings aren't supposed to be at the bottom of the page. (La)TeX enforces this by putting a heavy penalty on inserting a page break right after a heading. Normally, this has the effect of moving the heading to the next page, but in your case, the algorithm is confused, because there's no text before the heading (which has no penalty against inserting a page break), but rather another heading, which comes with the same heavy penalty against breaking the page right after it. In effect you're creating a series of text elements that do not allow any page breaks between them. The only way to deal with this is to put them all on the same page, even if this means overflowing the page. A workaround is to put a \newpage after each heading, or some dummy text, or even just a hard space. This is not something Pandoc can fix, and fixing it in (La)TeX might even be undesirable if it increases the possibility of headings appearing at the bottom of a page. -- Joost Kremers Life has its moments