mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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
|
||||
EndFont
|
||||
TocLevel -1
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
Style Section
|
||||
@ -335,6 +336,7 @@ Style Section
|
||||
EndFont
|
||||
LabelStringAppendix "\Alph{section}"
|
||||
TocLevel 1
|
||||
HTMLTag h3
|
||||
End
|
||||
|
||||
Style Section*
|
||||
@ -354,6 +356,7 @@ Style Section*
|
||||
EndArgument
|
||||
LaTeXParam *
|
||||
HTMLInToc 0
|
||||
HTMLTag h3
|
||||
End
|
||||
|
||||
Style Subsection
|
||||
@ -398,6 +401,7 @@ Style Subsection
|
||||
EndFont
|
||||
LabelStringAppendix "\arabic{section}.\arabic{subsection}"
|
||||
TocLevel 2
|
||||
HTMLTag h4
|
||||
End
|
||||
|
||||
Style Subsection*
|
||||
|
@ -13,7 +13,7 @@ Format 99
|
||||
Columns 2
|
||||
Sides 1
|
||||
PageStyle Plain
|
||||
Provides natbib 1
|
||||
Provides natbib 1
|
||||
|
||||
|
||||
Style Standard
|
||||
@ -50,6 +50,7 @@ Style Section
|
||||
Series Bold
|
||||
EndFont
|
||||
TocLevel 1
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
|
||||
@ -70,6 +71,7 @@ Style Subsection
|
||||
Shape Up
|
||||
EndFont
|
||||
TocLevel 2
|
||||
HTMLTag h3
|
||||
End
|
||||
|
||||
|
||||
|
@ -284,6 +284,7 @@ Style Section
|
||||
Series Bold
|
||||
EndFont
|
||||
TocLevel 1
|
||||
HTMLTag h2
|
||||
DocBookTag title
|
||||
DocBookTagType paragraph
|
||||
End
|
||||
|
@ -215,6 +215,7 @@ Style Section
|
||||
Series Bold
|
||||
EndFont
|
||||
TocLevel 1
|
||||
HTMLTag h2
|
||||
DocBookTag title
|
||||
DocBookTagType paragraph
|
||||
End
|
||||
|
@ -59,6 +59,7 @@ Style Foilhead
|
||||
Series Bold
|
||||
Size Large
|
||||
EndFont
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
|
||||
|
@ -63,6 +63,7 @@ Style Section
|
||||
Size Normal
|
||||
EndFont
|
||||
TocLevel 1
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
|
||||
@ -84,6 +85,7 @@ Style Subsection
|
||||
Size Normal
|
||||
EndFont
|
||||
TocLevel 2
|
||||
HTMLTag h3
|
||||
End
|
||||
|
||||
|
||||
|
@ -246,6 +246,7 @@ Style Poemtitle
|
||||
Font
|
||||
Series Bold
|
||||
EndFont
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
|
||||
|
@ -337,6 +337,7 @@ Style Section
|
||||
Series Bold
|
||||
EndFont
|
||||
TocLevel 1
|
||||
HTMLTag h2
|
||||
DocBookTag title
|
||||
DocBookTagType paragraph
|
||||
End
|
||||
|
@ -256,6 +256,7 @@ Style Section
|
||||
LabelString "Section Option"
|
||||
Tooltip "Optional arguments to the section command (see powerdot manual)"
|
||||
EndArgument
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
###
|
||||
|
@ -54,6 +54,7 @@ Style Section
|
||||
InsertCotext 1
|
||||
IsTocCaption 1
|
||||
EndArgument
|
||||
HTMLTag h2
|
||||
DocBookTag title
|
||||
DocBookTagType paragraph
|
||||
DocBookSectionTag section
|
||||
|
@ -104,6 +104,8 @@ Style Chapter
|
||||
Series Bold
|
||||
Size Huge
|
||||
EndFont
|
||||
# h1 is used for the document title.
|
||||
HTMLTag h2
|
||||
DocBookTag title
|
||||
DocBookSectionTag chapter
|
||||
End
|
||||
@ -135,6 +137,7 @@ Style Section
|
||||
Series Bold
|
||||
Size Larger
|
||||
EndFont
|
||||
HTMLTag h3
|
||||
DocBookTag title
|
||||
DocBookSectionTag section
|
||||
End
|
||||
|
@ -46,6 +46,7 @@ Style Part
|
||||
Series Bold
|
||||
Size Huge
|
||||
EndFont
|
||||
HTMLTag h2
|
||||
End
|
||||
|
||||
Style Abstract
|
||||
|
Loading…
Reference in New Issue
Block a user