File: only_toc_out.init

package info (click to toggle)
texi2html 1.82%2Bdfsg1-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 32,848 kB
  • ctags: 16,527
  • sloc: perl: 15,888; xml: 6,075; sh: 3,977; makefile: 545
file content (16 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$element_file_name = \&toc_out_element_file_name;

sub toc_out_element_file_name($$$)
{
    my $element = shift;
    my $type = shift;
    my $prefix = shift;

    if ($type and ($type ne 'top') and ($type ne 'toc'))
    {
        return "$prefix.$Texi2HTML::THISDOC{'extension'}";
    }
    return undef;
}

1;