mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Minor cleanup: We should use the usual conventions for
InsetLayout names.
This commit is contained in:
parent
be89d37bd4
commit
03da96e0f7
@ -170,7 +170,7 @@ InsetLayout Phantom
|
||||
ForcePlain true
|
||||
End
|
||||
|
||||
InsetLayout ListOfListings
|
||||
InsetLayout TOC:Listings
|
||||
# We need the [[List of Listings]] context, since "Listings" is also
|
||||
# the name of the inset and translated differently.
|
||||
# "Listings[[List of Listings]]" is the name of the "List of listings"
|
||||
@ -187,7 +187,7 @@ InsetLayout ListOfListings
|
||||
EndLangPreamble
|
||||
End
|
||||
|
||||
InsetLayout IncludeListings
|
||||
InsetLayout Include:Listings
|
||||
BabelPreamble
|
||||
\addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
|
||||
EndBabelPreamble
|
||||
@ -200,7 +200,7 @@ InsetLayout IncludeListings
|
||||
End
|
||||
|
||||
InsetLayout Listings
|
||||
CopyStyle IncludeListings
|
||||
CopyStyle Include:Listings
|
||||
LabelString Listings[[inset]]
|
||||
LatexType none
|
||||
Decoration minimalistic
|
||||
|
@ -96,7 +96,7 @@ void InsetTOC::doDispatch(Cursor & cur, FuncRequest & cmd) {
|
||||
docstring InsetTOC::layoutName() const
|
||||
{
|
||||
if (getCmdName() == "lstlistoflistings")
|
||||
return from_ascii("ListOfListings");
|
||||
return from_ascii("TOC:Listings");
|
||||
return docstring();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user