# - margins set to dynamic to ensure alignment of line headings
# - categories
# - ordering control left at the beginning (any other way ?)
+#---------------
+# rev.4; J.-P. Chretien oct 2016
+# 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 53
+Format 95
#(pre)declarations (just to impose some order on the menus)
Style Standard
% to get the specified pagesize
% (workaround for an a4paper/lettre problem in pdf mode)
-\@ifpackageloaded{ifpdf}{}{\usepackage{ifpdf}}
-\ifpdf\input pdftexconfig.tex\fi
+% removed in oct 2016, no more needed since 2.351 and created an error with LuaTeX
+%\@ifpackageloaded{ifpdf}{}{\usepackage{ifpdf}}
+%\ifpdf\input pdftexconfig.tex\fi
EndPreamble
\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
-
-
-