"Fossies" - the Fresh Open Source Software Archive

Member "latex2html-2002-2-1/makemap" (29 Nov 2002, 4618 Bytes) of archive /linux/www/latex2html-2002-2-1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

!/usr/bin/perl

!/usr/local/bin/perl

$dd = ‘/’; # directory-delimiter

$Id: makemap,v 1.4 1997/07/03 14:16:18 RRM Exp $

File: makemap

Written by Herbert W. Swan dprhws@edp.Arco.com

Version 1.0, December 22, 1995

This is part of the 96.1 release of LaTeX2HTML by Nikos Drakos

Copyright © 1995 by Herbert W. Swan

This program is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Change Log (for initials see file Changes):

$Log: makemap,v $

Revision 1.4 1997/07/03 14:16:18 RRM

- added HTML comments with the USEMAP option

- the $labels can be given as a filename (test existence) or a prefix

#

Revision 1.3 1997/07/03 07:24:47 RRM

- Extended to also process for client-side image-maps, via tags

- introduced a $dd directory-delimiter, for customisation

#

Revision 1.2 1996/12/23 01:41:16 JCL

o added informative comments and CVS log history

o changed usage of to an OS independent construction, the

patch is from Piet van Oostrum.

o moved most of the code into a main function

#

#

HWS – Dec 22, 1995 – created

#

LaTeX2HTML image map script

#

NOTE: The following configuration variable MUST be set to either

“NCSA” or “CERN” to reflect the type of server you are using;

or “USEMAP” (AXR)

$SERVER = “NCSA”;

#

Get the command-line arguments:

# die “Usage: makemap map_template [dest_directory]\n” unless @ARGV; $template_file = $ARGV[0]; $dest_dir = “.”; $dest_dir = $ARGV[1] if ($#ARGV >= 1);

print $#ARGV, “:”, $dest_dir, “\n”;

$map_file = “”; $Date = &get_date;

&main;

sub main { #

Next, try to open the template file.

# open (TEMPLATE, “<$template_file”) || die “Can’t open $template_file\n”; while (