Initial HTML information for layouts. Much of this is prelimiary,

some of it is really only for testing purposes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29953 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-06-05 17:51:03 +00:00
parent 32fabb3f6a
commit 062db8b679
8 changed files with 73 additions and 1 deletions

View File

@ -17,6 +17,13 @@ InsetLayout CharStyle:Noun
EndFont
Requires noun
InToc true
HTMLTag span
HTMLAttr class='noun'
HTMLStyle
span.noun {
font-family: sans-serif;
}
EndHTMLStyle
End
@ -29,6 +36,7 @@ InsetLayout CharStyle:Emph
Shape Italic
EndFont
InToc true
HTMLTag em
End
@ -44,6 +52,7 @@ InsetLayout CharStyle:Strong
\newcommand{\strong}[1]{\textbf{#1}}
EndPreamble
InToc true
HTMLTag strong
End
@ -59,4 +68,5 @@ InsetLayout CharStyle:Code
\newcommand{\code}[1]{\texttt{#1}}
EndPreamble
InToc true
HTMLTag code
End

View File

@ -10,7 +10,6 @@ Sides 1
SecNumDepth 3
TocDepth 3
Style Standard
Margin Static
LatexType Paragraph
@ -20,6 +19,7 @@ Style Standard
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
HTMLTag p
End
Input stdtitle.inc

View File

@ -35,6 +35,7 @@ Style Standard
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
HTMLTag p
End
#Input stdcharstyles.inc

View File

@ -97,6 +97,8 @@ InsetLayout Foot
Size Small
EndFont
MultiPar true
HTMLTag span
HTMLAttr class='footnote'
End
InsetLayout Note:Comment
@ -322,3 +324,9 @@ InsetLayout Info:shortcuts
Family sans
EndFont
End
InsetLayout Box
HTMLStyle
span.Frameless { font-family: sans-serif; }
EndHTMLStyle
End

View File

@ -24,6 +24,9 @@ Style Quotation
ParSep 0
Align Block
AlignPossible Block, Left, Right, Center
HTMLTag blockquote
HTMLAttr class='quotation'
HTMLItem p
End
@ -41,6 +44,9 @@ Style Quote
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
HTMLTag blockquote
HTMLAttr class='quote'
HTMLItem p
End
@ -61,6 +67,9 @@ Style Verse
Align Block
AlignPossible Block, Left
LabelType No_Label
HTMLTag blockquote
HTMLAttr class='verse'
HTMLItem p
End

View File

@ -24,6 +24,8 @@ Style Itemize
AlignPossible Block, Left
LabelType Itemize
LabelString "*"
HTMLTag ul
HTMLItem li
End
@ -44,6 +46,8 @@ Style Enumerate
AlignPossible Block, Left
LabelType Enumerate
LabelCounter "enum"
HTMLTag ol
HTMLItem li
End
Style Description
@ -66,6 +70,9 @@ Style Description
LabelFont
Series Bold
EndFont
HTMLTag dl
HTMLItem dd
HTMLLabel dt
End
@ -84,6 +91,11 @@ Style List
AlignPossible Block, Left
LabelType Manual
LabelString "00.00.0000"
HTMLTag ol
HTMLAttr class='lyxlist'
HTMLItem li
HTMLLabel span
HTMLLabelAttr class='lyxlist'
#define the environment lyxlist
Preamble
@ -95,4 +107,13 @@ Style List
\renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}
EndPreamble
HTMLStyle
ol.lyxlist {
list-style-type: none;
}
span.lyxlist {
margin-right: 3em;
}
EndHTMLStyle
End

View File

@ -30,6 +30,8 @@ Style Part
Series Bold
Size Huge
EndFont
HTMLTag h1
HTMLAttr class='part'
End
@ -55,6 +57,8 @@ Style Chapter
Series Bold
Size Huge
EndFont
HTMLTag h1
HTMLAttr class='chapter'
End
@ -79,6 +83,11 @@ Style Section
Series Bold
Size Larger
EndFont
HTMLTag h2
HTMLAttr class='section'
HTMLStyle
h2.section { font-family: sans-serif; }
EndHTMLStyle
End
@ -94,6 +103,8 @@ Style Subsection
Series Bold
Size Large
EndFont
HTMLTag h3
HTMLAttr class='subsection'
End
@ -108,6 +119,8 @@ Style Subsubsection
Series Bold
Size Normal
EndFont
HTMLTag h4
HTMLAttr class='subsubsection'
End
@ -118,6 +131,8 @@ Style Paragraph
LatexName paragraph
TopSep 0.4
BottomSep 0
HTMLTag span
HTMLAttr class='paragraph'
End
@ -128,6 +143,8 @@ Style Subparagraph
LatexName subparagraph
NextNoIndent 0
LeftMargin MM
HTMLTag span
HTMLAttr class='subparagraph'
End
Input numarticle.inc

View File

@ -25,6 +25,8 @@ Style Title
Font
Size Largest
EndFont
HTMLTag h1
HTMLAttr class='title'
End
@ -44,6 +46,8 @@ Style Author
Font
Size Large
EndFont
HTMLTag h2
HTMLAttr class='author'
End
@ -63,4 +67,6 @@ Style Date
Font
Size Large
EndFont
HTMLTag h2
HTMLAttr class='date'
End