texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: No special output for @t in def args


From: Gavin D. Smith
Subject: branch master updated: No special output for @t in def args
Date: Wed, 10 Aug 2022 11:59:14 -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 21dfad1484 No special output for @t in def args
21dfad1484 is described below

commit 21dfad1484c34c552bbf7e44f506e550fda4e9ac
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Aug 10 16:57:16 2022 +0100

    No special output for @t in def args
    
    * tp/Texinfo/Convert/LaTeX.pm (%var_slant_commands):
    Remove @t.  From Patrice.
---
 ChangeLog                                          |  7 +++++
 tp/Texinfo/Convert/LaTeX.pm                        |  1 -
 .../res_latex/definition_commands.tex              | 30 +++++++++++-----------
 3 files changed, 22 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1d49232955..fe77ffefaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-08-09  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       No special output for @t in def args
+
+       * tp/Texinfo/Convert/LaTeX.pm (%var_slant_commands):
+       Remove @t.  From Patrice.
+
 2022-08-10  Patrice Dumas  <pertusus@free.fr>
 
        No code environment for @var on @def lines
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 323cd73c07..ae7a89c71e 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -697,7 +697,6 @@ foreach my $typewriter_command (@typewriter_commands) {
 my %var_slant_commands = (
   'var' => '\\rmfamily \\slshape',
   'code' => '\\upshape \\ttfamily',
-  't' => '\\upshape \\ttfamily',
 );
 
 my @quoted_commands = ('samp', 'indicateurl');
diff --git 
a/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
 
b/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
index d31afa207c..7bf3693147 100644
--- 
a/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
+++ 
b/tp/t/results/converters_tests/definition_commands/res_latex/definition_commands.tex
@@ -131,14 +131,14 @@ deffn r slanted for \textsl{a---rg1} and \textsl{a--rg2}
 
\cs_undefine:N{\embrac_texttt:nn}\cs_undefine:N{\embrac_orig_texttt:n}\cs_undefine:N{\__embrac_texttt:n}%
 \ExplSyntaxOff%
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{(var 
\EmbracMakeKnown{texttt}{\upshape \ttfamily [}from to {\upshape \ttfamily 
[}inc{\upshape \ttfamily ]]}) t}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{(var 
\EmbracMakeKnown{texttt}\texttt{[}from to \texttt{[}inc\texttt{]]}) 
t}}\EmbracOff{}}\hfill[Special Form]
 
 
 \ExplSyntaxOn%
 
\cs_undefine:N{\embrac_texttt:nn}\cs_undefine:N{\embrac_orig_texttt:n}\cs_undefine:N{\__embrac_texttt:n}%
 \ExplSyntaxOff%
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{(var 
\EmbracMakeKnown{texttt}{\upshape \ttfamily 
\EmbracMakeKnown{textbf}\textbf{[}}from to {\upshape \ttfamily 
\textbf{[}}inc{\upshape \ttfamily \textbf{]]}}) 
t:b}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{(var 
\EmbracMakeKnown{texttt}\texttt{\EmbracMakeKnown{textbf}\textbf{[}}from to 
\texttt{\textbf{[}}inc\texttt{\textbf{]]}}) t:b}}\EmbracOff{}}\hfill[Special 
Form]
 
 
 \ExplSyntaxOn%
@@ -161,7 +161,7 @@ deffn r slanted for \textsl{a---rg1} and \textsl{a--rg2}
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{(var 
\EmbracOff{}\textnormal{{\upshape \ttfamily [}}\EmbracOn{}from to 
\EmbracOff{}\textnormal{{\upshape \ttfamily 
[}}\EmbracOn{}inc\EmbracOff{}\textnormal{{\upshape \ttfamily ]]}}\EmbracOn{}) 
r:t}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{(var 
\EmbracOff{}\textnormal{\texttt{[}}\EmbracOn{}from to 
\EmbracOff{}\textnormal{\texttt{[}}\EmbracOn{}inc\EmbracOff{}\textnormal{\texttt{]]}}\EmbracOn{})
 r:t}}\EmbracOff{}}\hfill[Special Form]
 
 
 
@@ -198,14 +198,14 @@ separators
 
