Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Provide papersize for refcard.dvi
@ 2025-08-06 14:53 Vincent Lefevre
  2025-08-06 15:33 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Vincent Lefevre @ 2025-08-06 14:53 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-08-08 17:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-06 14:53 [PATCH] Provide papersize for refcard.dvi Vincent Lefevre
2025-08-06 15:33 ` Eli Zaretskii
2025-08-06 16:00   ` Vincent Lefevre
2025-08-06 16:30     ` Eli Zaretskii
2025-08-06 16:47       ` Vincent Lefevre
2025-08-06 19:02         ` Eli Zaretskii
2025-08-06 22:28           ` Vincent Lefevre
2025-08-07  5:50             ` Eli Zaretskii
2025-08-07  9:05               ` Vincent Lefevre
2025-08-07  9:55                 ` Eli Zaretskii
2025-08-08 16:15                   ` Eli Zaretskii
2025-08-08 17:25                     ` Vincent Lefevre
2025-08-08 17:48                       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox