cannam@167: ## HTML output
cannam@167: # Copyright (C) 1993-1995 Ian Jackson.
cannam@167:
cannam@167: # This file is free software; you can redistribute it and/or modify
cannam@167: # it under the terms of the GNU General Public License as published by
cannam@167: # the Free Software Foundation; either version 2, or (at your option)
cannam@167: # any later version.
cannam@167:
cannam@167: # It is distributed in the hope that it will be useful,
cannam@167: # but WITHOUT ANY WARRANTY; without even the implied warranty of
cannam@167: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cannam@167: # GNU General Public License for more details.
cannam@167:
cannam@167: # You should have received a copy of the GNU General Public License
cannam@167: # along with GNU Emacs; see the file COPYING. If not, write to
cannam@167: # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
cannam@167: # Boston, MA 02111-1307, USA.
cannam@167:
cannam@167: # (Note: I do not consider works produced using these BFNN processing
cannam@167: # tools to be derivative works of the tools, so they are NOT covered
cannam@167: # by the GPL. However, I would appreciate it if you credited me if
cannam@167: # appropriate in any documents you format using BFNN.)
cannam@167:
cannam@167: %saniarray= ('<','lt', '>','gt', '&','amp', '"','quot');
cannam@167:
cannam@167: sub html_init {
cannam@167: $html_prefix = './'.$prefix;
cannam@167: $html_prefix =~ s:^\.//:/:;
cannam@167: system('rm','-r',"$html_prefix.html");
cannam@167: system('mkdir',"$html_prefix.html");
cannam@167: open(HTML,">$html_prefix.html/index.html");
cannam@167: print HTML "\n";
cannam@167: print HTML "\n";
cannam@167: $html_needpara= -1;
cannam@167: $html_end='';
cannam@167: chop($html_date=`date '+%d %B %Y'`);
cannam@167: chop($html_year=`date '+%Y'`);
cannam@167: }
cannam@167:
cannam@167: sub html_startup {
cannam@167: print HTML <
cannam@167: $user_title
cannam@167:
cannam@167:
cannam@167:
cannam@167:
cannam@167:
cannam@167:
cannam@167:
cannam@167:
cannam@167: