mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +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
|
LangPreamble
|
||||||
\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
|
\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
|
||||||
EndLangPreamble
|
EndLangPreamble
|
||||||
|
HTMLStyle
|
||||||
|
div.lyxtoc-flat {
|
||||||
|
margin: 0em 0em 0em 1em;
|
||||||
|
font-size: large;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
EndHTMLStyle
|
||||||
End
|
End
|
||||||
|
|
||||||
InsetLayout Include:Listings
|
InsetLayout Include:Listings
|
||||||
|
@ -226,7 +226,7 @@ void InsetTOC::makeTOCNoDepth(XHTMLStream xs,
|
|||||||
if (!it->isOutput())
|
if (!it->isOutput())
|
||||||
continue;
|
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();
|
Paragraph const & par = it->dit().innerParagraph();
|
||||||
makeTOCEntry(xs, par, op);
|
makeTOCEntry(xs, par, op);
|
||||||
|
Loading…
Reference in New Issue
Block a user