From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4F2213B791; Tue, 27 Feb 2024 13:52:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709041972; cv=none; b=BWYXva/4TuGqfkw1XE2er/mTgsHlT9e/gCnK0nugc7yCkmhhPxtdVHIUcPU2wYARIaoNS+OaZsYn8y06rRx/6iRSEJGWuivucRj6z0YP4DRkS1AvT9wiCoC9EVrVvmFn4SZzUKfy/6YZNY3r5TZx0APSbSU6mBD0fEPxhN76cMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709041972; c=relaxed/simple; bh=TeZjHKaf3pmRWDz+DEbvGA3pV5xap/ODMGpby4ShRcQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pOpb4VfhZwEFCo2ERkbksPOwsD3ikCZKnSbQu2BXCQkZVc7o7mzmY8yCrO/WMIUD6tTh24Q+deyjsPIHBeJuPKFtQdI8jcKyeRIsNpgMT5++UR/NtGGoRH79fdusB+K83h5npeGghc0lCsXmbhoN5c5/8Qx0r/O0t9MveNkkf4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Wisey5cm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Wisey5cm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46A5AC43394; Tue, 27 Feb 2024 13:52:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709041972; bh=TeZjHKaf3pmRWDz+DEbvGA3pV5xap/ODMGpby4ShRcQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wisey5cmK1sAIClHO3WtQoeEyNntp1VULce4tLTXIEmN7dEQ8UcQzXo1XTa2e/QAx Th+4r2/bpd0ervexiqhKHig/ohZ5/NbtEY0BEnIMWTvYpCf9krqU8ukNFqIvyavFYK YlKDaWa7Unssez2Vx7i/hfcO5Hvq49B/wY1hcQ7c= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Akira Yokosawa , Jonathan Corbet Subject: [PATCH 6.6 135/299] docs: Instruct LaTeX to cope with deeper nesting Date: Tue, 27 Feb 2024 14:24:06 +0100 Message-ID: <20240227131630.203324121@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240227131625.847743063@linuxfoundation.org> References: <20240227131625.847743063@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jonathan Corbet commit 0df8669f69a8638f04c6a3d1f3b7056c2c18f62c upstream. The addition of the XFS online fsck documentation starting with commit a8f6c2e54ddc ("xfs: document the motivation for online fsck design") added a deeper level of nesting than LaTeX is prepared to deal with. That caused a pdfdocs build failure with the helpful "Too deeply nested" error message buried deeply in Documentation/output/filesystems.log. Increase the "maxlistdepth" parameter to instruct LaTeX that it needs to deal with the deeper nesting whether it wants to or not. Suggested-by: Akira Yokosawa Tested-by: Akira Yokosawa Cc: stable@vger.kernel.org # v6.4+ Link: https://lore.kernel.org/linux-doc/67f6ac60-7957-4b92-9d72-a08fbad0e028@gmail.com/ Signed-off-by: Jonathan Corbet Signed-off-by: Greg Kroah-Hartman --- Documentation/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -383,6 +383,12 @@ latex_elements = { verbatimhintsturnover=false, ''', + # + # Some of our authors are fond of deep nesting; tell latex to + # cope. + # + 'maxlistdepth': '10', + # For CJK One-half spacing, need to be in front of hyperref 'extrapackages': r'\usepackage{setspace}',