mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
DocBook: implement Elsevier.
This commit is contained in:
parent
059b268e0d
commit
d64b3f5397
@ -476,6 +476,8 @@ export/examples/.*/American_Mathematical_Society_%28AMS%29_docbook5
|
|||||||
export/examples/Articles/American_Chemical_Society_%28ACS%29_docbook5
|
export/examples/Articles/American_Chemical_Society_%28ACS%29_docbook5
|
||||||
# - A&A: formula with two references (only one xml:id allowed per <equation> tag).
|
# - A&A: formula with two references (only one xml:id allowed per <equation> tag).
|
||||||
export/examples/Articles/Astronomy_%26_Astrophysics_docbook5
|
export/examples/Articles/Astronomy_%26_Astrophysics_docbook5
|
||||||
|
# - Elsevier: footnotes in the metadata (author footnotes are definitely not supported, though).
|
||||||
|
export/templates/Articles/Elsevier_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_(|babel|babel_auto-legacy)_?docbook5
|
export/export/latex/languages/supported-languages_(|babel|babel_auto-legacy)_?docbook5
|
||||||
# - EmbeddedObjects: this document is too complex, with captions within tables, many LaTeX parameters when including
|
# - EmbeddedObjects: this document is too complex, with captions within tables, many LaTeX parameters when including
|
||||||
@ -508,6 +510,10 @@ export/examples/Graphics_and_Insets/Minted_Listings_docbook5
|
|||||||
export/examples/Modules/Sweave_docbook5
|
export/examples/Modules/Sweave_docbook5
|
||||||
# - Figures without image, only an equation.
|
# - Figures without image, only an equation.
|
||||||
export/examples/Modules/Variable-width_Minipages_docbook5
|
export/examples/Modules/Variable-width_Minipages_docbook5
|
||||||
|
# - Listing in LyX-Code, i.e. double <programlisting>.
|
||||||
|
export/examples/(es|fr)/Modules/Linguistics_docbook5
|
||||||
|
# - Inlines in inlines (<code> within <personname>), double sidebar.
|
||||||
|
export/examples/ko/cjk-ko-doc_docbook5
|
||||||
|
|
||||||
Sublabel: docbook poster
|
Sublabel: docbook poster
|
||||||
# Posters cannot be properly exported, the LyX documents are too far from
|
# Posters cannot be properly exported, the LyX documents are too far from
|
||||||
|
@ -376,6 +376,7 @@ Style Keywords
|
|||||||
DocBookTag keyword
|
DocBookTag keyword
|
||||||
DocBookTagType paragraph
|
DocBookTagType paragraph
|
||||||
DocBookWrapperTag keywordset
|
DocBookWrapperTag keywordset
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
@ -60,6 +60,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
|
||||||
|
|
||||||
|
|
||||||
@ -79,6 +80,10 @@ Style Keywords
|
|||||||
Font
|
Font
|
||||||
Color blue
|
Color blue
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag keyword
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag keywordset
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -111,6 +116,9 @@ Style Title
|
|||||||
Size Largest
|
Size Largest
|
||||||
EndFont
|
EndFont
|
||||||
HTMLTitle true
|
HTMLTitle true
|
||||||
|
DocBookTag title
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookInInfo maybe
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -134,6 +142,11 @@ Style Author
|
|||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag personname
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -153,6 +166,11 @@ Style Author_Address
|
|||||||
LabelFont
|
LabelFont
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag address
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -174,6 +192,11 @@ Style Author_Email
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Family Roman
|
Family Roman
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag email
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -196,6 +219,11 @@ Style Author_URL
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
Family Roman
|
Family Roman
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag uri
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -214,6 +242,8 @@ Style Thanks
|
|||||||
Family Typewriter
|
Family Typewriter
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag footnote
|
||||||
|
DocBookItemTag para
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -241,6 +271,11 @@ Style Abstract
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Large
|
Size Large
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookAbstract true
|
||||||
|
DocBookInInfo always
|
||||||
|
DocBookWrapperTag abstract
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookTag para
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -298,6 +333,8 @@ Style Theorem
|
|||||||
Shape Up
|
Shape Up
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='theorem'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -327,6 +364,8 @@ Style Proof
|
|||||||
LabelFont
|
LabelFont
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='proof'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -334,6 +373,8 @@ Style Lemma
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName lem
|
LatexName lem
|
||||||
LabelString "Lemma \arabic{theorem}"
|
LabelString "Lemma \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='lemma'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -341,6 +382,8 @@ Style Corollary
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName cor
|
LatexName cor
|
||||||
LabelString "Corollary \arabic{theorem}"
|
LabelString "Corollary \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='corollary'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -348,6 +391,8 @@ Style Proposition
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName prop
|
LatexName prop
|
||||||
LabelString "Proposition \arabic{theorem}"
|
LabelString "Proposition \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='proposition'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -355,6 +400,8 @@ Style Criterion
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName crit
|
LatexName crit
|
||||||
LabelString "Criterion \arabic{theorem}"
|
LabelString "Criterion \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='criterion'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -362,6 +409,8 @@ Style Algorithm
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName alg
|
LatexName alg
|
||||||
LabelString "Algorithm \arabic{theorem}"
|
LabelString "Algorithm \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='algorithm'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -376,6 +425,8 @@ Style Definition
|
|||||||
Shape Up
|
Shape Up
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='definition'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -383,6 +434,8 @@ Style Conjecture
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName conj
|
LatexName conj
|
||||||
LabelString "Conjecture \arabic{theorem}"
|
LabelString "Conjecture \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='conjecture'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -390,6 +443,9 @@ Style Example
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName exmp
|
LatexName exmp
|
||||||
LabelString "Example \arabic{theorem}"
|
LabelString "Example \arabic{theorem}"
|
||||||
|
DocBookWrapperTag informalexample
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr ""
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -397,6 +453,8 @@ Style Problem
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName prob
|
LatexName prob
|
||||||
LabelString "Problem \arabic{theorem}"
|
LabelString "Problem \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='problem'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -404,6 +462,8 @@ Style Remark
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName rem
|
LatexName rem
|
||||||
LabelString "Remark \arabic{theorem}"
|
LabelString "Remark \arabic{theorem}"
|
||||||
|
DocBookTag note
|
||||||
|
DocBookItemTag para
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -411,6 +471,8 @@ Style Note
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName note
|
LatexName note
|
||||||
LabelString "Note \arabic{theorem}"
|
LabelString "Note \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='note'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -418,6 +480,8 @@ Style Claim
|
|||||||
CopyStyle Theorem
|
CopyStyle Theorem
|
||||||
LatexName claim
|
LatexName claim
|
||||||
LabelString "Claim \arabic{theorem}"
|
LabelString "Claim \arabic{theorem}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='claim'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -426,6 +490,8 @@ Style Summary
|
|||||||
LatexName summ
|
LatexName summ
|
||||||
LabelCounter summ
|
LabelCounter summ
|
||||||
LabelString "Summary \arabic{summ}"
|
LabelString "Summary \arabic{summ}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='summary'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -434,6 +500,8 @@ Style Case
|
|||||||
LatexName case
|
LatexName case
|
||||||
LabelCounter case
|
LabelCounter case
|
||||||
LabelString "Case \arabic{case}"
|
LabelString "Case \arabic{case}"
|
||||||
|
DocBookTag para
|
||||||
|
DocBookAttr role='case'
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -451,6 +519,8 @@ Style Acknowledgement
|
|||||||
Size large
|
Size large
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag para
|
||||||
|
DocBookWrapperTag acknowledgements
|
||||||
End
|
End
|
||||||
|
|
||||||
Input theorems-refprefix.inc
|
Input theorems-refprefix.inc
|
||||||
|
@ -42,6 +42,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
|
||||||
|
|
||||||
Input stdcounters.inc
|
Input stdcounters.inc
|
||||||
@ -73,6 +74,9 @@ Style Title
|
|||||||
Size Largest
|
Size Largest
|
||||||
EndFont
|
EndFont
|
||||||
HTMLTitle true
|
HTMLTitle true
|
||||||
|
DocBookTag title
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookInInfo maybe
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout "Flex:Titlenotemark"
|
InsetLayout "Flex:Titlenotemark"
|
||||||
@ -95,6 +99,8 @@ InsetLayout "Flex:Titlenotemark"
|
|||||||
Color green
|
Color green
|
||||||
Size Small
|
Size Small
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag footnoteref
|
||||||
|
# TODO: the content will be output within the tag, while it should be the linkend attribute, i.e. the output should be <footnoteref linked="[content]"/>. If the content has several footnotes, it should be split on the comma: "t1,t2" should generate <footnoteref linked="t1"/><footnoteref linked="t2"/>.
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -105,8 +111,10 @@ Style "Title footnote"
|
|||||||
Category FrontMatter
|
Category FrontMatter
|
||||||
InTitle 1
|
InTitle 1
|
||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Footnote Label"
|
LabelString "Footnote Label"
|
||||||
Tooltip "Label you refer to in the title"
|
Tooltip "Label you refer to in the title"
|
||||||
|
DocBookTag anchor
|
||||||
|
DocBookTagType inline
|
||||||
EndArgument
|
EndArgument
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
BottomSep 0.5
|
BottomSep 0.5
|
||||||
@ -118,6 +126,13 @@ Style "Title footnote"
|
|||||||
Color Green
|
Color Green
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag footnote
|
||||||
|
DocBookItemTag para
|
||||||
|
DocBookWrapperTag title
|
||||||
|
DocBookWrapperTagType paragraph
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo maybe
|
||||||
|
# TODO: the argument will be output within the tag, while it should be the xml:id attribute, i.e. the output should be <footnote xml:id="[Argument 1]"/>. And it should also be within the title, and not as a second title.
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -129,6 +144,8 @@ Style Author
|
|||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Author Label"
|
LabelString "Author Label"
|
||||||
Tooltip "Label you will reference in the address"
|
Tooltip "Label you will reference in the address"
|
||||||
|
DocBookTag phrase
|
||||||
|
DocBookAttr role='address-label'
|
||||||
EndArgument
|
EndArgument
|
||||||
LatexName author
|
LatexName author
|
||||||
LabelSep xxx
|
LabelSep xxx
|
||||||
@ -141,6 +158,11 @@ Style Author
|
|||||||
Font
|
Font
|
||||||
Size Large
|
Size Large
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag personname
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -206,6 +228,8 @@ Style Address
|
|||||||
Argument 1
|
Argument 1
|
||||||
LabelString "Address Label"
|
LabelString "Address Label"
|
||||||
Tooltip "Label of the author you refer to"
|
Tooltip "Label of the author you refer to"
|
||||||
|
DocBookTag phrase
|
||||||
|
DocBookAttr role='label'
|
||||||
EndArgument
|
EndArgument
|
||||||
ParSkip 0.4
|
ParSkip 0.4
|
||||||
Align Center
|
Align Center
|
||||||
@ -214,6 +238,12 @@ Style Address
|
|||||||
Font
|
Font
|
||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag address
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -229,6 +259,12 @@ Style Email
|
|||||||
Font
|
Font
|
||||||
Shape Up
|
Shape Up
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag email
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag author
|
||||||
|
DocBookWrapperTagType block
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -258,6 +294,11 @@ Style Abstract
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Large
|
Size Large
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookAbstract true
|
||||||
|
DocBookInInfo always
|
||||||
|
DocBookWrapperTag abstract
|
||||||
|
DocBookWrapperMergeWithPrevious true
|
||||||
|
DocBookTag para
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -277,7 +318,11 @@ Style Keywords
|
|||||||
LabelFont
|
LabelFont
|
||||||
Color Green
|
Color Green
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
DocBookTag keyword
|
||||||
|
DocBookTagType paragraph
|
||||||
|
DocBookWrapperTag keywordset
|
||||||
|
DocBookInInfo always
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -315,5 +360,6 @@ Style Bibliography
|
|||||||
Color latex
|
Color latex
|
||||||
EndFont
|
EndFont
|
||||||
EndArgument
|
EndArgument
|
||||||
|
DocBookTag bibliography
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ Style Example
|
|||||||
EndBabelPreamble
|
EndBabelPreamble
|
||||||
DocBookWrapperTag informalexample
|
DocBookWrapperTag informalexample
|
||||||
DocBookTag para
|
DocBookTag para
|
||||||
DocBookAttr ""
|
DocBookAttr ""
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user