This file is indexed.

/usr/share/aft/aft-loutbook.pm is in aft 2:5.098-2.

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
# AFT Output Elements.
# !!DO NOT EDIT!! This file was automatically generated by aft-compile v2.07 on Sun Nov 13 22:48:38 2011
# See http://www.maplefish.com/todd/aft.html for details.
package AFT_OUTPUT;

use vars qw ($file_preamble $file_postamble %elem %pragma_postvar);

$file_preamble = '';	# Holds preamble for output file.
$file_postamble = '';	# Holds postamble for output file.
%elem = ();		# Element commands for producing output file.%pragma_postvar = ();	# Variables for substitution post-filtering.


sub init_elements {
	%pragma_postvar = (
	);
	%elem = (
		'StartFilteredVerbatim' =>	 qq'\n\@ID \@F \@Verbatim \@Begin',
		'NumberedListElement' =>	 qq'\n\@LI {\n',
		'EndParagraph' =>	 qq'',
		'EndSect3' =>	 qq'\n\@End \@SubSection ',
		'EndSectLevel1' =>	 qq'',
		'CommentLine' =>	 qq'# \%line\% ',
		'***' =>	 qq'\n\@SubSection \@Title {\%section\%} \@Tag {\%section\%} \@Begin ',
		'Target' =>	 qq'\%text\% \@PageMark {\%target\%}  ',
		'EndVerbatim' =>	 qq'}',
		'StartBulletList' =>	 qq'\n\@BL ',
		'EndSect1' =>	 qq'\n\@End \@Chapter ',
		'LineBreak' =>	 qq'\n\@LLP ',
		'BeginSectLevel1' =>	 qq'',
		'StartNamedList' =>	 qq'\n\@TL ',
		'StartTable' =>	 qq'######## WARNING: AFT doesn\'t support Lout tables yet! ########',
		'BeginSectLevel4' =>	 qq'\n\@BeginSubSubSections ',
		'StartSmall' =>	 qq'\@S {',
		'EndQuote' =>	 qq'} ',
		'EndSectLevel2' =>	 qq'\n\@EndSections ',
		'NBSPACE' =>	 qq'\" \"',
		'StartBlockedVerbatim' =>	 qq'\n\@ID \@F \@Verbatim \@Begin',
		'****' =>	 qq'\n\@SubSubSection \@Title {\%section\%} \@Tag {\%section\%} \@Begin ',
		'NamedListElement' =>	 qq'\n\@DTI {\%name\%} {\n',
		'Image' =>	 qq'\n\@IncludeGraphic \%image\%',
		'FullFilterFilteredVerbatim?' =>	 qq'No',
		'StartStrong' =>	 qq'\@B {',
		'EndEmphasis' =>	 qq'}',
		'StartQuote' =>	 qq'\n\@QD { ',
		'prefilter' =>	 qq'\014		\@NP ',
		'StartNumberedList' =>	 qq'\n\@PNL ',
		'EndSmall' =>	 qq'}',
		'EndBulletList' =>	 qq'\n\@EndList ',
		'PreFilterVerbatim?' =>	 qq'No',
		'NoteRef' =>	 qq'\@Sup {\%ref\%} ',
		'StartVerbatim' =>	 qq'\n\@ID \@F \@Verbatim {',
		'Center' =>	 qq'\n\@CD {\%center\%} ',
		'Image-right' =>	 qq'\n\@RightDisplay \@IncludeGraphic \%image\% ',
		'EndBulletListElement' =>	 qq'\n}',
		'EndFilteredVerbatim' =>	 qq'\n\@End \@Verbatim ',
		'BulletListElement' =>	 qq'\n\@LI {\n',
		'InternalReference' =>	 qq'\%text\% (p. \@PageOf {\%target\%}) ',
		'URL' =>	 qq'\@F {<\%target\%>} ',
		'EndSectLevel3' =>	 qq'\n\@EndSubSections ',
		'EndNumberedList' =>	 qq'\n\@EndList ',
		'EndStrong' =>	 qq'}',
		'StartParagraph' =>	 qq'\n\@PP\n ',
		'EndNamedListElement' =>	 qq'\n}',
		'StartEmphasis' =>	 qq'\@I {',
		'Subscript' =>	 qq'\@Sub {\%stuff\%} ',
		'**' =>	 qq'\n\@Section \@Title {\%section\%} \@Tag {\%section\%} \@Begin ',
		'EndSect2' =>	 qq'\n\@End \@Section ',
		'ID' =>	 qq'LOUTBOOK',
		'EndTeletype' =>	 qq'} ',
		'Superscript' =>	 qq'\@Sup {\%stuff\%} ',
		'EndSect4' =>	 qq'\n\@End \@SubSubSection ',
		'StartTeletype' =>	 qq'\@F {',
		'*' =>	 qq'\n\@Chapter \@Title {\%section\%} \@Tag {\%section\%} \@Begin ',
		'EndNumberedListElement' =>	 qq'\n}',
		'HorizontalLine' =>	 qq'\n\@D \@FullWidthRule ',
		'EndNamedList' =>	 qq'\n\@EndList ',
		'BeginSectLevel3' =>	 qq'\n\@BeginSubSections ',
		'Image-center' =>	 qq'\n\@CD \@IncludeGraphic \%image\% ',
		'ParagraphBreak' =>	 qq'',
		'EndSectLevel4' =>	 qq'\n\@EndSubSubSections ',
		'TOC' =>	 qq'# TOC should be made from your lout file. ',
		'StrikeLine' =>	 qq'# \%line\% ',
		'BeginSectLevel2' =>	 qq'\n\@BeginSections ',
		'Image-left' =>	 qq'\n\@LD \@IncludeGraphic \%image\% ',
		'EndBlockedVerbatim' =>	 qq'\n\@End \@Verbatim ',
	);

## Preamble:

$file_preamble = '# Basser Lout Version 3.25  - Book - Output generated by AFT 5.08
@SysInclude { book }
@Book
@Title {%title%}
@Author {%author%}
@Edition {}
@Publisher {}
@BeforeTitlePage {}
@OnTitlePage {}
@AfterTitlePage {}
@AtEnd {}
@InitialFont { Times Base 12p }
@InitialBreak { adjust 1.2fx hyphen }
@InitialSpace { tex }
@InitialLanguage { Spanish }
@PageOrientation { Portrait }
@PageHeaders { Titles }
@ColumnNumber { 1 }
@FirstPageNumber { 1 }
@IntroFirstPageNumber { 1 }
@OptimizePages { Yes }
//
';

## Postamble:

$file_postamble = '';
}


