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