From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by sourceware.org (Postfix) with ESMTP id BBCD43839DAE for ; Fri, 25 Nov 2022 20:34:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBCD43839DAE Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.crashing.org Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 2APKXrBF005626; Fri, 25 Nov 2022 14:33:53 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 2APKXre5005625; Fri, 25 Nov 2022 14:33:53 -0600 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 25 Nov 2022 14:33:53 -0600 From: Segher Boessenkool To: Jan-Benedict Glaw Cc: gcc-help@gcc.gnu.org Subject: Re: `make pdf`: How is papersize configured? Message-ID: <20221125203353.GK25951@gate.crashing.org> References: <20221125174516.acz44wyqdngdyafk@lug-owl.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221125174516.acz44wyqdngdyafk@lug-owl.de> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi! On Fri, Nov 25, 2022 at 06:45:16PM +0100, Jan-Benedict Glaw wrote: > That's a kind of silly question, but I've got two Debian hosts > (actually the host itself and a Docker VM) that build either a4 or > letter documentation. Both are in theory configured to produce a4 > content by default (ie. `paperconfig --paper a4`). > > How can I force to specifically create A4 or Letter sized docs? As far as I can see it always uses letter, the way it is set up now. You can use the following patch for A4. There also is a texinfo.cnf thing apparently, I have no experience with that, but see . Enjoy, Segher diff --git a/gcc/doc/include/texinfo.tex b/gcc/doc/include/texinfo.tex index a5a7b2beac73..04a3cb78d641 100644 --- a/gcc/doc/include/texinfo.tex +++ b/gcc/doc/include/texinfo.tex @@ -10011,3 +10011,5 @@ directory should work if nowhere else does.} @ignore arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115 @end ignore + +@afourpaper