mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
b5af05b4a7
The category tag was rarely used and thus not very useful. This adds categorization to most modules (the rest will follow) and uses the \DeclareCategory tag we use in layouts rather than the extra syntax we used in modules. Categories are now added to the po files and translated. Note that this is work in progress: the current categories are still subject to change. The ultimate goal of this is to sort the modules in the GUI by category as we do with layouts, examples and templates (and add a filter to search for specific modules) As it is now (with the many modules we accumulated), the module selector is not really usable anymore. If you don't happen to know how exactly a module is named, selecting a module is really a PITA.
92 lines
1.6 KiB
Plaintext
92 lines
1.6 KiB
Plaintext
#\DeclareLyXModule[soul.sty]{Hyphenatable Text Markup (Soul)}
|
|
#\DeclareCategory{Text Markup}
|
|
#DescriptionBegin
|
|
#Defines text styles to highlight, space-out, strike-through,
|
|
#underline and capitalize/small-cap text by means of the soul package.
|
|
#As opposed to the markup provided by the Text Properties
|
|
#dialog, words marked-up with soul are hyphenated.
|
|
#DescriptionEnd
|
|
#Requires
|
|
#Excludes
|
|
|
|
#Author: Stephen [original implementation],
|
|
# Juergen Spitzmueller <spitz@lyx.org> [fixes]
|
|
|
|
Format 72
|
|
|
|
InsetLayout Flex:Spaceletters
|
|
LyxType charstyle
|
|
LabelString spaced
|
|
Decoration conglomerate
|
|
LatexType command
|
|
LatexName so
|
|
LabelFont
|
|
Size Small
|
|
EndFont
|
|
NeedMBoxProtect true
|
|
MultiPar true
|
|
Requires soul
|
|
End
|
|
|
|
InsetLayout Flex:Strikethrough
|
|
CopyStyle Flex:Spaceletters
|
|
LabelString strike
|
|
LatexName st
|
|
Font
|
|
Misc strikeout
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Flex:Underline
|
|
CopyStyle Flex:Spaceletters
|
|
LabelString ul
|
|
LatexName ul
|
|
Font
|
|
Misc underbar
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Flex:Highlight
|
|
CopyStyle Flex:Spaceletters
|
|
LabelString hl
|
|
LatexName hl
|
|
BgColor yellow
|
|
Requires soul,color
|
|
End
|
|
|
|
InsetLayout Flex:Capitalize
|
|
CopyStyle Flex:Spaceletters
|
|
LabelString caps
|
|
LatexName caps
|
|
Font
|
|
Shape smallcaps
|
|
EndFont
|
|
End
|
|
|
|
|
|
# Obsolete older forms used on wiki.lyx.org
|
|
|
|
InsetLayout Flex:spaceletters
|
|
ObsoletedBy Flex:Spaceletters
|
|
End
|
|
|
|
InsetLayout Flex:strikethrough
|
|
ObsoletedBy Flex:Strikethrough
|
|
End
|
|
|
|
InsetLayout Flex:underline
|
|
ObsoletedBy Flex:Underline
|
|
End
|
|
|
|
InsetLayout Flex:highlight
|
|
ObsoletedBy Flex:Highlight
|
|
End
|
|
|
|
InsetLayout Flex:capitalise
|
|
ObsoletedBy Flex:Capitalize
|
|
End
|
|
|
|
InsetLayout Flex:Capitalise
|
|
ObsoletedBy Flex:Capitalize
|
|
End
|