[latexrefman-commits] [SCM] latexrefman updated: r1051 - trunk
Vincent Belaiche
INVALID.NOREPLY at gnu.org.ua
Fri Oct 8 20:08:20 CEST 2021
Author: vincentb1
Date: 2021-10-08 18:08:20 +0000 (Fri, 08 Oct 2021)
New Revision: 1051
Modified:
trunk/ChangeLog
trunk/latex2e-fr.texi
Log:
[fr] \DeclareTextCommandDefault & \ProvideTextCommandDefault, translate.
* latex2e-fr.texi (\DeclareTextCommandDefault &
\ProvideTextCommandDefault): Translate this node.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2021-10-08 18:08:18 UTC (rev 1050)
+++ trunk/ChangeLog 2021-10-08 18:08:20 UTC (rev 1051)
@@ -1,5 +1,10 @@
2021-10-08 Vincent Bela\"iche <vincentb1 at users.sourceforge.net>
+ * latex2e-fr.texi (\DeclareTextCommandDefault &
+ \ProvideTextCommandDefault): Translate this node.
+
+2021-10-08 Vincent Bela\"iche <vincentb1 at users.sourceforge.net>
+
* latex2e-fr.texi (\LastDeclaredEncoding): 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:18 UTC (rev 1050)
+++ trunk/latex2e-fr.texi 2021-10-08 18:08:20 UTC (rev 1051)
@@ -1945,40 +1945,44 @@
@findex \ProvideTextCommand
@findex \ProvideTextCommandDefault
-Synopsis:
+Synopsis :
@example
-\DeclareTextCommandDefault@{@var{cmd}@}@{@var{défn}@}
+\DeclareTextCommandDefault@{\@var{cmd}@}@{@var{défn}@}
@end example
-or:
+ou :
@example
-\ProvideTextCommandDefault@{@var{cmd}@}@{@var{défn}@}
+\ProvideTextCommandDefault@{\@var{cmd}@}@{@var{défn}@}
@end example
-Give a default definition for @var{cmd}, for when that command is not
-defined in the encoding currently in force. This default should only use
-encodings known to be available.
+Donne une définition par défaut à @code{\@var{cmd}}, pour la situation
+où cette commande n'est pas définie dans le codage actuellement en
+vigueur. La valeur par défaut doit utiliser uniquement les codages
+connus comme disponibles.
-This makes @code{\copyright} available.
+La déclaration ci-dessous rend @code{\copyright} disponible.
@example
\DeclareTextCommandDefault@{\copyright@}@{\textcircled@{c@}@}
@end example
-It uses only an encoding (OMS) that is always available.
+ at noindent
+Elle utilise uniquement un codage (OMS) qui est toujours disponible.
-The @code{\DeclareTextCommandDefault} should not occur in the encoding
-definition files since those files should declare only commands for use
-when you select that encoding. It should instead be in a package.
+La déclaration @code{\DeclareTextCommandDefault} n'est pas destinée à
+survenir dans un fichier de définition de codage puisque ces fichiers ne
+doivent déclarer que des commandes à utiliser quand vous sélectionnez ce
+codage. Au lieu de cela, elle devrait être dans un paquetage.
-As with the related non-default commands, the
- at code{\ProvideTextCommandDefault} has exactly the same behavior as
- at code{\DeclareTextCommandDefault} except that it does nothing if
- at var{cmd} is already defined (@pxref{\DeclareTextCommand &
-\ProvideTextCommand}). So, packages can use it to provide fallbacks
-that other packages can improve upon.
+Comme pour les commandes correspondantes qui ne sont pas en
+ at code{...Default}, la déclaration @code{\ProvideTextCommandDefault} a
+exactement le même comportement que @code{\DeclareTextCommandDefault} à
+ceci près qu'elle ne fait rien si @code{\@var{cmd}} est déjà définie
+(@pxref{\DeclareTextCommand & \ProvideTextCommand}). De sorte qu'un
+paquetage peut l'utiliser pour fournir une définition de repli que
+d'autres paquetages peuvent améliorer.
@node \DeclareTextComposite
More information about the latexrefman-commits
mailing list.