[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 4d16a2f: Fix pdf generation with Texinfo 6.7
From: |
Robert Pluim |
Subject: |
emacs-28 4d16a2f: Fix pdf generation with Texinfo 6.7 |
Date: |
Thu, 25 Nov 2021 09:32:51 -0500 (EST) |
branch: emacs-28
commit 4d16a2f7373a8d328f589b61ade3a2da7275501e
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
Fix pdf generation with Texinfo 6.7
* doc/lispref/display.texi (Size of Displayed Text): Put @group inside
@example (bug#52102).
---
doc/lispref/display.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 386d51a..b1fb9f8 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2026,14 +2026,14 @@ means hide the excess parts of @var{string} with a
@code{display} text
property (@pxref{Display Property}) showing the ellipsis, instead of
actually truncating the string.
-@group
@example
+@group
(truncate-string-to-width "\tab\t" 12 4)
@result{} "ab"
(truncate-string-to-width "\tab\t" 12 4 ?\s)
@result{} " ab "
-@end example
@end group
+@end example
This function uses @code{string-width} and @code{char-width} to find
the suitable truncation point when @var{string} is too wide, so it
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 4d16a2f: Fix pdf generation with Texinfo 6.7,
Robert Pluim <=