\cs_undefine:N{\embrac_texttt:nn}\cs_undefine:N{\embrac_orig_texttt:n}\cs_undefine:N{\__embrac_texttt:n}%
 \ExplSyntaxOff%
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar 
\EmbracOn{}\textnormal{\textsl{\EmbracMakeKnown{texttt}{\upshape \ttfamily 
va{-}{-}{-}riable} t}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar 
\EmbracOn{}\textnormal{\textsl{\EmbracMakeKnown{texttt}\texttt{va{-}{-}{-}riable}
 t}}\EmbracOff{}}\hfill[Special Form]
 
 
 \ExplSyntaxOn%
 
\cs_undefine:N{\embrac_texttt:nn}\cs_undefine:N{\embrac_orig_texttt:n}\cs_undefine:N{\__embrac_texttt:n}%
 \ExplSyntaxOff%
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar 
\EmbracOn{}\textnormal{\textsl{\EmbracMakeKnown{texttt}{\upshape \ttfamily 
\EmbracMakeKnown{textbf}\textbf{va{-}{-}{-}riable}} 
t:b}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar 
\EmbracOn{}\textnormal{\textsl{\EmbracMakeKnown{texttt}\texttt{\EmbracMakeKnown{textbf}\textbf{va{-}{-}{-}riable}}
 t:b}}\EmbracOff{}}\hfill[Special Form]
 
 
 \ExplSyntaxOn%
@@ -228,7 +228,7 @@ separators
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar 
\EmbracOn{}\textnormal{\textsl{\EmbracOff{}\textnormal{{\upshape \ttfamily 
va{-}{-}{-}riable}}\EmbracOn{} r:t}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar 
\EmbracOn{}\textnormal{\textsl{\EmbracOff{}\textnormal{\texttt{va{-}{-}{-}riable}}\EmbracOn{}
 r:t}}\EmbracOff{}}\hfill[Special Form]
 
 
 
@@ -253,7 +253,7 @@ name
 
 
 
