[latexrefman-commits] [SCM] latexrefman updated: r1049 - trunk

Vincent Belaiche INVALID.NOREPLY at gnu.org.ua
Fri Oct 8 20:08:16 CEST 2021


Author: vincentb1
Date: 2021-10-08 18:08:16 +0000 (Fri, 08 Oct 2021)
New Revision: 1049

Modified:
   trunk/ChangeLog
   trunk/latex2e-fr.texi
Log:
[fr] \DeclareTextCommand & \ProvideTextCommand, translate this node, and more.

* latex2e-fr.texi (\DeclareTextAccentDefault): @var{cmd} ->
\@var{cmd}.
(\DeclareTextCommand & \ProvideTextCommand): Translate this node.
(\providecommand): @var{cmd} -> \@var{cmd}.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2021-10-08 18:08:14 UTC (rev 1048)
+++ trunk/ChangeLog	2021-10-08 18:08:16 UTC (rev 1049)
@@ -1,5 +1,12 @@
 2021-10-08  Vincent Bela\"iche  <vincentb1 at users.sourceforge.net>
 
+	* latex2e-fr.texi (\DeclareTextAccentDefault): @var{cmd} ->
+	\@var{cmd}.
+	(\DeclareTextCommand & \ProvideTextCommand): Translate this node.
+	(\providecommand): @var{cmd} -> \@var{cmd}.
+
+2021-10-08  Vincent Bela\"iche  <vincentb1 at users.sourceforge.net>
+
 	* latex2e-fr.texi (\DeclareTextAccentDefault): Translate this node.
 
 2021-10-08  Vincent Bela\"iche  <vincentb1 at users.sourceforge.net>

Modified: trunk/latex2e-fr.texi
===================================================================
--- trunk/latex2e-fr.texi	2021-10-08 18:08:14 UTC (rev 1048)
+++ trunk/latex2e-fr.texi	2021-10-08 18:08:16 UTC (rev 1049)
@@ -1837,11 +1837,11 @@
 Synopsis :
 
 @example
-\DeclareTextAccentDefault@{@var{cmd}@}@{@var{codage}@}
+\DeclareTextAccentDefault@{\@var{cmd}@}@{@var{codage}@}
 @end example
 
-S'il y a une commande d'accent @var{cmd} spécifique à un codage mais
-qu'il n'y a aucun @code{\DeclareTextAccent} associé pour ce codage,
+S'il y a une commande d'accent @code{\@var{cmd}} spécifique à un codage
+mais qu'il n'y a aucun @code{\DeclareTextAccent} associé pour ce codage,
 alors cette commande va prendre le relai en disant de l'utiliser comme
 décrit pour @var{codage}.
 
@@ -1861,8 +1861,8 @@
 (@pxref{\UseTextSymbol & \UseTextAccent}) :
 
 @example
