diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index bacc8cc708a..5c31e804f3d 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -932,8 +932,6 @@ sub do_cmd_memberlineni{ @col_aligns = ('
$href
"; - } else { + } + else { $the_title .= ("\n$t_author
"); } - } else { write_warnings("\nThere is no author for this document."); } + } + else { + write_warnings("\nThere is no author for this document."); + } if ($t_institute) { - $the_title .= "\n$t_institute
";} + $the_title .= "\n$t_institute
"; + } if ($DEVELOPER_ADDRESS) { - $the_title .= "\n$DEVELOPER_ADDRESS
";} + $the_title .= "\n$DEVELOPER_ADDRESS
"; + } if ($t_affil) { - $the_title .= "\n$t_affil
";} + $the_title .= "\n$t_affil
"; + } if ($t_date) { $the_title .= "\n$t_date";
if ($PYTHON_VERSION) {
- $the_title .= "
Release $PYTHON_VERSION";}
+ $the_title .= "
Release $PYTHON_VERSION";
+ }
$the_title .= "
$t_address
"; - } else { $the_title .= "\n"} + } + else { + $the_title .= "\n
"; + } if ($t_email) { $the_title .= "\n
$t_email
"; - }# else { $the_title .= "" } + } + return $the_title; +} + +use File::Basename; + +sub make_my_titlegraphic() { + my($myname, $mydir, $myext) = fileparse($TITLE_PAGE_GRAPHIC, '\..*'); + chop $mydir; + if ($mydir eq '.') { + $mydir = $ICONSERVER; + } + $myext = ".$IMAGE_TYPE" + unless $myext; + my $graphic = "" + . make_my_titlepage() + . " | \n" + . make_my_titlegraphic() + . "
" + . make_my_titlepage() + . " |