From d07868ae528960d4c1b860dca5daaa448cb8b021 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 14 May 1998 21:00:28 +0000 Subject: [PATCH] Added support for \developer, \developers, \developersaddress. --- Doc/perl/python.perl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 3a1eaa1c0fb..536f324011f 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -68,7 +68,7 @@ sub do_cmd_NULL{ 'NULL' . @_[0]; } sub do_cmd_e{ '\' . @_[0]; } -$AUTHOR_ADDRESS = ''; +$DEVELOPER_ADDRESS = ''; $PYTHON_VERSION = ''; sub do_cmd_version{ $PYTHON_VERSION . @_[0]; } @@ -80,10 +80,14 @@ sub do_cmd_release{ sub do_cmd_authoraddress{ local($_) = @_; - $AUTHOR_ADDRESS = next_argument(); + $DEVELOPER_ADDRESS = next_argument(); $_; } +sub do_cmd_developer{ do_cmd_author(@_[0]); } +sub do_cmd_developers{ do_cmd_author(@_[0]); } +sub do_cmd_developersaddress{ do_cmd_authoraddress(@_[0]); } + sub do_cmd_hackscore{ local($_) = @_; next_argument(); @@ -783,8 +787,8 @@ sub do_cmd_maketitle { } else { write_warnings("\nThere is no author for this document."); } if ($t_institute) { $the_title .= "\n

$t_institute

";} - if ($AUTHOR_ADDRESS) { - $the_title .= "\n

$AUTHOR_ADDRESS

";} + if ($DEVELOPER_ADDRESS) { + $the_title .= "\n

$DEVELOPER_ADDRESS

";} if ($t_affil) { $the_title .= "\n

$t_affil

";} if ($t_date) {