This file is indexed.

/usr/share/lout/include/slidesf is in lout-common 3.39-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
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
###########################################################################
#                                                                         #
#  @OverheadSetup extension to @DocumentSetup.                            #
#                                                                         #
#  Jeffrey H. Kingston                                                    #
#                                                                         #
#  This package extends DocumentSetup with definitions for overheads.     #
#                                                                         #
#  This program is free software; you can redistribute it and/or modify   #
#  it under the terms of the GNU General Public License as published by   #
#  the Free Software Foundation; either Version 3, or (at your option)    #
#  any later version.                                                     #
#                                                                         #
#  This program is distributed in the hope that it will be useful,        #
#  but WITHOUT ANY WARRANTY; without even the implied warranty of         #
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          #
#  GNU General Public License for more details.                           #
#                                                                         #
#  You should have received a copy of the GNU General Public License      #
#  along with this program; if not, write to the Free Software            #
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston MA 02111-1307 USA #
#                                                                         #
#  As a special exception, when this file is read by Lout when processing #
#  a Lout source document, you may use the result without restriction.    #
#                                                                         #
###########################################################################

extend @BasicSetup @DocumentSetup
export @OverheadTransparencies @Lecture @Overhead
def @OverheadSetup
    named @DateLine			{ No			}
    named @ContentsWord			{ contents		}
    named @LectureWord			{ lecture		}
    named @OverheadWord			{ 			}
    named @LectureNumbers		{ Arabic		}
    named @FirstLectureNumber		{ 1			}
    named @OverheadNumbers		{ Arabic		}
    named @FirstOverheadNumber		{ 1			}
    named @TitlePageFont		{ Helvetica Base      	}
    named @TitleFormat
            right title                 { @Center clines @Break title }
    named @AuthorFormat
            right author                { @Center clines @Break author }
    named @InstitutionFormat
            right institution           { @Center clines @Break @I institution }
    named @DateLineFormat
            right date                  { @Center date          }
    named @AboveTitleGap		{ 0.5i			}
    named @AboveAuthorGap		{ 1.0i			}
    named @AboveInstitutionGap		{ 0.5i			}
    named @AboveDateLineGap		{ 0.5i			}
    named @LectureHeadingFont		{ Bold 1.2f		}
    named @LectureHeadingBreak		{ 1.2fx nohyphen	}
    named @LectureHeadingFormat
	    left number right title	{ @Centre number @DP @Centre title @DP }
    named @AboveLectureGap              { 3.0f                  }
    named @OverheadHeadingFont		{ Bold			}
    named @OverheadHeadingBreak		{ 1.2fx nohyphen	}
    named @OverheadHeadingFormat
	    left number right title	{ @Centre title @DP }
    named @OverheadFormat
	named @II right x { |@DisplayIndent x |               }
	named @QQ right x { |@DisplayIndent x |@DisplayIndent }
	named @CC right x { |0.5rt x          |               }
	named @RR right x { |1.0rt x          |               }
	right @Body
					{ @Body }
    named @AboveOverheadGap             { 1.0f                  }
    named @LectureInContents		{ Yes			}
    named @OverheadInContents		{ No			}
    named @ReferencesInContents		{ Yes			}
    named @LectureContentsIndent	{ 0f			}
    named @OverheadContentsIndent	{ 0f			}
    named @OverheadInLectureContentsIndent { 2f			}
    named @ReferencesContentsIndent	{ 0f			}
    named @LectureNumInTheorems		{ Yes			}
    named @OverheadNumInTheorems	{ No			}
    named @LectureNumInDisplays		{ Yes			}
    named @OverheadNumInDisplays	{ No			}
    named @LectureNumInFigures		{ Yes			}
    named @OverheadNumInFigures		{ No			}
    named @LectureNumInTables		{ Yes			}
    named @OverheadNumInTables		{ No			}
    named @LectureNumInFloaters		{ Yes			}
    named @OverheadNumInFloaters	{ No			}
    named @LectureNumInRunners		{ Yes			}
    named @OverheadNumInRunners		{ Yes			}
    named @LecturePrefix		{			}
    named @OverheadPrefix		{			}
