[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: No italic correction for code @var
From: |
Gavin D. Smith |
Subject: |
branch master updated: No italic correction for code @var |
Date: |
Tue, 13 Sep 2022 21:08:05 -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 350a86ff37 No italic correction for code @var
350a86ff37 is described below
commit 350a86ff37450a2141e626dcab20a090c65049f8
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Sep 14 02:05:55 2022 +0100
No italic correction for code @var
* doc/texinfo.tex (\var) <@set txicodevaristt>:
Call \smartslanted to avoid italic correction in fixed width font
context. Report from Vincent Lefèvre.
---
ChangeLog | 8 ++++++++
doc/texinfo.tex | 13 ++++++-------
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2911cd1ec3..b810759dc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-09-14 Gavin Smith <gavinsmith0123@gmail.com>
+
+ No italic correction for code @var
+
+ * doc/texinfo.tex (\var) <@set txicodevaristt>:
+ Call \smartslanted to avoid italic correction in fixed width font
+ context. Report from Vincent Lefèvre.
+
2022-09-13 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Common.pm (encode_file_name),
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 1b6f054c46..0868107863 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{2022-09-05.20}
+\def\texinfoversion{2022-09-14.01}
%
% Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
%
@@ -2806,12 +2806,11 @@ end
\def\var#1{%
\let\saveaftersmartic = \aftersmartic
\def\aftersmartic{\null\let\aftersmartic=\saveaftersmartic}%
- \ifusingtt{%
- \ifflagclear{txicodevaristt}%
- {{\sl #1}}%
- {{\ttsl #1}}%
- }{{\sl #1}}%
- \smartitaliccorrection
+ %
+ \ifflagclear{txicodevaristt}%
+ {\def\varnext{{{\sl #1}}\smartitaliccorrection}}%
+ {\def\varnext{\smartslanted{#1}}}%
+ \varnext
}
% To be removed after next release
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: No italic correction for code @var,
Gavin D. Smith <=
- Prev by Date:
branch master updated: * tp/Texinfo/Common.pm (encode_file_name), tp/Texinfo/Convert/Converter.pm, tp/Texinfo/Convert/Utils.pm, tp/Texinfo/ParserNonXS.pm, tp/texi2any.pl: remove encode_file_name() $customization_information argument, customization should be taken into account in caller.
- Next by Date:
master updated (350a86ff37 -> 2aa9175daa)
- Previous by thread:
branch master updated: * tp/Texinfo/Common.pm (encode_file_name), tp/Texinfo/Convert/Converter.pm, tp/Texinfo/Convert/Utils.pm, tp/Texinfo/ParserNonXS.pm, tp/texi2any.pl: remove encode_file_name() $customization_information argument, customization should be taken into account in caller.
- Next by thread:
master updated (350a86ff37 -> 2aa9175daa)
- Index(es):