mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use the TOC:Listings layout to hold CSS information for it.
This commit is contained in:
parent
ad6250f1a6
commit
d3f6e28e35
@ -195,6 +195,13 @@ InsetLayout TOC:Listings
|
||||
LangPreamble
|
||||
\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
|
||||
EndLangPreamble
|
||||
HTMLStyle
|
||||
div.lyxtoc-flat {
|
||||
margin: 0em 0em 0em 1em;
|
||||
font-size: large;
|
||||
font-weight: normal;
|
||||
}
|
||||
EndHTMLStyle
|
||||
End
|
||||
|
||||
InsetLayout Include:Listings
|
||||
|
@ -226,7 +226,7 @@ void InsetTOC::makeTOCNoDepth(XHTMLStream xs,
|
||||
if (!it->isOutput())
|
||||
continue;
|
||||
|
||||
xs << html::StartTag("div", "class='lyxtop-1'") << html::CR();
|
||||
xs << html::StartTag("div", "class='lyxtoc-flat'") << html::CR();
|
||||
|
||||
Paragraph const & par = it->dit().innerParagraph();
|
||||
makeTOCEntry(xs, par, op);
|
||||
|
Loading…
Reference in New Issue
Block a user