texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: @uref line breaking


From: Gavin D. Smith
Subject: branch master updated: @uref line breaking
Date: Fri, 01 Nov 2024 17:13:06 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 752656cc29 @uref line breaking
752656cc29 is described below

commit 752656cc299fc46830a104d0cd7167a459002aca
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Fri Nov 1 21:09:46 2024 +0000

    @uref line breaking
    
    * doc/texinfo.tex (\urefallowbreak): Increase stretch for
    ragged right output from 2 em to 3 em.
    * doc/texinfo-tex-test.texi (URL line breaking): add test cases.
    
    Examples sent by R. Diez.
---
 ChangeLog                 | 10 ++++++++++
 doc/texinfo-tex-test.texi |  8 ++++++++
 doc/texinfo.tex           |  7 ++++---
 3 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7e5f22790c..35840ce7dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-11-01  Gavin Smith <gavinsmith0123@gmail.com>
+
+       @uref line breaking
+
+       * doc/texinfo.tex (\urefallowbreak): Increase stretch for
+       ragged right output from 2 em to 3 em.
+       * doc/texinfo-tex-test.texi (URL line breaking): add test cases.
+
+       Examples sent by R. Diez.
+
 2024-11-01  Patrice Dumas  <pertusus@free.fr>
 
        * README-hacking: update C flags.
diff --git a/doc/texinfo-tex-test.texi b/doc/texinfo-tex-test.texi
index 043ef340e0..9083a9b674 100644
--- a/doc/texinfo-tex-test.texi
+++ b/doc/texinfo-tex-test.texi
@@ -1540,6 +1540,14 @@ first part of the URL: blah blah blah blah blah blah 
blah blah.
 Text to test the justification of the line containing the last part
 of the URL: blah blah blah blah blah blah blah blah.
 
+@itemize
+@item
+Link: 
@url{https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_xds_software_package_download.html#xds110-support-utilities}
+
+@item
+Link: 
@url{https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_xds110.html}
+@end itemize
+
 @chapter Nested URL
 
 In @command{@@lisp}
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 9e8c7c7f31..05403fba2d 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2024-10-31.19}
+\def\texinfoversion{2024-11-01.20}
 %
 % Copyright 1985, 1986, 1988, 1990-2024 Free Software Foundation, Inc.
 %
@@ -3126,11 +3126,12 @@ end
 % at the end of the line, or no break at all here.
 %   Changing the value of the penalty and/or the amount of stretch affects how 
 % preferable one choice is over the other.
+%   Check test cases in doc/texinfo-tex-test.texi before making any changes.
 \def\urefallowbreak{%
   \penalty0\relax
-  \hskip 0pt plus 2 em\relax
+  \hskip 0pt plus 3 em\relax
   \penalty1000\relax
-  \hskip 0pt plus -2 em\relax
+  \hskip 0pt plus -3 em\relax
 }
 
 \urefbreakstyle after



reply via email to

[Prev in Thread] Current Thread [Next in Thread]