mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
117 lines
2.7 KiB
HTML
117 lines
2.7 KiB
HTML
# Standard textclass definition file. Taken from initial LyX source code
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modifed and enhanced by several developers.
|
|
|
|
# This include files contains various standard environments for lists,
|
|
# quotations and such.
|
|
|
|
|
|
Format 49
|
|
|
|
Style Quotation
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quotation
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ParSkip 0
|
|
ItemSep 0
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
HTMLTag blockquote
|
|
HTMLItem div
|
|
End
|
|
|
|
|
|
Style Quote
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quote
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
TopSep 0.5
|
|
ParSep 0.5
|
|
BottomSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
HTMLTag blockquote
|
|
HTMLItem div
|
|
End
|
|
|
|
|
|
Style Verse
|
|
# LaTeX type is first dynamic because of LaTeX implementation.
|
|
# In LyX this does not make sense.
|
|
Category MainText
|
|
LatexType Environment
|
|
LatexName verse
|
|
Margin First_Dynamic
|
|
NextNoIndent 1
|
|
LeftMargin MMMM
|
|
LabelIndent MMMM
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType No_Label
|
|
HTMLTag blockquote
|
|
HTMLItem p
|
|
End
|
|
|
|
|
|
Style Verbatim
|
|
Category MainText
|
|
LatexType Environment
|
|
LatexName verbatim
|
|
NextNoIndent 1
|
|
ParbreakIsNewline 1
|
|
FreeSpacing 1
|
|
PassThru 1
|
|
KeepEmpty 1
|
|
NewLine 0
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType No_Label
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
HTMLTag <pre></pre>
|
|
HTMLItem p
|
|
End
|
|
|
|
|
|
Style --Separator--
|
|
Category MainText
|
|
KeepEmpty 1
|
|
Margin Dynamic
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "--- Separate Environment ---"
|
|
LabelFont
|
|
Family Roman
|
|
Series Medium
|
|
Size Normal
|
|
Color Blue
|
|
EndFont
|
|
HTMLLabel NONE
|
|
End
|