Remove deprecated LaTeX formatting scripts and commands.

These were done by me in 2001 to handle generating HTML, Postscript, and PDF
all from the same LaTeX sources.  Doing this is not as difficult as it once
was, as such, these files are no longer needed to achieve that goal.

However, it's still not automatic, so some additional stuff for formatting to
all types will need to be added later.
This commit is contained in:
Bradley M. Kuhn 2014-02-16 17:15:34 -05:00
parent daafc75153
commit 7f5fc7d7f7
13 changed files with 0 additions and 260 deletions

View file

@ -1,44 +0,0 @@
#!/usr/bin/perl -w
# Copyright (C) 200, 2001 Bradley M. Kuhn
#
# 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 (in the file, "COPYING"; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
use strict;
use warnings;
my $type = $ARGV[0];
unless (defined $type) {
print STDERR "usage: $0 TYPE\n";
exit 1;
}
my $extraType;
if ($type eq "PS" || $type eq "HTML") {
$extraType = "PS_HTML";
}
while (my $line = <STDIN>) {
if ($line =~ /^\s*%+\s*FILTER[_\s]+$type\s*:\s+(.*)\s*$/) {
$line = "$1\n";
}
if (defined $extraType and
$line =~ /^\s*%+\s*FILTER[_\s]+$extraType\s*:\s+(.*)\s*$/) {
$line = "$1\n";
}
print $line;
}

View file

@ -1,13 +0,0 @@
%\usepackage{html}
%\usepackage[dvips]{graphicx}
%\usepackage[latex2html]{hyperref}
\newcommand\href[2]{\htmladdnormallink{#1}{#2}}
%\renewcommand\cite[1]{\hypercite{#1}}
%\renewcommand\ref[1]{\hyperref{#1}}
\usepackage[usenames]{color}
%\input{/usr/share/texmf/tex/plain/dvips/colordvi.tex}

View file

@ -1,17 +0,0 @@
\usepackage[pdftex]{graphicx}
\usepackage[
pdftex=true,
latex2html=false,
pdftitle={The GNU General Public License for Businesspeople and Developers},
pdfauthor={Bradley M. Kuhn},
pdfsubject={GNU General Public License},
pdfkeywords={computer, science, free, software, freedom, licensing, licenses, GPL, GNU, general, public, license}
]{hyperref}
% I could not get this to work!
%\usepackage[pdftex,usenames]{color}
% So I used this:
\input{/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex}
%\usepackage[ref]{backref}

View file

@ -1,7 +0,0 @@
\usepackage[dvips]{graphicx}
\newcommand\href[2]{#2}
%\newcommand\textcolor[2]{#2}
\input{/usr/share/texmf/tex/plain/dvips/colordvi.tex}

View file

@ -1,44 +0,0 @@
#!/usr/bin/perl -w
# Copyright (C) 200, 2001 Bradley M. Kuhn
#
# 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 (in the file, "COPYING"; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
use strict;
use warnings;
my $type = $ARGV[0];
unless (defined $type) {
print STDERR "usage: $0 TYPE\n";
exit 1;
}
my $extraType;
if ($type eq "PS" || $type eq "HTML") {
$extraType = "PS_HTML";
}
while (my $line = <STDIN>) {
if ($line =~ /^\s*%+\s*FILTER[_\s]+$type\s*:\s+(.*)\s*$/) {
$line = "$1\n";
}
if (defined $extraType and
$line =~ /^\s*%+\s*FILTER[_\s]+$extraType\s*:\s+(.*)\s*$/) {
$line = "$1\n";
}
print $line;
}

View file

@ -1,13 +0,0 @@
%\usepackage{html}
%\usepackage[dvips]{graphicx}
%\usepackage[latex2html]{hyperref}
\newcommand\href[2]{\htmladdnormallink{#1}{#2}}
%\renewcommand\cite[1]{\hypercite{#1}}
%\renewcommand\ref[1]{\hyperref{#1}}
\usepackage[usenames]{color}
%\input{/usr/share/texmf/tex/plain/dvips/colordvi.tex}

View file

@ -1,17 +0,0 @@
\usepackage[pdftex]{graphicx}
\usepackage[
pdftex=true,
latex2html=false,
pdftitle={The GNU General Public License for Businesspeople and Developers},
pdfauthor={Bradley M. Kuhn},
pdfsubject={GNU General Public License},
pdfkeywords={computer, science, free, software, freedom, licensing, licenses, GPL, GNU, general, public, license}
]{hyperref}
% I could not get this to work!
%\usepackage[pdftex,usenames]{color}
% So I used this:
\input{/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex}
%\usepackage[ref]{backref}

View file

@ -1,7 +0,0 @@
\usepackage[dvips]{graphicx}
\newcommand\href[2]{#2}
%\newcommand\textcolor[2]{#2}
\input{/usr/share/texmf/tex/plain/dvips/colordvi.tex}

View file

@ -1,17 +0,0 @@
% one-inch-margins.tex -*- LaTeX -*-
% code to create one inch margins in LaTeX
%
% COPYRIGHT (C) 1994 Bradley M. Kuhn
%
% Written : Bradley M. Kuhn Loyola College
% By
%% This code creates one inch margins for a LaTeX document
\oddsidemargin 0in
\evensidemargin 0in
\textwidth 6.5in
\topmargin 0in
\textheight 8.0in

View file

@ -1,44 +0,0 @@
#!/usr/bin/perl -w
# Copyright (C) 200, 2001 Bradley M. Kuhn
#
# 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 (in the file, "COPYING"; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
use strict;
use warnings;
my $type = $ARGV[0];
unless (defined $type) {
print STDERR "usage: $0 TYPE\n";
exit 1;
}
my $extraType;
if ($type eq "PS" || $type eq "HTML") {
$extraType = "PS_HTML";
}
while (my $line = <STDIN>) {
if ($line =~ /^\s*%+\s*FILTER[_\s]+$type\s*:\s+(.*)\s*$/) {
$line = "$1\n";
}
if (defined $extraType and
$line =~ /^\s*%+\s*FILTER[_\s]+$extraType\s*:\s+(.*)\s*$/) {
$line = "$1\n";
}
print $line;
}

View file

@ -1,13 +0,0 @@
%\usepackage{html}
%\usepackage[dvips]{graphicx}
%\usepackage[latex2html]{hyperref}
\newcommand\href[2]{\htmladdnormallink{#1}{#2}}
%\renewcommand\cite[1]{\hypercite{#1}}
%\renewcommand\ref[1]{\hyperref{#1}}
\usepackage[usenames]{color}
%\input{/usr/share/texmf/tex/plain/dvips/colordvi.tex}

View file

@ -1,17 +0,0 @@
\usepackage[pdftex]{graphicx}
\usepackage[
pdftex=true,
latex2html=false,
pdftitle={The GNU General Public License for Businesspeople and Developers},
pdfauthor={Bradley M. Kuhn},
pdfsubject={GNU General Public License},
pdfkeywords={computer, science, free, software, freedom, licensing, licenses, GPL, GNU, general, public, license}
]{hyperref}
% I could not get this to work!
%\usepackage[pdftex,usenames]{color}
% So I used this:
\input{/usr/share/texmf/pdftex/plain/misc/pdfcolor.tex}
%\usepackage[ref]{backref}

View file

@ -1,7 +0,0 @@
\usepackage[dvips]{graphicx}
\newcommand\href[2]{#2}
%\newcommand\textcolor[2]{#2}
\input{/usr/share/texmf/tex/plain/dvips/colordvi.tex}