Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1369217pxv; Fri, 25 Jun 2021 11:13:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAjth1+vSBA7xxboMFWvejbhOlZ9xAlZ4Q0bv02xH6RICyZBUbnUpkHrdAHN56/RvhTXw5 X-Received: by 2002:a17:906:aed4:: with SMTP id me20mr12338326ejb.225.1624644829642; Fri, 25 Jun 2021 11:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624644829; cv=none; d=google.com; s=arc-20160816; b=XIzBecc/PEQ6hExUTSfdooHmcEig9oLheXdSKTXHfdLMY6bGlguaHgPVkRdqgHjxR6 mn3Rc0cvFFrwPqFtY83j7qGUJ1tQBSp/OzhIW/lW4L0IG7SLsAB85sOw74ynio3XatgZ 43DoceMEcTwely2KMT3vThCG9qMV1RhJUOYlavGwlJknwqILY/37MxyJbzrZKX2U4RGk 33/6J8kVwT37Z0+1aQu2EaIbFr7MQEm6p1zv+b0vDwSIoLdqj1bgbMhKfpvF0TvvT14I l+gvG9ZaFLN+XUaXqX6CBpuJicnF+stvh12Dd15ewm8J1l4un5KszYkE7PQu1gr3pkF3 NebQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ub5R0t/HOafMQBY+xi79Akc8YVDVMHQez2HKRugCwcw=; b=QOlgVR68odkk8jVOi5bpQRwfGWNtqOxD4h60Q9CcgSGsa2UA3SpBsjEGtjFvZyzFBE E9fAD9WGvgHhbL79twuP39BgGTxQmKVp/wTTB5w/I9D6m9PFAwTYbJpHzXlLOKnPawTm 2krppYS31qr9MsqMmfUvyW9JAoLqOVlxUeWaWFXYvJ0SNoo0kRN9q3Xo5a+9FoW2X4Ka uK+sfZNRwuAn2E0ext2VKs1xAfXrhGwL4fK8JzsQuBKR5P5H36r088UsOwhroH+m0PJV vZPFI01NuL8yzs5JYu6kn+hgfpkPs9ALlI2H5/zWYJhbps+ebrLAw/44m2U0Bvhi2Z+z c/gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BtBGEBiL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz21si6355244ejc.507.2021.06.25.11.13.13; Fri, 25 Jun 2021 11:13:49 -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=@kernel.org header.s=k20201202 header.b=BtBGEBiL; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbhFYSNk (ORCPT + 99 others); Fri, 25 Jun 2021 14:13:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:55630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbhFYSNi (ORCPT ); Fri, 25 Jun 2021 14:13:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3ECC761945; Fri, 25 Jun 2021 18:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624644677; bh=ljavae+JwaMWTTQ9gygPEjViWVs4hBz7ZeLQPoxemTY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BtBGEBiLA4QWxTwWKGcURCb6ZGAEdJW1tceujDj4yTvRZC971UrZvBafL3Xm8Qz6B FXDcDKImQrAIUPFeYjohdpyBqHJbGp0O0AotAWtvMOLxCwrXEVg7kQ/kHLQLAMeXuC AhEzn+dvPGwY/9nvm+n+hMrEa7E2Q3EAGkmVWv2lx18PYhT077sVjNXD4GU2olCxgK QV27lBaIb2QIyqHtLg3KAalFJCc5jhHoZkD+IXvC8MVC/0B2XOoN0ucGkPndJmjmlx 5ob63RczVcAtATiPVtPHbVQLgTNxn83tx4whIgOEPt36xCYwIM+8grzWAVtSg9qeI+ 9a3PYOvU45rPA== Date: Fri, 25 Jun 2021 20:11:13 +0200 From: Mauro Carvalho Chehab To: Akira Yokosawa Cc: "Wu X.C." , Jonathan Corbet , SeongJae Park , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/3] docs: pdfdocs: Improve alignment of CJK ascii-art Message-ID: <20210625201113.337b3ecd@coco.lan> In-Reply-To: References: <386938dc-6290-239c-4b4f-c6153f3d98c5@gmail.com> <20210625065524.GA11219@bobwxc.top> <20210625095059.7f97fd62@coco.lan> <20210625122423.4435c5e9@coco.lan> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 25 Jun 2021 20:32:47 +0900 Akira Yokosawa escreveu: > On Fri, 25 Jun 2021 12:24:23 +0200, Mauro Carvalho Chehab wrote: > > Em Fri, 25 Jun 2021 18:22:26 +0900 > > Akira Yokosawa escreveu: > > > >> On Fri, 25 Jun 2021 09:50:59 +0200, Mauro Carvalho Chehab wrote: > [...] > >> > >> One minor problem might be that the Sarasa font needs manual > >> download (and install). > >> > >> Thanks, Akira > > > > If this is not yet packaged as part of texlive packages > > on distros, this won't be a minor issue, as we'll need > > to find procedures and test it for all distros supported > > by the script. > > Existence of "Sarasa Mono SC" can be checked by the command: > > fc-list | grep "Sarasa Mono SC," | grep "style=Regular" | wc -l > > If the result is *not* "0", you have the font somewhere in your > fontconfig path. > > I think this is portable across distros. > Wouldn't this suffice for sphinx-pre-install? No. The sphinx-pre-install tool generate a list of commands needed to install the pre-reqs on a given distro. For instance, if you run on opensuse without texlive, it would print: # ./scripts/sphinx-pre-install Detected OS: openSUSE Tumbleweed 20210515. Sphinx version: 3.5.4 Warning: better to also install "latexmk". ... Warning: better to also install "xelatex". You should run: sudo zypper install --no-recommends texlive-latexmk-bin texlive-amscls texlive-amsfonts texlive-amsmath texlive-anyfontsize texlive-babel-english texlive-capt-of texlive-caption texlive-cmap texlive-colortbl texlive-courier texlive-dvips texlive-ec texlive-eqparbox texlive-euenc texlive-fancybox texlive-fancyvrb texlive-float texlive-fncychap texlive-framed texlive-helvetic texlive-luatex85 texlive-makeindex texlive-mdwtools texlive-metafont texlive-metapost texlive-multirow texlive-needspace texlive-oberdiek texlive-palatino texlive-parskip texlive-polyglossia texlive-preview texlive-psnfss texlive-tabulary texlive-threeparttable texlive-times texlive-titlesec texlive-tools texlive-ucs texlive-upquote texlive-wrapfig texlive-zapfchan texlive-zapfding texlive-xetex-bin The same command, when executed on a different distro will print a different set of packages and commands. Thanks, Mauro