mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Document NeedCProtect -1
This commit is contained in:
parent
50cd148bd2
commit
ea004cdb28
@ -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
|
||||
|
@ -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
|
||||
|
@ -14822,6 +14822,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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user