Document NeedCProtect -1

(cherry picked from commit ea004cdb28)
This commit is contained in:
Juergen Spitzmueller 2024-05-13 06:53:19 +02:00
parent 4a81296b3d
commit 1511516ef7
4 changed files with 458 additions and 3 deletions

View File

@ -15113,6 +15113,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
@ -15135,7 +15149,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
@ -15153,6 +15177,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

View File

@ -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

View File

@ -14816,6 +14816,161 @@ cprotect
cprotect
\family default
) et par suite autorise du texte verbatim dans les macros
\begin_inset Note Note
status open
\begin_layout Description
\lang english
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
NeedCProtect
\end_layout
\end_inset
[
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
-1
\end_layout
\end_inset
,
\begin_inset space \thinspace{}
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\emph on
\lang english
0
\end_layout
\end_inset
,
\begin_inset space \thinspace{}
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
1
\end_layout
\end_inset
] Value
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
1
\end_layout
\end_inset
causes macros that contain this layout to be protected with
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
\backslash
cprotect
\end_layout
\end_inset
(cf.
package
\family sans
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
\lang english
0
\end_layout
\end_inset
),
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
\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
\lang english
-1
\end_layout
\end_inset
prevents any use of
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
\backslash
cprotect
\end_layout
\end_inset
within this layout,
even if required by a nested element.
\end_layout
\end_inset
\end_layout
\begin_layout Description

View File

@ -148,6 +148,7 @@ End
\suppress_date false
\justification false
\use_refstyle 0
\use_formatted_ref 0
\use_minted 0
\use_lineno 0
\notefontcolor #0000ff
@ -13959,6 +13960,161 @@ cprotect
\family default
パッケージ)を用いて保護するようにし,
マクロ中でverbatimを使えるようにします
\begin_inset Note Note
status open
\begin_layout Description
\lang english
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
NeedCProtect
\end_layout
\end_inset
[
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
-1
\end_layout
\end_inset
,
\begin_inset space \thinspace{}
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\emph on
\lang english
0
\end_layout
\end_inset
,
\begin_inset space \thinspace{}
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
1
\end_layout
\end_inset
] Value
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
1
\end_layout
\end_inset
causes macros that contain this layout to be protected with
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
\backslash
cprotect
\end_layout
\end_inset
(cf.
package
\family sans
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
\lang english
0
\end_layout
\end_inset
),
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
\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
\lang english
-1
\end_layout
\end_inset
prevents any use of
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\lang english
\backslash
cprotect
\end_layout
\end_inset
within this layout,
even if required by a nested element.
\end_layout
\end_inset
\end_layout
\begin_layout Description