mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
DocBook: implement French letter.
This commit is contained in:
parent
225cf7e3d4
commit
78e1297e82
@ -443,6 +443,8 @@ export/templates/Theses/PhD_Thesis/.*_docbook5
|
|||||||
# - Hollywood, too much formatting in elements DocBook does not allow to be formatted (like address).
|
# - Hollywood, too much formatting in elements DocBook does not allow to be formatted (like address).
|
||||||
export/templates/Scripts/Hollywood_docbook5
|
export/templates/Scripts/Hollywood_docbook5
|
||||||
export/export/docbook/Hollywood_docbook5
|
export/export/docbook/Hollywood_docbook5
|
||||||
|
# - Lettre, formatting in elements DocBook does not allow to be formatted (like email).
|
||||||
|
export/templates/Letters/French_Letter_%28lettre%29_docbook5
|
||||||
# - Branches may cause problems (especially when mixing with parts that must go in <info>).
|
# - Branches may cause problems (especially when mixing with parts that must go in <info>).
|
||||||
export/export/latex/languages/supported-languages_docbook5
|
export/export/latex/languages/supported-languages_docbook5
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
# update and review for inclusion in lyx-2.2.3
|
# update and review for inclusion in lyx-2.2.3
|
||||||
# - remove the workaround for page format (not needed after v2.351)
|
# - remove the workaround for page format (not needed after v2.351)
|
||||||
|
|
||||||
|
# TODO: DocBook doesn't support several letters in the same file.
|
||||||
|
|
||||||
|
|
||||||
Format 85
|
Format 85
|
||||||
|
|
||||||
@ -157,6 +159,11 @@ Style My_Address
|
|||||||
\providecommand{\lyaddress}{\address{#1}}
|
\providecommand{\lyaddress}{\address{#1}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
# Don't break the sequential bunch of elements going into the wrapper.
|
||||||
|
DocBookTag NONE
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# City name style
|
# City name style
|
||||||
@ -187,6 +194,11 @@ Style Place
|
|||||||
\renewcommand{\lylieu}{\lieu{#1}}
|
\renewcommand{\lylieu}{\lieu{#1}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookTag city
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
#suppress City indication
|
#suppress City indication
|
||||||
@ -213,6 +225,11 @@ Style NoPlace
|
|||||||
\renewcommand{\lylieu}{\nolieu{}}
|
\renewcommand{\lylieu}{\nolieu{}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
# Don't break the sequential bunch of elements going into the wrapper.
|
||||||
|
DocBookTag NONE
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# date Style
|
# date Style
|
||||||
@ -236,6 +253,9 @@ Style Date
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag date
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
#suppress date indication
|
#suppress date indication
|
||||||
@ -256,6 +276,8 @@ Style NoDate
|
|||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookTag NONE
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# location (i.e. office, department ...)
|
# location (i.e. office, department ...)
|
||||||
@ -286,6 +308,9 @@ Style Location
|
|||||||
\renewcommand{\lylocation}{\location{#1}}
|
\renewcommand{\lylocation}{\location{#1}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# telephone Style
|
# telephone Style
|
||||||
@ -316,6 +341,9 @@ Style Telephone
|
|||||||
\renewcommand{\lytelephone}{\telephone{#1}}
|
\renewcommand{\lytelephone}{\telephone{#1}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
#suppress telephone indication
|
#suppress telephone indication
|
||||||
@ -341,7 +369,11 @@ Style NoTelephone
|
|||||||
\renewcommand{\lytelephone}{\notelephone{}}
|
\renewcommand{\lytelephone}{\notelephone{}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
# Don't break the sequential bunch of elements going into the wrapper.
|
||||||
|
DocBookTag NONE
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# telefax Style
|
# telefax Style
|
||||||
@ -372,6 +404,11 @@ Style Fax
|
|||||||
\renewcommand{\lyfax}{\fax{#1}}
|
\renewcommand{\lyfax}{\fax{#1}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookTag fax
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
#suppress fax indication
|
#suppress fax indication
|
||||||
@ -397,6 +434,11 @@ Style NoFax
|
|||||||
\renewcommand{\lyfax}{\nofax{}}
|
\renewcommand{\lyfax}{\nofax{}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
# Don't break the sequential bunch of elements going into the wrapper.
|
||||||
|
DocBookTag NONE
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -428,6 +470,11 @@ Style Email
|
|||||||
\renewcommand{\lyemail}{\email{#1}}
|
\renewcommand{\lyemail}{\email{#1}}
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookTag email
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# Subject Style
|
# Subject Style
|
||||||
@ -450,6 +497,9 @@ Style Subject
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag title
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookInInfo maybe
|
||||||
End
|
End
|
||||||
|
|
||||||
# YourRef Style
|
# YourRef Style
|
||||||
@ -466,6 +516,10 @@ Style YourRef
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag productnumber
|
||||||
|
DocBookAttr role='your-ref'
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
# MyRef Style
|
# MyRef Style
|
||||||
@ -482,6 +536,10 @@ Style MyRef
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag productnumber
|
||||||
|
DocBookAttr role='my-ref'
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Send_To_Address
|
Style Send_To_Address
|
||||||
@ -514,6 +572,11 @@ Style Send_To_Address
|
|||||||
\needsendlettertrue
|
\needsendlettertrue
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookTag NONE
|
||||||
|
DocBookWrapperTag address
|
||||||
|
DocBookWrapperAttr role='send-to-address'
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
#As a temporary(?) trick the last(only?) letter of the file must be processed
|
#As a temporary(?) trick the last(only?) letter of the file must be processed
|
||||||
@ -536,11 +599,13 @@ Style EndOfMessage
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag NONE
|
||||||
End
|
End
|
||||||
|
|
||||||
Style EndOfFile
|
Style EndOfFile
|
||||||
CopyStyle EndOfMessage
|
CopyStyle EndOfMessage
|
||||||
LabelString EndOfFile.
|
LabelString EndOfFile.
|
||||||
|
DocBookTag NONE
|
||||||
End
|
End
|
||||||
|
|
||||||
# Opening style definition (Accroche)
|
# Opening style definition (Accroche)
|
||||||
@ -674,7 +739,6 @@ Style Post_Scriptum
|
|||||||
\psneededtrue
|
\psneededtrue
|
||||||
}
|
}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='post-scriptum'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ Style Standard
|
|||||||
Align Block
|
Align Block
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
|
DocBookTag para
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -31,6 +32,7 @@ Style My_Address
|
|||||||
BottomSep 1.5
|
BottomSep 1.5
|
||||||
ParSep 1.5
|
ParSep 1.5
|
||||||
Align Left
|
Align Left
|
||||||
|
DocBookTag address
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -46,6 +48,8 @@ Style Send_To_Address
|
|||||||
Align Left
|
Align Left
|
||||||
AlignPossible Block, Left, Right, Center
|
AlignPossible Block, Left, Right, Center
|
||||||
LabelType No_Label
|
LabelType No_Label
|
||||||
|
DocBookTag address
|
||||||
|
DocBookAttr role='send-to-address'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -69,6 +73,8 @@ Style Opening
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='opening'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -91,6 +97,8 @@ Style Signature
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color red
|
Color red
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='signature'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -98,6 +106,8 @@ Style Closing
|
|||||||
CopyStyle Signature
|
CopyStyle Signature
|
||||||
LatexName closing
|
LatexName closing
|
||||||
LabelString "Closing:"
|
LabelString "Closing:"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='opening'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -110,6 +120,8 @@ Style cc
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Color green
|
Color green
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='carbon-copy'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -118,6 +130,8 @@ Style encl
|
|||||||
LatexName encl
|
LatexName encl
|
||||||
LabelString "encl:"
|
LabelString "encl:"
|
||||||
Spacing Other 1.5
|
Spacing Other 1.5
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='enclosed'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -125,6 +139,12 @@ Style Location
|
|||||||
CopyStyle cc
|
CopyStyle cc
|
||||||
LatexName thispagestyle{firstpage}\location
|
LatexName thispagestyle{firstpage}\location
|
||||||
LabelString "Location:"
|
LabelString "Location:"
|
||||||
|
DocBookTag otheraddr
|
||||||
|
DocBookTag otheraddr
|
||||||
|
DocBookAttr role='place'
|
||||||
|
DocBookAttr role='place'
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookTagType paragraph
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -132,4 +152,6 @@ Style Telephone
|
|||||||
CopyStyle cc
|
CopyStyle cc
|
||||||
LatexName thispagestyle{firstpage}\telephone
|
LatexName thispagestyle{firstpage}\telephone
|
||||||
LabelString "Telephone:"
|
LabelString "Telephone:"
|
||||||
|
DocBookTag phone
|
||||||
|
DocBookTagType paragraph
|
||||||
End
|
End
|
||||||
|
Loading…
Reference in New Issue
Block a user