-\DeclareTextCommandDefault[1]@{@var{cmd}@}
-   @{\UseTextAccent@{@var{codage}@}@{@var{cmd}@}@{#1@}@}
+\DeclareTextCommandDefault[1]@{\@var{cmd}@}
+   @{\UseTextAccent@{@var{codage}@}@{\@var{cmd}@}@{#1@}@}
 @end example
 
 Notez que @code{\DeclareTextAccentDefault} fonctionne pour l'une
@@ -1873,73 +1873,73 @@
 @node \DeclareTextCommand & \ProvideTextCommand
 @subsection @code{\DeclareTextCommand} & @code{\ProvideTextCommand}
 
- at cindex Font encoding
 @findex \DeclareTextCommand
- at findex \DeclareTextCommandDefault
 @findex \ProvideTextCommand
 
-Synopsis, one of:
+Synopsis, l'un parmi :
 
 @example
-\DeclareTextCommand@{@var{cmd}@}@{@var{codage}@}@{@var{defn}@}
-\DeclareTextCommand@{@var{cmd}@}@{@var{codage}@}[@var{nargs}]@{@var{defn@}}
-\DeclareTextCommand@{@var{cmd}@}@{@var{codage}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
+\DeclareTextCommand@{\@var{cmd}@}@{@var{codage}@}@{@var{défn}@}
+\DeclareTextCommand@{\@var{cmd}@}@{@var{codage}@}[@var{nargs}]@{@var{defn@}}
+\DeclareTextCommand@{\@var{cmd}@}@{@var{codage}@}[@var{nargs}][@var{défautargopt}]@{@var{défn}@}
 @end example
 
-or one of:
+ou l'un parmi :
 
 @example
-\ProvideTextCommand@{@var{cmd}@}@{@var{codage}@}@{@var{defn}@}
-\ProvideTextCommand@{@var{cmd}@}@{@var{codage}@}[@var{nargs}]@{@var{defn}@}
-\ProvideTextCommand@{@var{cmd}@}@{@var{codage}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
+\ProvideTextCommand@{\@var{cmd}@}@{@var{codage}@}@{@var{défn}@}
+\ProvideTextCommand@{\@var{cmd}@}@{@var{codage}@}[@var{nargs}]@{@var{défn}@}
+\ProvideTextCommand@{\@var{cmd}@}@{@var{codage}@}[@var{nargs}][@var{défautargopt}]@{@var{défn}@}
 @end example
 
-Define the command @var{cmd}, which will be specific to one encoding.
-The command name @var{cmd} must begin with a backslash, \.  These
-commands can only appear in the preamble.  Redefining @code{cmd} does
-not cause an error. The defined command will be robust even if the code
-in @var{defn} is fragile (@pxref{\protect}).
+Définit la commande @code{\@var{cmd}}, laquelle sera spécifique à un
+codage.  Le nom @var{cmd} de la commande doit être précédé d'une
+contr'oblique, @code{\}.  Ces commandes ne peuvent apparaître que dans
+le préambule.  Redéfinir @code{\@var{cmd}} ne cause pas d'erreur. La
+commande définie sera robuste même si le code dans @var{défn} est
+fragile (@pxref{\protect}).
 
-For example, the file @file{t1enc.def} contains this line.
+Par exemple, le fichier @file{t1enc.def} contient la ligne suivante :
 
 @example
 \DeclareTextCommand@{\textperthousand@}@{T1@}@{\%\char 24 @}
 @end example
 
-With that, you can express parts per thousand.
+Avec cela, vous pouvez exprimer des pourmilles comme ceci :
 
 @example
-\usepackage[T1]@{fontenc@}  % in preamble
+\usepackage[T1]@{fontenc@}  % dans le préambule
   ...
-Legal limit is \( 0.8 \)\textperthousand.
+La limite légale est de \( 0,8 \)\textperthousand.
 @end example
 
 @noindent
-If you change the font encoding to @code{OT1} then you get an error like
- at samp{LaTeX Error: Command \textperthousand unavailable in encoding
-OT1}.
+Si vous changez le codage de fonte en @code{OT1} alors vous obtenez une
+erreur du genre de @samp{LaTeX Error: Command \textperthousand
+unavailable in encoding OT1}.
 
-The @code{\ProvideTextCommand} variant does the same, except that it
-does nothing if @var{cmd} is already defined.  The
- at code{\DeclareTextSymbol} command is faster than this one for simple
-cassetin-to-glyph association (@pxref{\DeclareTextSymbol})
+ at findex \DeclareTextSymbol
+La variante @code{\ProvideTextCommand} agit de même, à ceci près qu'elle
+ne fait rien si @code{\@var{cmd}} est déjà définie.  La commande
+ at code{\DeclareTextSymbol} est plus rapide pour une simple association
+d'un cassetin à un glyphe (@pxref{\DeclareTextSymbol})
 
-The optional @var{nargs} and @var{optargsdefault} arguments play the
-same role here as in @code{\newcommand} (@pxref{\newcommand &
-\renewcommand}).  Briefly, @var{nargs} is an integer from 0 to 9
-specifying the number of arguments that the defined command @code{cmd}
-takes.  This number includes any optional argument.  Omitting this
-argument is the same as specifying 0, meaning that @var{cmd} will have
-no arguments.  And, if @var{optargsdefault} is present then the first
-argument of @code{\@var{cmd}} is optional, with default value
- at var{optargdefault} (which may be the empty string).  If
- at var{optargsdefault} is not present then @code{\@var{cmd}} does not take
-an optional argument.
+Les arguments optionels @var{nargs} et @var{défautargopt} jouent le même
+rôle que dans @code{\newcommand} (@pxref{\newcommand & \renewcommand}).
+En un mot, @var{nargs} est un entier de 0 à 9 spécifiant le nombre
+d'arguments que la commande @code{\@var{cmd}} qu'on définit prend.  Ce
+nombre inclut tout argument optionnel.  Omettre cet argument revient
+au même que spécifier 0 pour dire que @code{\@var{cmd}} n'a aucun
+argument.  Et, si @var{défautargopt} est présent, alors le premier
+argument de @code{\@var{cmd}} est optionnel, et sa valeur par défaut est
+ at var{défautargopt} (ce qui peut être la chaîne vide).  Si
+ at var{défautargopt} n'est pas présent alors @code{\@var{cmd}} ne prend
+pas d'argument optionnel.
 
 
 @node \DeclareTextCommandDefault & \ProvideTextCommandDefault
 @subsection @code{\DeclareTextCommandDefault} & @code{\ProvideTextCommandDefault }
- at cindex Font encoding
+
 @findex \DeclareTextCommand
 @findex \DeclareTextCommandDefault
 @findex \ProvideTextCommand
@@ -1948,13 +1948,13 @@
 Synopsis:
 
 @example
-\DeclareTextCommandDefault@{@var{cmd}@}@{@var{defn}@}
+\DeclareTextCommandDefault@{@var{cmd}@}@{@var{défn}@}
 @end example
 
 or:
 
 @example
-\ProvideTextCommandDefault@{@var{cmd}@}@{@var{defn}@}
+\ProvideTextCommandDefault@{@var{cmd}@}@{@var{défn}@}
 @end example
 
 Give a default definition for @var{cmd}, for when that command is not
@@ -10190,8 +10190,8 @@
 Synopsis :
 
 @example
-\providecommand@{@var{cmd}@}[@var{nargs}][@var{optargdéfaut}]@{@var{defn}@}
-\providecommand*@{@var{cmd}@}[@var{nargs}][@var{optargdéfaut}]@{@var{defn}@}
+\providecommand@{\@var{cmd}@}[@var{nargs}][@var{optargdéfaut}]@{@var{défn}@}
+\providecommand*@{\@var{cmd}@}[@var{nargs}][@var{optargdéfaut}]@{@var{défn}@}
 @end example
 
 Si aucune commande de ce nom n'existe alors ceci a le même effet que



More information about the latexrefman-commits mailing list.