# update and review for inclusion in lyx-2.2.3
# - remove the workaround for page format (not needed after v2.351)
+# TODO: DocBook doesn't support several letters in the same file.
-Format 60
+
+Format 95
#(pre)declarations (just to impose some order on the menus)
Style Standard
\providecommand{\lyaddress}{\address{#1}}
}
EndPreamble
+ # Don't break the sequential bunch of elements going into the wrapper.
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
# City name style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\Myplace}[1]{ % will save the info for future use
\renewcommand{\lylieu}{\lieu{#1}}
}
EndPreamble
+ DocBookTag city
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
#suppress City indication
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\renewcommand{\lylieu}{\nolieu{}}
}
EndPreamble
+ # Don't break the sequential bunch of elements going into the wrapper.
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
# date Style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
+ DocBookTag date
+ DocBookTagType paragraph
+ DocBookInInfo always
+ DocBookNoFontInside true
End
#suppress date indication
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
EndPreamble
+ DocBookTag NONE
+ DocBookInInfo always
End
# location (i.e. office, department ...)
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\MyLocation}[1]{ % will save the info for future use
\renewcommand{\lylocation}{\location{#1}}
}
EndPreamble
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
# telephone Style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\MyTelephone}[1]{ % will save the info for future use
\renewcommand{\lytelephone}{\telephone{#1}}
}
EndPreamble
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
#suppress telephone indication
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\MyNoTelephone}{
\renewcommand{\lytelephone}{\notelephone{}}
}
EndPreamble
-
+ # Don't break the sequential bunch of elements going into the wrapper.
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
# telefax Style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\MyFax}[1]{ % will save the info for future use
\renewcommand{\lyfax}{\fax{#1}}
}
EndPreamble
+ DocBookTag fax
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
#suppress fax indication
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\MyNoFax}{
\renewcommand{\lyfax}{\nofax{}}
}
EndPreamble
+ # Don't break the sequential bunch of elements going into the wrapper.
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\MyEmail}[1]{ % will save the info for future use
\renewcommand{\lyemail}{\email{#1}}
}
EndPreamble
+ DocBookTag email
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
# Subject Style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
+ DocBookTag title
+ DocBookTagType paragraph
+ DocBookInInfo maybe
End
# YourRef Style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
+ DocBookTag productnumber
+ DocBookAttr role='your-ref'
+ DocBookTagType paragraph
+ DocBookInInfo always
End
# MyRef Style
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
+ DocBookTag productnumber
+ DocBookAttr role='my-ref'
+ DocBookTagType paragraph
+ DocBookInInfo always
End
Style Send_To_Address
\needsendlettertrue
}
EndPreamble
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperAttr role='send-to-address'
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
#As a temporary(?) trick the last(only?) letter of the file must be processed
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
+ DocBookTag NONE
End
Style EndOfFile
CopyStyle EndOfMessage
LabelString EndOfFile.
+ DocBookTag NONE
End
# Opening style definition (Accroche)
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
End
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
%% automatic assignment of signatures
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\lyxenc}[1]{
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\lyxcc}[1]{
LabelFont
Series Bold
Shape Italic
- Color red
+ Color textlabel3
EndFont
Preamble
\newcommand{\lyxps}[1]{
\psneededtrue
}
EndPreamble
+ DocBookTag para
+ DocBookAttr role='post-scriptum'
End
-
-
-