Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp728058pxt; Thu, 12 Aug 2021 08:19:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9YG/ovPf0GrLGq8h4EqVMBNabEv+NlH26p6V2tPFPHID5i9oHuDphlavxEhVNU6GneEG1 X-Received: by 2002:a05:6402:1d3c:: with SMTP id dh28mr2863489edb.257.1628781568298; Thu, 12 Aug 2021 08:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628781568; cv=none; d=google.com; s=arc-20160816; b=D4AQOp+6sZ6sgyKedf/aNh3tNgSrgfIQ6GyLQthObpasooAkwZB2K9nsnU9KtIn3Gu Q0MV0yxhHrCpv6R7VArRvVnJnIpsjU+gisSZ1rstE4qGVFFI0zj8SXwas84u2OKHrKYD dJnp/T8nYm4BQux00hZalgMRXf2hnGZhsw6IlON7VeXFmCXyXHADwkdWkzbSRd2IbcR1 /Zdbf2takafhoJhgR7JuONycirLCjDgA2y7uRfwPnUkQfb0j9Gpern24eHKD+1iZryaK kZSc/OrXqWuUL4Dv3b0m26wn8BVD5ZaqWMNHPo5SvVuXlic1R0qH8oFspqFAbxnwmoFQ 4pMg== 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=a8LZlyseXL7U1N9SiZ6h5AOFYpay72/lYctmNRaVE0w=; b=cvAnHs+x5EWLKWgAZkjwRRRp6l1dvLizJnat5Y2wt9sAtsNl7jJh//jClZXSmUiDNQ XgWbNu1qGboqe9LaP8HwRAPFz9Pn6XICSfrOssHrf/0XLS3zDf08+nHBt8OJfOcEKxpg iSOK4H5+ubqJEPf/tKVihhnCslYCmVixPoOPkOr43VslYqaTfF2K9imm0/sbxikpumPI PduR83okpmWOSHAYeTHal3ZNwgKi67JhdG631mtt0i+VnuUaSyv299JalN5huF5R09hv Oh25qpG/fI6YiqOuNjUWpaQ/SNbvgG1vZOx4VUNj/v+JeVt+++sJfDPfmtpr/IiLkK9Y OesA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=sxy7WUey; 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 s12si2429922ejc.488.2021.08.12.08.19.04; Thu, 12 Aug 2021 08:19:28 -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=sxy7WUey; 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 S236408AbhHLOnW (ORCPT + 99 others); Thu, 12 Aug 2021 10:43:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233079AbhHLOnV (ORCPT ); Thu, 12 Aug 2021 10:43:21 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2727BC061756; Thu, 12 Aug 2021 07:42:56 -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 95F9E44A; Thu, 12 Aug 2021 14:42:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 95F9E44A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1628779369; bh=a8LZlyseXL7U1N9SiZ6h5AOFYpay72/lYctmNRaVE0w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=sxy7WUeyyGT7NSGh4nvBp44k+MrhNai/h0ktuqdhT+FftHXqHQhR+oGGxulnW1UbL MoNeajOvjuoe8AF3geJy0UpMb5mWgKLzio63WWbBovuuXkD8GDrAs67Pn4JOtFqwWM SoZNqMeQck6M+EWEJY9Id1DChWRI+W5PTLLHdNk0hUIyKRPFe+xcWLTypNylI48lrp Rp1Vwhm4bBZKyZWoDoeRjbjP+5cjXY4UINU2X6fy/WZMJMo2gkkeK9itKoYyJ7K58F uGUUfeRu6D/6KVrmVftwZxpyTjKf8LGM6Wrx8d7A4ZsE88lHqVuECYuehTvAWgTFHU PRC95wZApfm4g== From: Jonathan Corbet To: Akira Yokosawa , Mauro Carvalho Chehab Cc: "Wu X.C." , SeongJae Park , Hu Haowen , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Akira Yokosawa Subject: Re: [PATCH v3 6/9] docs: pdfdocs: One-half spacing for CJK translations In-Reply-To: <8e70e5ed-c0d9-a0f0-6640-a0f1ebdda6d4@gmail.com> References: <8e70e5ed-c0d9-a0f0-6640-a0f1ebdda6d4@gmail.com> Date: Thu, 12 Aug 2021 08:42:48 -0600 Message-ID: <87im0a207r.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: > On Mon, 2 Aug 2021 18:56:16 +0900, Akira Yokosawa wrote: >> CJK documents are much easier to read with a wider baseline stretch. >> Applying the onehalfspacing option of "setspace" package looks >> reasonable. >> >> Note: \usepackage{setspace} needs to be before that of hyperref in the >> preamble. The 'extrapackages' key (available since Sphinx 2.3) is for >> this purpose. > > Sphinx versions < 2.3 ignore 'extrapackages' and generate LaTeX > sources without setspace package. > Obviously, building such LaTeX sources will end up in the error of: > > ! Undefined control sequence. > \kerneldocCJKoff ...exeCJKinactive \singlespacing > > Current requirement to build pdfdocs is Sphinx 2.4.4, but LaTeX > sources generated by 1.7.9 can at least be built prior to this change. > > Jon, Mauro, do you think this is a regression? Having the build just fail that way isn't really a good thing...it would be far better to do the baseline tweaking only with versions of sphinx that support it or, failing that, to at least refuse to build with a suitably informative message. Thanks, jon