aboutsummaryrefslogtreecommitdiff
path: root/doc/html.init
blob: 8b29bd8190a3f0783991c734b90e67f34469a809 (plain)
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
# Texi2any configuration for ltbug1 documentation. -*- perl -*-
# Copyright (C) 2009-2019 Sergey Poznyakoff
use strict;

# Show TOC in place of the @contents directive.
set_from_init_file('INLINE_CONTENTS', 1);
# Do not show Texinfo menus.
set_from_init_file('SHOW_MENU', 0);
# Inhibit output of CSS lines in page headers.
set_from_init_file('CSS_LINES', '');

set_from_init_file('BODYTEXT', "");

set_from_init_file('EXTRA_HEAD', "\
  <link rev=\"made\" href=\"mailto:gray\@gnu.org.ua\">\
  <link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\">");

sub gray_end_file($)
{
    my $self = shift;
    my $program_text = '';
    if ($self->get_conf('PROGRAM_NAME_IN_FOOTER')) {
	my $program_string = &{$self->{'format_program_string'}}($self);
	$program_text = "<p>
  $program_string
</p>";
  }
  my $pre_body_close = $self->get_conf('PRE_BODY_CLOSE');
  $pre_body_close = '' if (!defined($pre_body_close));
  return "
<div class=\"copyright\">
$program_text

$pre_body_close
</div>
</body>
</html>
";
}

texinfo_register_formatting_function('end_file', \&gray_end_file);

set_from_init_file('PRE_BODY_CLOSE',
'<p>Copyright (C) 2019 <a href="mailto:gray@gnu.org">Sergey Poznyakoff</a></p>
<p>		   
Content is available under <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License 1.3</a>.
</p>');

# Print generating program name at the bottom of a page.
set_from_init_file('PROGRAM_NAME_IN_FOOTER',1);

# Disable horizontal bars
set_from_init_file('DEFAULT_RULE', '');
set_from_init_file('BIG_RULE', '');

Return to:

Send suggestions and report system problems to the System administrator.