This file is indexed.

/usr/share/lyx/layouts/figs-within-sections.module is in lyx-common 2.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#\DeclareLyXModule{Number Figures by Section}
#DescriptionBegin
#Resets the figure number at section start and prepends
#the section number to the figure number, as in 'fig. 2.1'.
#DescriptionEnd

Format 60

Requires amsmath

AddToPreamble
	\numberwithin{figure}{section}
EndPreamble

Float
	Type                  figure
	NumberWithin          section
End