[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Italic correction on def line
From: |
Gavin D. Smith |
Subject: |
branch master updated: Italic correction on def line |
Date: |
Mon, 30 Dec 2024 18:01:43 -0500 |
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 5bb8873765 Italic correction on def line
5bb8873765 is described below
commit 5bb8873765fe80f8438bc32aac0aeab1dd67c98b
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Dec 30 22:57:36 2024 +0000
Italic correction on def line
* doc/texinfo.tex (\opnr, \cpnr):
add an italic correction before parenthesis.
(\defunargs) <@set codevaristt>:
add a kern at end of redefintion of @var to prevent italic correction.
---
ChangeLog | 9 +++++++++
doc/texinfo.tex | 9 +++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ff49695cf5..0d0f9bf441 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-12-30 Gavin Smith <gavinsmith0123@gmail.com>
+
+ Italic correction on def line
+
+ * doc/texinfo.tex (\opnr, \cpnr):
+ add an italic correction before parenthesis.
+ (\defunargs) <@set codevaristt>:
+ add a kern at end of redefintion of @var to prevent italic correction.
+
2024-12-30 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/texi2any.c (main): free macro expansion file output
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 67907bd740..6395eb0184 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-12-30.00}
+\def\texinfoversion{2024-12-30.21}
%
% Copyright 1985, 1986, 1988, 1990-2024 Free Software Foundation, Inc.
%
@@ -7936,7 +7936,10 @@ might help (with 'rm \jobname.?? \jobname.??s')%
\def\^^M{}% for line continuation
\df \ifdoingtypefn \tt \else \sl \fi
\ifflagclear{txicodevaristt}{}%
- {\def\var##1{{\setregularquotes \ttsl ##1}}}%
+ % use \ttsl for @var in both @def* and @deftype*.
+ % the kern prevents an italic correction at end, which appears
+ % too much for ttsl.
+ {\def\var##1{{\setregularquotes \ttsl ##1\kern 0pt }}}%
#1%
\egroup
}
@@ -7990,10 +7993,12 @@ might help (with 'rm \jobname.?? \jobname.??s')%
% opening and closing parentheses in roman font
\def\opnr{%
+ \ptexslash % italic correction
\global\advance\parencount by 1
{\parenfont(}%
}
\def\cpnr{%
+ \ptexslash % italic correction
{\parenfont)}%
\global\advance\parencount by -1
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Italic correction on def line,
Gavin D. Smith <=