2558 |
$docu_ext = "htm"; |
$docu_ext = "htm"; |
2559 |
} |
} |
2560 |
|
|
2561 |
$docu_doc = "$docu_name" . ($docu_ext ? ".$docu_ext" : ""); # document's contents |
$docu_doc = $docu_name . ($docu_ext ? ".$docu_ext" : ""); # document's contents |
2562 |
if ($Texi2HTML::Config::SPLIT) |
if ($Texi2HTML::Config::SPLIT) |
2563 |
{ |
{ |
2564 |
# if Texi2HTML::Config::NODE_FILES is true and a node is called ${docu_name}_toc |
# if Texi2HTML::Config::NODE_FILES is true and a node is called ${docu_name}_toc |
2575 |
$docu_about .= ".$docu_ext" if $docu_ext; |
$docu_about .= ".$docu_ext" if $docu_ext; |
2576 |
$docu_top = $Texi2HTML::Config::TOP_FILE || $docu_name; |
$docu_top = $Texi2HTML::Config::TOP_FILE || $docu_name; |
2577 |
$docu_top .= ".$docu_ext" if $docu_ext; |
$docu_top .= ".$docu_ext" if $docu_ext; |
2578 |
|
|
2579 |
|
if (defined $Texi2HTML::Config::element_file_name) |
2580 |
|
{ |
2581 |
|
$docu_toc = &$Texi2HTML::Config::element_file_name |
2582 |
|
(undef, "toc", $docu_name); |
2583 |
|
$docu_stoc = &$Texi2HTML::Config::element_file_name |
2584 |
|
(undef, "stoc", $docu_name); |
2585 |
|
$docu_foot = &$Texi2HTML::Config::element_file_name |
2586 |
|
(undef, "foot", $docu_name); |
2587 |
|
$docu_about = &$Texi2HTML::Config::element_file_name |
2588 |
|
(undef, "about", $docu_name); |
2589 |
|
# $docu_top is handled later. |
2590 |
|
} |
2591 |
} |
} |
2592 |
else |
else |
2593 |
{ |
{ |
2596 |
$docu_doc = $Texi2HTML::Config::OUT; |
$docu_doc = $Texi2HTML::Config::OUT; |
2597 |
$docu_doc =~ s|.*/||; |
$docu_doc =~ s|.*/||; |
2598 |
} |
} |
2599 |
|
if (defined $Texi2HTML::Config::element_file_name) |
2600 |
|
{ |
2601 |
|
$docu_doc = &$Texi2HTML::Config::element_file_name |
2602 |
|
(undef, "doc", $docu_name); |
2603 |
|
} |
2604 |
$docu_toc = $docu_foot = $docu_stoc = $docu_about = $docu_top = $docu_doc; |
$docu_toc = $docu_foot = $docu_stoc = $docu_about = $docu_top = $docu_doc; |
2605 |
} |
} |
2606 |
|
|