[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: @set txidefnamenospace in LaTeX
From: |
Gavin D. Smith |
Subject: |
branch master updated: @set txidefnamenospace in LaTeX |
Date: |
Wed, 27 Jul 2022 19:10:12 -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 ed3da518ac @set txidefnamenospace in LaTeX
ed3da518ac is described below
commit ed3da518acd3c68214c3f1f604a38776351b2d22
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Jul 28 00:10:04 2022 +0100
@set txidefnamenospace in LaTeX
* tp/Texinfo/Convert/LaTeX.pm (_convert) <@def*>:
Correct check for whether txidefnamenospace was in effect for
block.
---
ChangeLog | 8 ++++++++
tp/Texinfo/Convert/LaTeX.pm | 2 +-
tp/t/results/def/omit_def_space.pl | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 82864ce2bb..62dc1cfc8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-07-27 Gavin Smith <gavinsmith0123@gmail.com>
+
+ @set txidefnamenospace in LaTeX
+
+ * tp/Texinfo/Convert/LaTeX.pm (_convert) <@def*>:
+ Correct check for whether txidefnamenospace was in effect for
+ block.
+
2022-07-27 Patrice Dumas <pertusus@free.fr>
Text for contents for @*ref in section title in LaTeX
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 1526247453..7faee7969c 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -3451,7 +3451,7 @@ sub _convert($$)
$name = '';
}
my $def_space = ' ';
- if ($self->{'values'}->{'txidefnamenospace'}) {
+ if ($element->{'parent'}->{'extra'}->{'omit_def_name_space'}) {
$def_space = '';
}
diff --git a/tp/t/results/def/omit_def_space.pl
b/tp/t/results/def/omit_def_space.pl
index c7c9b3633a..bf87ced436 100644
--- a/tp/t/results/def/omit_def_space.pl
+++ b/tp/t/results/def/omit_def_space.pl
@@ -363,7 +363,7 @@ $result_converted_errors{'html'}->{'omit_def_space'} = [
$result_converted{'latex'}->{'omit_def_space'} = '
-\\noindent\\texttt{function \\bgroup{}\\normalfont{}\\textsl{(arg1,
arg2)}\\egroup{}}\\hfill[Function]
+\\noindent\\texttt{function\\bgroup{}\\normalfont{}\\textsl{(arg1,
arg2)}\\egroup{}}\\hfill[Function]