mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
DocBook: implement the Hanging and Initials modules.
This commit is contained in:
parent
d1398a5ba2
commit
3112728a58
@ -48,4 +48,6 @@ Style Hanging
|
||||
\everypar={\hangpara}}{\par}
|
||||
}
|
||||
EndPreamble
|
||||
DocBookTag para
|
||||
DocBookAttr role='hanging'
|
||||
End
|
||||
|
@ -21,7 +21,9 @@ InsetLayout Flex:Initial
|
||||
Size Large
|
||||
EndFont
|
||||
Requires lettrine
|
||||
ResetsFont true
|
||||
ResetsFont true
|
||||
DocBookTag para
|
||||
DocBookAttr role='hanging'
|
||||
End
|
||||
|
||||
Style Initial
|
||||
@ -34,16 +36,23 @@ Style Initial
|
||||
Argument 1
|
||||
LabelString "Options"
|
||||
Tooltip "Option(s) for the initial"
|
||||
DocBookTag NONE
|
||||
EndArgument
|
||||
Argument 2
|
||||
Mandatory 1
|
||||
LabelString "Initial"
|
||||
Tooltip "Initial letter(s)"
|
||||
DocBookTag phrase
|
||||
DocBookAttr role='initial'
|
||||
DocBookTagType inline
|
||||
EndArgument
|
||||
Argument 3
|
||||
Mandatory 1
|
||||
LabelString "Rest of Initial"
|
||||
Tooltip "Rest of initial word or text"
|
||||
DocBookTag phrase
|
||||
DocBookAttr role='rest-of-initial'
|
||||
DocBookTagType inline
|
||||
EndArgument
|
||||
LabelSep x
|
||||
ParIndent MMM
|
||||
@ -56,5 +65,7 @@ Style Initial
|
||||
LabelFont
|
||||
Series Bold
|
||||
EndFont
|
||||
DocBookTag para
|
||||
DocBookAttr role='paragraph-with-initial'
|
||||
End
|
||||
|
||||
|
@ -236,7 +236,7 @@ Style Example
|
||||
BabelPreamble
|
||||
\addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
|
||||
EndBabelPreamble
|
||||
DocBookWrapperTag informalexample
|
||||
DocBookWrapperTag example
|
||||
DocBookTag para
|
||||
DocBookAttr ""
|
||||
End
|
||||
|
Loading…
Reference in New Issue
Block a user