This commit is contained in:
Juergen Spitzmueller 2024-05-14 13:38:16 +02:00
parent a716fb96b5
commit 227ce773bf
2 changed files with 321 additions and 2 deletions

View File

@ -20890,6 +20890,23 @@ NeedCProtect
\end_inset
[
\change_inserted -712698321 1715685021
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\change_inserted -712698321 1715685023
-1
\end_layout
\end_inset
,
\change_unchanged
\begin_inset Flex Code
status collapsed
@ -20915,7 +20932,25 @@ status collapsed
\end_inset
] This causes macros that contain this inset to be protected with
]
\change_deleted -712698321 1715685030
This
\change_inserted -712698321 1715685031
Value
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\change_inserted -712698321 1715685031
1
\end_layout
\end_inset
\change_unchanged
causes macros that contain this inset to be protected with
\begin_inset Flex Code
status collapsed
@ -20934,6 +20969,66 @@ cprotect
\family default
) if necessary and thus allows (some) verbatim stuff in macros.
Default is false.
\change_inserted -712698321 1715685049
With the default setting (value
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\change_inserted -712698321 1715685008
0
\end_layout
\end_inset
),
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\change_inserted -712698321 1715685008
\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
\change_inserted -712698321 1715685008
-1
\end_layout
\end_inset
prevents any use of
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\change_inserted -712698321 1715685008
\backslash
cprotect
\end_layout
\end_inset
within this inset,
even if required by a nested element.
\change_unchanged
\end_layout
\begin_layout Description
@ -21104,6 +21199,8 @@ status collapsed
\change_inserted -712698321 1715512954
NoPassThruChars
\change_unchanged
\end_layout
\end_inset
@ -21116,6 +21213,8 @@ status collapsed
\change_inserted -712698321 1715512954
string
\change_unchanged
\end_layout
\end_inset

View File

@ -13946,7 +13946,7 @@ ulem
soul
\family default
aufbauen,
welche ihren Inhalt in kompexer Art und Weise auslesen.
welche ihren Inhalt in komplexer Art und Weise auslesen.
\end_layout
\begin_layout Description
@ -19723,6 +19723,226 @@ nicht
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
NeedCProtect
\end_layout
\end_inset
[
\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
0
\end_layout
\end_inset
,
\begin_inset space \thinspace{}
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
1
\end_layout
\end_inset
] Wert
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
1
\end_layout
\end_inset
bewirkt,
dass Makros,
die diese Einfügung enthalten,
mittels
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\backslash
cprotect
\end_layout
\end_inset
(Paket
\family sans
cprotect
\family default
) 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
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
NeedMBoxProtect
\end_layout
\end_inset
[
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\emph on
0
\end_layout
\end_inset
,
\begin_inset space \thinspace{}
\end_inset
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
1
\end_layout
\end_inset
] legt fest,
ob bestimmte Befehle in dieser Einfügung (bspw.
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\backslash
cite
\end_layout
\end_inset
und
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\backslash
ref
\end_layout
\end_inset
) in einer
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
\backslash
mbox
\end_layout
\end_inset
geschützt werden sollen.
Das ist vor allem für Einfügungen nötig,
die auf Befehle der Pakete
\family sans
ulem
\family default
oder
\family sans
soul
\family default
aufbauen,
welche ihren Inhalt in komplexer Art und Weise auslesen.
\end_layout
\begin_layout Description
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
NewlineCmd
\end_layout