\index[fn]{\textbackslash{}f(fn@\texttt{\texttt{\textbackslash{}f(}\textnormal{\textsl{fn}}\texttt{}}}%
-\noindent\texttt{\texttt{\textbackslash{}f[}\textnormal{\textsl{font}}\texttt{]}
 \EmbracOn{}\textnormal{\textsl{\EmbracMakeKnown{texttt}{\upshape \ttfamily 
\textbackslash{}f[}\EmbracOff{}\textnormal{\textsl{font}}\EmbracOn{}{\upshape 
\ttfamily ]}}}\EmbracOff{}}\hfill[Escape\hbox{}sequence]
+\noindent\texttt{\texttt{\textbackslash{}f[}\textnormal{\textsl{font}}\texttt{]}
 
\EmbracOn{}\textnormal{\textsl{\EmbracMakeKnown{texttt}\texttt{\textbackslash{}f[}\EmbracOff{}\textnormal{\textsl{font}}\EmbracOn{}\texttt{]}}}\EmbracOff{}}\hfill[Escape\hbox{}sequence]
 
 
 \ExplSyntaxOn%
@@ -272,14 +272,14 @@ to \textsl{font} (one-character name\hbox{}\textsl{f}, 
two-character name
 \textsl{fn}).
 \end{quote}
 
-\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{[ 
\EmbracOff{}\textnormal{[}\EmbracOn{} \textsl{[} 
\EmbracMakeKnown{texttt}{\upshape \ttfamily [} {\upshape \ttfamily [} 
\EmbracOff{}\textnormal{\textsl{[}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily [}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily \textsl{[}}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily [}}\EmbracOn{} , 
\EmbracOff{}\textnormal{,}\EmbracOn{} \textsl{,} {\upshape \ttfamily ,} 
{\upshape [...]
+\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{[ 
\EmbracOff{}\textnormal{[}\EmbracOn{} \textsl{[} 
\EmbracMakeKnown{texttt}{\upshape \ttfamily [} \texttt{[} 
\EmbracOff{}\textnormal{\textsl{[}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily [}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily \textsl{[}}}\EmbracOn{} 
\EmbracOff{}\textnormal{\texttt{[}}\EmbracOn{} , 
\EmbracOff{}\textnormal{,}\EmbracOn{} \textsl{,} {\upshape \ttfamily ,} 
\texttt{,} \EmbracOff{}\textnorma [...]
 
 
 \ExplSyntaxOn%
 
\cs_undefine:N{\embrac_texttt:nn}\cs_undefine:N{\embrac_orig_texttt:n}\cs_undefine:N{\__embrac_texttt:n}%
 \ExplSyntaxOff%
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{[] 
\EmbracOff{}\textnormal{[]}\EmbracOn{} \textsl{[]} 
\EmbracMakeKnown{texttt}{\upshape \ttfamily []} {\upshape \ttfamily []} 
\EmbracOff{}\textnormal{\textsl{[]}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily []}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily 
\textsl{[]}}}\EmbracOn{}}}\EmbracOff{}}\hfill[Special Form]
+\noindent\texttt{foobar \EmbracOn{}\textnormal{\textsl{[] 
\EmbracOff{}\textnormal{[]}\EmbracOn{} \textsl{[]} 
\EmbracMakeKnown{texttt}{\upshape \ttfamily []} \texttt{[]} 
\EmbracOff{}\textnormal{\textsl{[]}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily []}}\EmbracOn{} 
\EmbracOff{}\textnormal{{\upshape \ttfamily 
\textsl{[]}}}\EmbracOn{}}}\EmbracOff{}}\hfill[Special Form]
 
 
 \ExplSyntaxOn%
@@ -401,12 +401,12 @@ In deffn with code and var used
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{int foobar (int {\rmfamily \slshape f---oo}{\upshape 
\ttfamily [}, float {\rmfamily \slshape b--ar}{\upshape \ttfamily ]}) 
t}\hfill[Library Function]
+\noindent\texttt{int foobar (int {\rmfamily \slshape f---oo}\texttt{[}, float 
{\rmfamily \slshape b--ar}\texttt{]}) t}\hfill[Library Function]
 
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{int foobar (int {\rmfamily \slshape f---oo}{\upshape 
\ttfamily \textbf{[}}, float {\rmfamily \slshape b--ar}{\upshape \ttfamily 
\textbf{]}}) t:b}\hfill[Library Function]
+\noindent\texttt{int foobar (int {\rmfamily \slshape 
f---oo}\texttt{\textbf{[}}, float {\rmfamily \slshape 
b--ar}\texttt{\textbf{]}}) t:b}\hfill[Library Function]
 
 
 
@@ -426,7 +426,7 @@ In deffn with code and var used
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{int foobar (int {\rmfamily \slshape 
f---oo}\textnormal{{\upshape \ttfamily [}}, float {\rmfamily \slshape 
b--ar}\textnormal{{\upshape \ttfamily ]}}) r:t}\hfill[Library Function]
+\noindent\texttt{int foobar (int {\rmfamily \slshape 
f---oo}\textnormal{\texttt{[}}, float {\rmfamily \slshape 
b--ar}\textnormal{\texttt{]}}) r:t}\hfill[Library Function]
 
 
 
@@ -461,12 +461,12 @@ separators
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{int foobar ({\upshape \ttfamily i{-}{-}nt} {\rmfamily 
\slshape f---oo}[, float {\rmfamily \slshape b--ar}]) t}\hfill[Library Function]
+\noindent\texttt{int foobar (\texttt{i{-}{-}nt} {\rmfamily \slshape f---oo}[, 
float {\rmfamily \slshape b--ar}]) t}\hfill[Library Function]
 
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{int foobar ({\upshape \ttfamily \textbf{i{-}{-}nt}} 
{\rmfamily \slshape f---oo}[, float {\rmfamily \slshape b--ar}]) 
t:b}\hfill[Library Function]
+\noindent\texttt{int foobar (\texttt{\textbf{i{-}{-}nt}} {\rmfamily \slshape 
f---oo}[, float {\rmfamily \slshape b--ar}]) t:b}\hfill[Library Function]
 
 
 
@@ -486,7 +486,7 @@ separators
 
 
 \index[fn]{foobar@\texttt{foobar}}%
-\noindent\texttt{int foobar (\textnormal{{\upshape \ttfamily i{-}{-}nt}} 
{\rmfamily \slshape f---oo}[, float {\rmfamily \slshape b--ar}]) 
r:t}\hfill[Library Function]
+\noindent\texttt{int foobar (\textnormal{\texttt{i{-}{-}nt}} {\rmfamily 
\slshape f---oo}[, float {\rmfamily \slshape b--ar}]) r:t}\hfill[Library 
Function]
 
 
 



reply via email to

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