Author: dylan
Date: 2004-08-20 20:31:44 -0400 (Fri, 20 Aug 2004)
New Revision: 352
Removed:
trunk/docs/manual/Makefile
trunk/docs/manual/buildlatex
trunk/docs/manual/chap/
trunk/docs/manual/config.m4
trunk/docs/manual/haver.bib
trunk/docs/manual/haver.tex
trunk/docs/manual/ltags
trunk/docs/manual/style.tex
Log:
Out with the old, in the with the new.
Deleted: trunk/docs/manual/Makefile
===================================================================
--- trunk/docs/manual/Makefile 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/Makefile 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,60 +0,0 @@
-
-# Comment to produce non-DRAFT.
-DRAFT=1
-VERSION=0.5
-
-clean=-name '*.aux' \
- -or -name '*.log' \
- -or -name '*.bbl' \
- -or -name '*.blg' \
- -or -name '*.toc' \
- -or -name '*.out' \
- -or -name 'config.tex' \
- -or -name tags
-base = haver
-tex = $(shell find -name '*.tex')
-files = $(tex) config.m4 haver.bib
-
-
-ARGS += -D VERSION=$(VERSION)
-
-ifdef DRAFT
-ARGS += -f DRAFT
-endif
-
-ifdef COLOR
-ARGS += -f COLOR
-endif
-
-all:
- @echo "Probably you want to run make pdf or make dvi or make html"
-
-
-dvi: $(base).dvi
-pdf: $(base).pdf
-html: $(base)/$(base).html
-tags: ltags $(tex)
- ./ltags $(tex) | sort > tags
-
-
-
-clean:
- find . \( $(clean) \) -exec rm -v {} \;
-
-
-realclean:
- -rm $(base).dvi $(base).pdf
-
-
-$(base).dvi: $(base).tex $(files)
- ./buildlatex -D DRIVER=dvips $(ARGS) $<
-
-
-$(base).pdf: $(base).tex $(files)
- ./buildlatex -D DRIVER=pdftex $(ARGS) -l pdflatex $<
-
-$(base)/$(base).html: $(base).tex $(files)
- ./buildlatex -D DRIVER=latex2html $(ARGS) --dry-run $<
- latex2html -local_icons -split 3 $<
-
-.PHONY: all clean dvi
Deleted: trunk/docs/manual/buildlatex
===================================================================
--- trunk/docs/manual/buildlatex 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/buildlatex 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,94 +0,0 @@
-#!/usr/bin/perl
-use strict;
-use warnings;
-use Getopt::Long;
-use File::Basename;
-
-use constant RERUN_MAX => 6;
-sub spoon (&);
-
-my ($latex, @feature, %define, $config, $texfile, $dryrun);
-$latex = "latex";
-$config = "config.m4";
-
-Getopt::Long::Configure('gnu_getopt');
-GetOptions(
- 'latex|l=s' => \$latex,
- 'feature|have|f=s' => [EMAIL PROTECTED],
- 'define|d|D=s' => \%define,
- 'config|c=s' => \$config,
- 'dry-run|dry' => \$dryrun,
-);
-
-$texfile = shift or die "Usage: $0 [options] file\n";
-
-my $code = spoon {
- open STDOUT, ">config.tex" or die "$0: can't open config.tex: $!";
- my @args;
-
- foreach my $key (@feature) {
- push @args, '-D', $key;
- }
-
- foreach my $key (keys %define) {
- push @args, '-D', "$key=$define{$key}";
- }
-
- die "Input file not found: $config\n" if not -e $config;
- exec('m4', @args, $config);
-};
-
-exit 0 if $dryrun;
-
-if (defined $code and $code == 0) {
- my $rerun = 0;
- my $count = 0;
-
- do { $count++;
- my $pipe;
- my $pid = open $pipe, '-|', $latex, $texfile or die "Can't
start $latex: $!\n";
- $rerun = 0;
-
- while (<$pipe>) {
- print $_;
- chomp;
- next if $rerun;
-
- if (/No file (.+?)\.bbl\./) {
- print "Doing bibtex\n";
- $rerun = 1;
- system('bibtex', $1);
- } elsif (/Rerun to get cross-references right/) {
- print "Rerunning.\n";
- $rerun = 1;
- }
- }
- close $pipe;
-
- if ($count > RERUN_MAX) {
- die "RERUN_MAX reached, bailing out!";
- }
-
- } while $rerun;
-
-} else {
- die "m4 returned bad error code. $code\n";
-}
-
-sub spoon (&) {
- my $code = shift;
- my $pid = fork;
- return undef if not defined $pid;
-
- if ($pid) {
- my $result = waitpid($pid, 0);
- if ($result == -1) {
- warn "No such pid? $pid";
- }
- my $code = $? >> 8;
- return $code;
- } else {
- $code->();
- exit 0;
- }
-}
Deleted: trunk/docs/manual/config.m4
===================================================================
--- trunk/docs/manual/config.m4 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/config.m4 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,39 +0,0 @@
-dnl Edit the makefile if you want to configure this. :)
-
-\newcommand{\version}{VERSION}
-
-ifdef(`COLOR',
- `\usepackage{color}',
- `\newcommand{\textcolor}[2]{#2}
-\newcommand{\definecolor}[3]{}')
-
-ifdef(`DRAFT',
- `\newcommand{\comment}[1]{[\emph{#1}]}',
- `\newcommand{\comment}[1]{}')
-
-ifdef(`DRIVER', `\usepackage[DRIVER]{hyperref}')
-
-
-
-ifelse(DRIVER, `latex2html',
-dnl HTML
-`\renewenvironment{cmddef}[2]{%
- \item[#1 {\normalfont #2}]
- \begin{description}%
- \nopagebreak[1]
-}{%
- \end{description}%
-}
-\newcommand{\citem}[1]{\item[#1]}',
-dnl Regular
-`\newenvironment{cmddef}[2]{%
- \item[#1] #2
-
- \begin{description}%
- \nopagebreak[1]
-}{%
- \end{description}%
-}
-\newcommand{\citem}[1]{\item[#1] ~ \par}')
-
-
Deleted: trunk/docs/manual/haver.bib
===================================================================
--- trunk/docs/manual/haver.bib 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/haver.bib 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,18 +0,0 @@
-
[EMAIL PROTECTED],
- TITLE = {RFC 1459},
- HOWPUBLISHED = {\url{http://www.irchelp.org/irchelp/text/rfc1459.txt}},
- AUTHOR = { Unknown },
-)
-
[EMAIL PROTECTED],
- TITLE = {SILC net},
- HOWPUBLISHED = {\url{http://silcnet.org/}},
- AUTHOR = { Unknown },
-)
-
[EMAIL PROTECTED],
- TITLE = {Extensible Messaging and Presence Protocol},
- HOWPUBLISHED =
{\url{http://www.ietf.org/html.charters/xmpp-charter.html}},
- AUTHOR = { Unknown },
-)
Deleted: trunk/docs/manual/haver.tex
===================================================================
--- trunk/docs/manual/haver.tex 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/haver.tex 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,41 +0,0 @@
-% Date: Wednesday, May 26 at 7:45PM
-% vim: set isk=@,48-57,192-255,/,\:,.:
-\documentclass[12pt]{report}
-
-\input{config}
-\input{style}
-
-\title{The Divine Secrets of Haver (v\version)}
-\author{Dylan William Hardison}
-\date{\today}
-
-\begin{document}
-\maketitle
-
-\begin{abstract}
-The haver protocol is being developed by an international coalition
-of four people bent on world domination.
-It does not feature advanced technology such as XML, XSL, SOAP, or any number
-of other acronyms.
-
-However, it does feature both socket-level
-encryption with SSL and user-to-user encryption with OpenPGP, and thus
-the American developers will likely be investigated
-by the Department of Homeland Security sometime in the near future.
-
-The Haver protocol is text-based, with the simplest client being any program
capable
-of using SSL sockets.
-\end{abstract}
-
-\tableofcontents
-
-\include{chap/introduction}
-\include{chap/protocol}
-\include{chap/formats}
-\include{chap/commands}
-
-\bibliographystyle{plain}
-\bibliography{haver}
-
-
-\end{document}
Deleted: trunk/docs/manual/ltags
===================================================================
--- trunk/docs/manual/ltags 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/ltags 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,19 +0,0 @@
-#!/usr/bin/perl
-use strict;
-use warnings;
-
-my $bibfile = 'haver.bib';
-
-while (<ARGV>) {
- while (s/\\include\{(.+?)\}//) {
- print "$1\t$1.tex\t\n";
- }
- while (s/\\label\{(.+?)\}//) {
- print "$1\t$ARGV\t/\\\\label\{$1\}\n";
- }
- while (s/\\cite\{(.+?)\}//) {
- # For now we assume all citations are in one
- # bibfile, $bibfile.
- print join("\t", $1, $bibfile, "/$1"), "\n";
- }
-}
Deleted: trunk/docs/manual/style.tex
===================================================================
--- trunk/docs/manual/style.tex 2004-08-17 18:57:17 UTC (rev 351)
+++ trunk/docs/manual/style.tex 2004-08-21 00:31:44 UTC (rev 352)
@@ -1,32 +0,0 @@
-% vim: set isk=@,48-57,192-255,/,\:,.:
-
-\definecolor{cmd}{rgb}{0,0,0.5}
-\definecolor{scmd}{rgb}{0.2,0,0.9}
-\definecolor{param}{rgb}{0.5,0,0}
-\definecolor{err}{rgb}{1,0,0}
-
-\newcommand{\function}[1]{\emph{#1()}}
-\newcommand{\variable}[1]{\emph{#1}}
-
-\renewcommand{\bibname}{References}
-
-
-\newenvironment{commands}{%
- \begin{description}%
-}{%
- \end{description}%
-}
-\newenvironment{errors}{\begin{description}}{\end{description}}
-
-\newcommand{\eitem}[2]{\item[\error{#1}] \param{#2}}
-\newcommand{\cmdbullet}[1]{#1}
-
-\newcommand{\param}[1]{\textcolor{param}{\emph{#1}}}
-\newcommand{\opt}[1]{[\param{#1}]}
-\newcommand{\params}[1]{\param{#1\ldots\ }}
-\newcommand{\opts}[1]{[\param{#1\ldots}]}
-\newcommand{\cmd}[1]{\textcolor{cmd}{{\bfseries #1}}}
-\newcommand{\scmd}[1]{\textcolor{scmd}{{\bfseries #1}}}
-\newcommand{\error}[1]{\textcolor{err}{#1}}
-
-