@Begin

    #######################################################################
    #                                                                     #
    #  Symbols for passing full title to running headers.                 #
    #                                                                     #
    #######################################################################

    export @Val
    def @StoreTitle left @Tag named @Val {} { @Null }

    def @SaveTitle right x { save @StoreTitle @Val { x } }

    def @GetTitle { @StoreTitle&&save @Open { @Val } }


    #######################################################################
    #                                                                     #
    #  Lists of lectures and overheads.                                   #
    #                                                                     #
    #######################################################################

    export num
    def @LectureList named @Tag {} named num {}
    {
		@Galley
        //1.1b  @LectureList num { @Next num }
    }

    export num
    def @OverheadsList named @Tag {} named num {}
    {
		@Galley
        //1.1b	@OverheadsList num { @Next num }
    }

    export num
    def @LecOverheadsList named @Tag {} right num
    {
		@Galley
        //1.1b	@LecOverheadsList @Next num
    }


    #######################################################################
    #                                                                     #
    #  @Full - this sends text to a full-width place.                     #
    #                                                                     #
    #######################################################################

    def @Full force into { @FullPlace&&following } right x { x }


    #######################################################################
    #                                                                     #
    #  @OverheadTransparencies.                                           #
    #                                                                     #
    #######################################################################

    def @OverheadTransparencies
        named @Title {}
        named @RunningTitle { dft }
        named @Author {}
        named @Institution {}
        named @DateLine { @DateLine }
        named @InitialFont { @InitialFont }
        named @InitialBreak { @InitialBreak }
        named @InitialOutdent { @InitialOutdent }
        named @InitialSpace { @InitialSpace }
        named @InitialLanguage { @InitialLanguage }
	named @PageOrientation { @PageOrientation }
        named @PageHeaders { @PageHeaders }
        named @FirstPageNumber { @FirstPageNumber }
        named @FirstOverheadNumber { @FirstOverheadNumber }
        named @FirstLectureNumber { @FirstLectureNumber }
	named @OptimizePages { @OptimizePages }
    {

	def @DatePart
	{
	    @DateLine @Case {
		No	@Yield { @Null	    }
		Yes	@Yield { @Date      }
		else	@Yield { @DateLine  }
	    }
	}

	def @TitlePart
	{
	    @TitlePageFont @Font @InitialBreak @Break
	    @InitialSpace @Space clines @Break {
		//0.5i
               //@AboveTitleGap   1.5f @Font @InitialBreak @Break
                                  @InitialSpace @Space @TitleFormat @Title |
               //@AboveAuthorGap      @AuthorFormat @Author |
               //@AboveInstitutionGap @InstitutionFormat @Institution |
               //@AboveDateLineGap    @DateLineFormat @DatePart |
	    }
	}

	def @ContentsPart
	{
	    @DP	|0.5rt @LectureHeadingFont @Font @LectureHeadingBreak @Break
		       @LectureHeadingFormat { contents @WordVal @ContentsWord } |
	    @DP	@ContentsSection
	}

	def @ReferencesPart
	    named @Tag {}
	{
	    @DP	|0.5rt @LectureHeadingFont @Font @LectureHeadingBreak @Break
		       @LectureHeadingFormat { @RefHeading @RefListTitle } |
	    //  @PageMark @Tag
	    //  @ReferencesInContents @ContentsEntry
	            indent { @ReferencesContentsIndent }
		    title { @RefHeading @RefListTitle }
		    pagenum { @PageOf @Tag }
	    //  Start @Runner @MajorTitle { @GetTitle }
            @DP @ReferencesSection
	    //  NonStart @Runner @MajorTitle { @GetTitle }
	}

	def @OverheadsBody force into { @ColPlace&&preceding }
	    named @Optimize { @OptimizePages }
	{
		    @Title @Case {
			""	@Yield @Null
			else	@Yield @TitlePart
		    }
	    //1.1b  @MakeContents @Case {
			{ Yes Bypass }	@Yield @ContentsPart
			else		@Yield @Null
		    }
	    //      Start @Runner @MajorTitle { @GetTitle }
	    //1.1b  @OverheadsList num { @FirstOverheadNumber }
	    //1.1b  @LectureList num { @FirstLectureNumber }
	    //1.1b  @ReferencesPart
	}

        @InitialFont @Font { @InitialBreak setoutdent @InitialOutdent } @Break
	@InitialLanguage @Language @InitialSpace @Space
	{ @ColourCommand @InitialColour } @SetColour
        {
		@SaveTitle {
		    @InitialLanguage @Language { @RunningTitle @Dft @Title }
		}

	    //  Yes @BeginAllCounters {}
	    //  Yes @BeginDisplayCounter {}
	    //  Yes @BeginFigureCounter {}
	    //  Yes @BeginFigureCounter {}
            //	@PageList
		    @ColumnNumber { 1 }
		    @PageHeaders { @PageHeaders }
		    @Orient { @PageOrientation }
		    extra { Yes }
		    @FirstPageNumber
            //	@OverheadsBody
            //	Start @Runner
        }
    }


    #######################################################################
    #                                                                     #
    #  Overheads.                                                         #
    #                                                                     #
    #######################################################################

    def @Overhead force into { @OverheadsList&&preceding }
	named @Tag {}
	named @Title {}
	named @RunningTitle { dft }
	named @Format
            named @II right x { |@DisplayIndent x |               }
            named @QQ right x { |@DisplayIndent x |@DisplayIndent }
            named @CC right x { |0.5rt x          |               }
            named @RR right x { |1.0rt x          |               }
                right @Body { @OverheadFormat @Body }
	named @InitialLanguage {}
	named @BypassNumber { dft }
	body @Body
    {

	@LargeScaleStructure
	    tag { @Tag }
	    type { Major }
	    initiallanguage { @InitialLanguage }
	    title { @Title }
	    majortitle { @GetTitle }
	    runningtitle { @RunningTitle }
	    aboveheadinggap { @AboveOverheadGap }
	    headingfont { @OverheadHeadingFont }
	    headingbreak { @OverheadHeadingBreak }
	    headingformat { @Num @OverheadHeadingFormat @Body }
	    incontents { @OverheadInContents }
	    contentsindent { @OverheadContentsIndent }
	    numbers { @OverheadNumbers }
	    attachnum { @OverheadsList&&preceding @Tagged @Tag }
	    retrievenum { @OverheadsList&&@Tag @Open { num } }
	    bypassnumber { @BypassNumber }
	    pnprefix { @OverheadPrefix }
	    intheorems { @OverheadNumInTheorems }
            indisplays { @OverheadNumInDisplays }
            infigures { @OverheadNumInFigures }
            intables { @OverheadNumInTables }
            infloaters { @OverheadNumInFloaters }
	    sendheader { @Full @Body }
	    innergap { @DisplayGap }
            inrunners { @OverheadNumInRunners }
	    @Format @Body
    }


    #######################################################################
    #                                                                     #
    #  Lectures containing overheads.                                     #
    #                                                                     #
    #######################################################################

    export @BeginOverheads @EndOverheads @Overhead
    def @Lecture force into { @LectureList&&preceding }
        named @Tag {}
        named @Title {}
        named @RunningTitle { dft }
	named @InitialLanguage {}
	named @BypassNumber { dft }
        body @Body
    {
	def @SaveTitle { @Title }

        def @EndOverheadsPlace { @Galley }

        def @EndOverheads force into { @EndOverheadsPlace&&preceding }
	{}

        macro @BeginOverheads
	{   //1.1b @LecOverheadsList 1
	    // @EndOverheadsPlace //
	}

        def @LectureNum
        {
	    @LectureNumbers @Then {
		@BypassNumber @Dft {
		    @LectureNumbers @Num @LectureList&&@Tag @Open { num }
		}
	    }
        }

        def @Overhead force into { @LecOverheadsList&&preceding }
            named @Tag {}
            named @Title {}
            named @RunningTitle { dft }
	    named @Format
                named @II right x { |@DisplayIndent x |               }
                named @QQ right x { |@DisplayIndent x |@DisplayIndent }
                named @CC right x { |0.5rt x          |               }
                named @RR right x { |1.0rt x          |               }
		    right @Body { @OverheadFormat @Body }
	    named @InitialLanguage { @InitialLanguage }
	    named @BypassNumber { dft }
            body @Body
        {

	    @LargeScaleStructure
		tag { @Tag }
		type { Minor }
		initiallanguage { @InitialLanguage }
		title { @Title }
		runningtitle { @RunningTitle }
		headingfont { @OverheadHeadingFont }
		headingbreak { @OverheadHeadingBreak }
		headingformat { @Num @OverheadHeadingFormat @Body }
		incontents { @OverheadInContents }
		contentsindent { @OverheadInLectureContentsIndent }
		numbers { @OverheadNumbers }
		attachnum { @LecOverheadsList&&preceding @Tagged @Tag }
		retrievenum { @LecOverheadsList&&@Tag @Open { num } }
		bypassnumber { @BypassNumber }
		prefix { @LectureNum }
		majornum { @LectureNum }
		majortitle { @GetTitle }
		minortitle { @SaveTitle }
		intheorems { @OverheadNumInTheorems }
		indisplays { OverheadNumInDisplays }
		infigures { @OverheadNumInFigures }
		inrunners { @OverheadNumInRunners }
		@Format @Body

        }

	@LargeScaleStructure
	    tag { @Tag }
	    type { Major }
	    initiallanguage { @InitialLanguage }
	    title { @Title }
	    runningtitle { @RunningTitle }
	    aboveheadinggap { @AboveLectureGap }
	    headingfont { @LectureHeadingFont }
	    headingbreak { @LectureHeadingBreak }
	    headingformat { @Num @LectureHeadingFormat @Body }
	    incontents { @LectureInContents }
	    contentsindent { @LectureContentsIndent }
	    word { lecture @WordVal @LectureWord }
	    numbers {  @LectureNumbers }
	    attachnum { @LectureList&&preceding @Tagged @Tag }
	    retrievenum { @LectureList&&@Tag @Open { num } }
	    bypassnumber { @BypassNumber }
	    pnprefix { @LecturePrefix }
	    majortitle { @GetTitle }
	    intheorems { @LectureNumInTheorems }
	    indisplays { @LectureNumInDisplays }
	    infigures { @LectureNumInFigures }
	    intables { @LectureNumInTables }
	    infloaters { @LectureNumInFloaters }
	    sendheader { @Full @Body }
	    innergap { @DisplayGap }
	    inrunners { @LectureNumInRunners }
	    @Body
	    
    }

@End @OverheadSetup