From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0s1rIH5sk2jzQQUAWB0awg (envelope-from ) for ; Wed, 06 Aug 2025 10:53:50 -0400 Received: by simark.ca (Postfix, from userid 112) id 754BF1E100; Wed, 6 Aug 2025 10:53:50 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.0 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E6D451E091 for ; Wed, 6 Aug 2025 10:53:49 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 830C33858CD1 for ; Wed, 6 Aug 2025 14:53:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 830C33858CD1 Received: from cventin.lip.ens-lyon.fr (cventin.lip.ens-lyon.fr [140.77.13.17]) by sourceware.org (Postfix) with ESMTPS id 91E453858C55 for ; Wed, 6 Aug 2025 14:53:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 91E453858C55 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vinc17.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vinc17.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 91E453858C55 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.77.13.17 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1754491985; cv=none; b=l2opyKcfsAOEYcySKFIjDR+6ax2KtJ7LE23yjHoCMTqAyggbS9SgIdpHIpfqM7u+hJhCg4mFD6vD/6J9Y/Rm7tbPZGdB4Rzg2I6ziteu39Fv7V0KwHo2aZLtz+O/xc1fX6rn9r8CDavpAPIHmoVccgYBiodAayGbFHc3avMiaY8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1754491985; c=relaxed/simple; bh=U3MSvAlP9IRxquNeSwcV3IR66JUxwGHJI8/FVJ51nSw=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=iy8/cKBpatMhk92WLZAK+TML9BD2tFKZsNo8Tz8VYFjAW44el6/uoWd+/Nk5TBiUblY73yoX+wF+C1dPNLbCowYJ6ExLOi+o8wCvB417XoiBO0c74Bpyp+uYdfcB1qCI7IIW/OBenuiJyPu52Y/Y8EWkzpIpuIxtqWh/BAMylIg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 91E453858C55 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98.2) (envelope-from ) id 1ujfVo-00000000Cjd-0xrG; Wed, 06 Aug 2025 16:53:04 +0200 Date: Wed, 6 Aug 2025 16:53:04 +0200 From: Vincent Lefevre To: gdb-patches@sourceware.org Subject: [PATCH] Provide papersize for refcard.dvi Message-ID: <20250806145304.GA48050@cventin.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.13+86 (bb2064ae) vl-169878 (2025-02-08) X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org This patch provides papersize information for "refcard.dvi". Without this, xdvi uses the default papersize configured on the machine to display the dvi file; this may yield truncated output: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=461815;filename=refcard-dvi.png;msg=15 This patch fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461815 Other explanations are given at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461613 diff --git a/gdb/doc/refcard.tex b/gdb/doc/refcard.tex index 8a402620bcc..9628c1d20fe 100644 --- a/gdb/doc/refcard.tex +++ b/gdb/doc/refcard.tex @@ -100,6 +100,7 @@ \pdfpagewidth=\totalwidth % width of paper in pdf output \pdfpageheight=\totalheight % height of paper in pdf output \fi +\special{papersize=11in,8.5in} % for dvi output %------- end papersize params %% %% change according to personal taste, not papersize dependent