mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
LyXHTML: add explicit HTMLTag for titles.
This way, LyX can generate semantic <hX> tags instead of a generic <div>.
This commit is contained in:
parent
fb4a26577e
commit
051c5f2728
@ -291,6 +291,7 @@ Style Part
|
|||||||
Color Latex
|
Color Latex
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel -1
|
TocLevel -1
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Section
|
Style Section
|
||||||
@ -335,6 +336,7 @@ Style Section
|
|||||||
EndFont
|
EndFont
|
||||||
LabelStringAppendix "\Alph{section}"
|
LabelStringAppendix "\Alph{section}"
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
|
HTMLTag h3
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Section*
|
Style Section*
|
||||||
@ -354,6 +356,7 @@ Style Section*
|
|||||||
EndArgument
|
EndArgument
|
||||||
LaTeXParam *
|
LaTeXParam *
|
||||||
HTMLInToc 0
|
HTMLInToc 0
|
||||||
|
HTMLTag h3
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsection
|
Style Subsection
|
||||||
@ -398,6 +401,7 @@ Style Subsection
|
|||||||
EndFont
|
EndFont
|
||||||
LabelStringAppendix "\arabic{section}.\arabic{subsection}"
|
LabelStringAppendix "\arabic{section}.\arabic{subsection}"
|
||||||
TocLevel 2
|
TocLevel 2
|
||||||
|
HTMLTag h4
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Subsection*
|
Style Subsection*
|
||||||
|
@ -13,7 +13,7 @@ Format 99
|
|||||||
Columns 2
|
Columns 2
|
||||||
Sides 1
|
Sides 1
|
||||||
PageStyle Plain
|
PageStyle Plain
|
||||||
Provides natbib 1
|
Provides natbib 1
|
||||||
|
|
||||||
|
|
||||||
Style Standard
|
Style Standard
|
||||||
@ -50,6 +50,7 @@ Style Section
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -70,6 +71,7 @@ Style Subsection
|
|||||||
Shape Up
|
Shape Up
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 2
|
TocLevel 2
|
||||||
|
HTMLTag h3
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
@ -284,6 +284,7 @@ Style Section
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
|
HTMLTag h2
|
||||||
DocBookTag title
|
DocBookTag title
|
||||||
DocBookTagType paragraph
|
DocBookTagType paragraph
|
||||||
End
|
End
|
||||||
|
@ -215,6 +215,7 @@ Style Section
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
|
HTMLTag h2
|
||||||
DocBookTag title
|
DocBookTag title
|
||||||
DocBookTagType paragraph
|
DocBookTagType paragraph
|
||||||
End
|
End
|
||||||
|
@ -59,6 +59,7 @@ Style Foilhead
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Large
|
Size Large
|
||||||
EndFont
|
EndFont
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,6 +63,7 @@ Style Section
|
|||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
@ -84,6 +85,7 @@ Style Subsection
|
|||||||
Size Normal
|
Size Normal
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 2
|
TocLevel 2
|
||||||
|
HTMLTag h3
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
@ -246,6 +246,7 @@ Style Poemtitle
|
|||||||
Font
|
Font
|
||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
||||||
|
@ -337,6 +337,7 @@ Style Section
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
TocLevel 1
|
TocLevel 1
|
||||||
|
HTMLTag h2
|
||||||
DocBookTag title
|
DocBookTag title
|
||||||
DocBookTagType paragraph
|
DocBookTagType paragraph
|
||||||
End
|
End
|
||||||
|
@ -256,6 +256,7 @@ Style Section
|
|||||||
LabelString "Section Option"
|
LabelString "Section Option"
|
||||||
Tooltip "Optional arguments to the section command (see powerdot manual)"
|
Tooltip "Optional arguments to the section command (see powerdot manual)"
|
||||||
EndArgument
|
EndArgument
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
###
|
###
|
||||||
|
@ -54,6 +54,7 @@ Style Section
|
|||||||
InsertCotext 1
|
InsertCotext 1
|
||||||
IsTocCaption 1
|
IsTocCaption 1
|
||||||
EndArgument
|
EndArgument
|
||||||
|
HTMLTag h2
|
||||||
DocBookTag title
|
DocBookTag title
|
||||||
DocBookTagType paragraph
|
DocBookTagType paragraph
|
||||||
DocBookSectionTag section
|
DocBookSectionTag section
|
||||||
|
@ -104,6 +104,8 @@ Style Chapter
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Huge
|
Size Huge
|
||||||
EndFont
|
EndFont
|
||||||
|
# h1 is used for the document title.
|
||||||
|
HTMLTag h2
|
||||||
DocBookTag title
|
DocBookTag title
|
||||||
DocBookSectionTag chapter
|
DocBookSectionTag chapter
|
||||||
End
|
End
|
||||||
@ -135,6 +137,7 @@ Style Section
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Larger
|
Size Larger
|
||||||
EndFont
|
EndFont
|
||||||
|
HTMLTag h3
|
||||||
DocBookTag title
|
DocBookTag title
|
||||||
DocBookSectionTag section
|
DocBookSectionTag section
|
||||||
End
|
End
|
||||||
|
@ -46,6 +46,7 @@ Style Part
|
|||||||
Series Bold
|
Series Bold
|
||||||
Size Huge
|
Size Huge
|
||||||
EndFont
|
EndFont
|
||||||
|
HTMLTag h2
|
||||||
End
|
End
|
||||||
|
|
||||||
Style Abstract
|
Style Abstract
|
||||||
|
Loading…
Reference in New Issue
Block a user