Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2772580pxb; Tue, 12 Oct 2021 13:11:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye7Qa5QAq+VxHv3lTYLp4rVg2IKF0xx9K/VLrMuL9TBVggdw236mEZvCjrkNhwtnFlQN1z X-Received: by 2002:a63:c5d:: with SMTP id 29mr24911847pgm.100.1634069492016; Tue, 12 Oct 2021 13:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634069492; cv=none; d=google.com; s=arc-20160816; b=od3wzVU/zYjxuilGkVZYn6CtqT4Md9dNLaaEu/baes7TPobcmOkqgknzO/Pq7xL6C2 agRf1Y6umB5uMH8s9wJmDpYNXk6bLi76r2EXjFLLgzoKkuG+FE7ijMb8cjHPtLkiwp9a 17mj+d8v7rUFqg3eBC04CheMTIM7u7R/JZpW/FHuZsWgo09tm236utEm5DJpc3yd3ZIq 6mDJSCYN+qyQ2oFKVR5XoieRxoG3TzyDrmldjV1FO+IWGIwT/TrBQC4c8mOVnq5ZW59D 1sG7a4ctsrW8y86ix447S9Gt5oKtNHrPMFSmvZg3XS0nsfob4XviCPQMLYlwcYNbA07a st+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=zxIqeYDiMyPPDwY3JGMtAhMaTDV44x2D+hOurfXa1sk=; b=evTHMrlMCydxIlwFQLRKODAFXggYB49rtKeYisurb3zxfYxo6+DVH5P3bbxbEd6cmW npWJhnolITJLZkxyknA1znuNgm9VmKCktYj4couXPAjIOtKeNZ/5qc37pJlWiGKwU+eh qKI0LSJ0PCAyni94uBW/bdWLqGCHp2Fx/GmfiaKBhONurbxpvQCXuoXW7OGH5UapDRv9 7vW3ilSLP29X9LHxLXfme1a+4jG5CJPXt4Px5gwjNjQK+1kpV5kQ19INQZLJZ+oizj3W 5Dfryp5dyvqAQuexEZjaicztaclAkJK6XTJiwf2tUJs29ZBNqDIRdK+J+U0SwGgnifz7 qtkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=e1HqYa43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si19099046plc.80.2021.10.12.13.11.17; Tue, 12 Oct 2021 13:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=e1HqYa43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233844AbhJLULS (ORCPT + 99 others); Tue, 12 Oct 2021 16:11:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233112AbhJLULS (ORCPT ); Tue, 12 Oct 2021 16:11:18 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AE94C061570; Tue, 12 Oct 2021 13:09:16 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id EBFA7867; Tue, 12 Oct 2021 20:09:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net EBFA7867 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1634069356; bh=zxIqeYDiMyPPDwY3JGMtAhMaTDV44x2D+hOurfXa1sk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=e1HqYa43JiBAiw8JnNonutF/hvyDK2r/lr0romX6CuVuCPkhHtmPDihnjQwhJFHJm CnQn72kHvTN72RNoLQCUwKGk/IARriNkQ0d7YLL2apzciF0GLD6Z+TzVfNuKU8rFEb 0JpW3YkY02dq4w24dH1w7HsPyF4zbwMl+4i8socpxXy2sapfJET1BtQ2qbqn9sOVfM VK7mweXTwbIawz7J/EPoZEAbDHhRe2GcH55Vuy4x3doycTKkAjfRMSpnCH5UtTTAF/ yP0QWIVUldB+GmeuaitLrKSeZ+wwjOFy+3ceLYsi5nM220TKZeuRfLOIvjRol1zpl8 +AcAx71gB1nLA== From: Jonathan Corbet To: Akira Yokosawa Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: pdfdocs: Adjust \headheight for fancyhdr In-Reply-To: References: Date: Tue, 12 Oct 2021 14:09:15 -0600 Message-ID: <87wnmit384.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Akira Yokosawa writes: > Fancyhdr prior to v4.0 outputs a message per document as follows: > > Package Fancyhdr Warning: \headheight is too small (12.0pt): > Make it at least 13.59999pt. > We now make it that large for the rest of the document. > This may cause the page layout to be inconsistent, however. > > Fancyhdr v4.0 complains (once a page!) as follows: > > Package fancyhdr Warning: \headheight is too small (12.0pt): > (fancyhdr) Make it at least 13.59999pt, for example: > (fancyhdr) \setlength{\headheight}{13.59999pt}. > (fancyhdr) You might also make \topmargin smaller to compensate: > > (fancyhdr) \addtolength{\topmargin}{-1.59999pt}. > > Related item in fancyhdr v4.0 announcement on 2021-01-04 [1]: > > Backward incompatible changes: > - Eliminate adjustments of \headheight or \footskip, when the > header or footer is too high. > > [1]: https://www.ctan.org/ctan-ann/id/mailman.2685.1609863692.2532.ctan-ann@ctan.org > > Silence the warnings by adding a couple of \addtolength commands in > the preamble. > > Signed-off-by: Akira Yokosawa > --- > Hi, > > This update doesn't have much visual effects in the final PDFs > (adjustment of only 1.6pt), but getting rid of harmless warnings > would help spot potential important ones. > > Tested against Sphinx versions 2.4.4 and 4.2.0, with Tex Live > versions 2017/debian (Ubuntu 18.04), 2019/debian (Ubuntu 20.04), > and vanilla 2021 (as of 2021-10-08). > > Thanks, Akira > -- > Documentation/conf.py | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks. jon