## Prefilter subroutine:

sub prefilter {
   my ($line) = @_;
   $line=~s/\\/-BSlAsH-/g;
   $line=~s/\"/\"\\\"\"/g;
   $line=~s/-BSlAsH-/\"\\\\"/g;
   $line=~s/\{\-([^\}]+)\@([^\}]+)\-\}/%LeFtB%NeG$1-AtChAr-$2%NeG%RiGhTB/g;
   $line=~s/\{\+([^\}]+)\+\}/%LeFtB%PlUs$1%PlUs%RiGhTB/g;
   $line=~s/\}\+([^\}]+)\+\{/%RiGhTB%PlUs$1%PlUs%LeFtB/g;
   $line=~s/\{\-([^\}]+)\-\}/%LeFtB%NeG$1%NeG%RiGhTB/g;
   $line=~s/\}\-([^\}]+)\-\{/%RiGhTB%NeG$1%NeG%LeFtB/g;
   $line=~s/[\{\}\@]/\"$&\"/g;
   $line=~s/%LeFtB/{/g;
   $line=~s/%RiGhTB/}/g;
   $line=~s/%PlUs/+/g;
   $line=~s/%NeG/-/g;
   $line=~s/-AtChAr-/@/g;
   $line=~s/\`\`([^\']+)\'\'\'\'/``$1-4QuOtEs-/g;
   $line=~s/\`\`([^\']+)\'\'/``$1-2QuOtEs-/g;
   $line=~s/-4QuOtEs-/''''/g;
   $line=~s/-2QuOtEs-/''''/g;
   $line=~s/[\#\&\^\/]/\"$&\"/g;
   $line=~s/\~\~/-DTiLdE-/g;
   return $line;
}

## Postfilter subroutine:

sub postfilter {
   my ($line) = @_;
   $line=~s/\~/\"~\"/g;
   $line=~s/-DTiLdE-/~/g;
   $line=~s/\|/\"|\"/g;
   return $line;
}

 

1;