From f38f4b607efe40d908e5a996e1fd2871b97b4c98 Mon Sep 17 00:00:00 2001 From: jpc Date: Mon, 13 May 2024 10:27:46 +0200 Subject: [PATCH] Update copies following NeedCProtect documentation --- LyX/Manuals/2.4/de/Customization.lyx | 76 ++++++++++++++++++++++++++- LyX/Manuals/2.4/en/Customization.lyx | 74 +++++++++++++++++++++++++- LyX/Manuals/2.4/fr/Customization.lyx | 77 +++++++++++++++++++++++++++- 3 files changed, 222 insertions(+), 5 deletions(-) diff --git a/LyX/Manuals/2.4/de/Customization.lyx b/LyX/Manuals/2.4/de/Customization.lyx index 7f0032d..c01bfa9 100644 --- a/LyX/Manuals/2.4/de/Customization.lyx +++ b/LyX/Manuals/2.4/de/Customization.lyx @@ -13743,6 +13743,20 @@ NeedCProtect \begin_inset Flex Code status collapsed +\begin_layout Plain Layout +-1 +\end_layout + +\end_inset + +, +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset Flex Code +status collapsed + \begin_layout Plain Layout \emph on @@ -13765,7 +13779,17 @@ status collapsed \end_inset -] bewirkt, +] Wert +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + bewirkt, dass Makros, die dieses Layout enthalten, mittels @@ -13784,9 +13808,57 @@ cprotect \family sans cprotect \family default -) gechützt werden, +) geschützt werden, falls nötig. Damit wird die Verwendung (mancher) Verbatim-Dinge in Makros ermöglicht. + In der Voreinstellung (Wert +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +0 +\end_layout + +\end_inset + +) wird +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\backslash +cprotect +\end_layout + +\end_inset + + verwendet, + sobald ein eingebettetes Element dies verlangt. + Der Wert +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +-1 +\end_layout + +\end_inset + + unterbindet die Verwendung von +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\backslash +cprotect +\end_layout + +\end_inset + + selbst dann, + wenn eingebettete Elemente dies verlangen. \end_layout \begin_layout Description diff --git a/LyX/Manuals/2.4/en/Customization.lyx b/LyX/Manuals/2.4/en/Customization.lyx index ab2212c..7130edc 100644 --- a/LyX/Manuals/2.4/en/Customization.lyx +++ b/LyX/Manuals/2.4/en/Customization.lyx @@ -15112,6 +15112,20 @@ NeedCProtect \begin_inset Flex Code status collapsed +\begin_layout Plain Layout +-1 +\end_layout + +\end_inset + +, +\begin_inset space \thinspace{} +\end_inset + + +\begin_inset Flex Code +status collapsed + \begin_layout Plain Layout \emph on @@ -15134,7 +15148,17 @@ status collapsed \end_inset -] This causes macros that contain this layout to be protected with +] Value +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + causes macros that contain this layout to be protected with \begin_inset Flex Code status collapsed @@ -15152,6 +15176,54 @@ cprotect cprotect \family default ) if necessary and thus allows (some) verbatim stuff in macros. + With the default setting (value +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +0 +\end_layout + +\end_inset + +), + +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\backslash +cprotect +\end_layout + +\end_inset + + is used if a nested element requires it. + Value +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +-1 +\end_layout + +\end_inset + + prevents any use of +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\backslash +cprotect +\end_layout + +\end_inset + + within this layout, + even if required by a nested element. \end_layout \begin_layout Description diff --git a/LyX/Manuals/2.4/fr/Customization.lyx b/LyX/Manuals/2.4/fr/Customization.lyx index db1be0b..75d83a8 100644 --- a/LyX/Manuals/2.4/fr/Customization.lyx +++ b/LyX/Manuals/2.4/fr/Customization.lyx @@ -14782,6 +14782,20 @@ NeedCProtect \begin_inset Flex Code status collapsed +\begin_layout Plain Layout +-1 +\end_layout + +\end_inset + +, +\begin_inset space ~ +\end_inset + + +\begin_inset Flex Code +status collapsed + \begin_layout Plain Layout \emph on @@ -14804,7 +14818,18 @@ status collapsed \end_inset -] protège si nécessaire les macros qui contiennent ce format avec +] avec la valeur +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + , + protège si nécessaire les macros qui contiennent ce format avec \begin_inset Flex Code status collapsed @@ -14821,7 +14846,55 @@ cprotect \family sans cprotect \family default -) et par suite autorise du texte verbatim dans les macros +) et par suite autorise du texte verbatim dans les macros. + Avec la valeur implicite +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +0 +\end_layout + +\end_inset + +, +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\backslash +cprotect +\end_layout + +\end_inset + + est utilisé si un élément imbriqué le demande. + La valeur +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout +-1 +\end_layout + +\end_inset + + empêche toute utilisation de +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\backslash +cprotect +\end_layout + +\end_inset + + dans le format, + même si un élément imbriqué le demande. + \end_layout \begin_layout Description -- 2.39.2