From 83b69571df4f07673f434e614301ed009e02ad98 Mon Sep 17 00:00:00 2001 From: mdw Date: Fri, 5 Sep 2003 16:16:31 +0000 Subject: [PATCH] New stuff\! --- .cvsignore | 2 + Makefile.m4 | 34 ++++++++++------ README | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 7 +++- mdwtools.ins | 15 ++++++- 5 files changed, 170 insertions(+), 14 deletions(-) create mode 100644 README diff --git a/.cvsignore b/.cvsignore index aa7fd9c..775d9eb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,6 +2,7 @@ *.aux *.def *.dvi +*.ps *.fd *.idx *.ilg @@ -20,4 +21,5 @@ config.cache config.status configure doafter.tex +mdwkey.tex *.tar.gz diff --git a/Makefile.m4 b/Makefile.m4 index 79c7b74..6b1f608 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.m4,v 1.3 2002/02/19 22:49:57 mdw Exp $ +## $Id: Makefile.m4,v 1.4 2003/09/05 16:16:31 mdw Exp $ ## ## Build system for mdwtools ## @@ -28,6 +28,9 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.m4,v $ +## Revision 1.4 2003/09/05 16:16:31 mdw +## New stuff\! +## ## Revision 1.3 2002/02/19 22:49:57 mdw ## Use lowercase names for font definition files. ## @@ -46,52 +49,61 @@ pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE} define(`addsuffix', `patsubst(`$1', `\>', `$2')') define(`BASE', `\ - at cmtt crypto doafter exercise footnote \ - mdwlist mdwmath mdwtab mdwthm poetry sverb syntax') + at centre cmtt colour crypto doafter exercise footnote mdwkey \ + mdwlist mdwmath mdwtab mdwthm poetry slowbox sverb syntax') AUX = mdwtools.tex gpl.tex SRC = addsuffix(BASE, `.dtx') DVI = addsuffix(BASE, `.dvi') mdwtools.dvi +PS = addsuffix(BASE, `.ps') mdwtools.ps OBJ = \ at.sty \ cmtt.sty mttcmtt.fd mttenc.def \ + colour.sty \ crypto.sty \ doafter.sty \ doafter.tex \ exercise.sty \ footnote.sty \ + mdwkey.sty \ mdwlist.sty \ mdwmath.sty \ - mdwtab.sty mathenv.sty \ + mdwtab.sty mathenv.sty mtcolour.sty mtcolor.sty \ mdwthm.sty mdwmargin.thm \ poetry.sty \ - sverb.sty \ + slowbox.sty \ + sverb.sty svcolor.sty svcolour.sty svsplit.sty \ syntax.sty pkglatex_DATA = $(OBJ) mdwtools.tex -pkgdoc_DATA = $(DVI) +pkgdoc_DATA = $(DVI) $(PS) -SUFFIXES = .dtx .tex .dvi +SUFFIXES = .dtx .tex .dvi .ps define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<" latex "\def\indexing{y} \nonstopmode \input $<" makeindex -s gind.ist $`'*.idx latex "\def\indexing{n} \nonstopmode \input $<"') -.dtx.dvi: $(AUX) +.dtx.dvi: run_latex -.tex.dvi: gpl.tex +.tex.dvi: run_latex +.dvi.ps: + dvips -e0 -o $@ $< + +$(DVI): gpl.tex $(OBJ) mdwtools.tex $(OBJ): $(SRC) mdwtools.ins tex mdwtools.ins -EXTRA_DIST = $(SRC) $(AUX) $(DVI) $(OBJ) mdwtools.ins Makefile.m4 +EXTRA_DIST = $(SRC) $(AUX) $(DVI) $(OBJ) $(PS) mdwtools.ins Makefile.m4 MAINTAINERCLEANFILES = $(OBJ) $(DVI) CLEANFILES = *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans Makefile.am: Makefile.m4 - cd $(srcdir) && m4 Makefile.m4 >Makefile.am + m4 $(srcdir)/Makefile.m4 >Makefile.am.new + mv Makefile.am.new $(srcdir)/Makefile.am .PHONY: dvi diff --git a/README b/README new file mode 100644 index 0000000..d284849 --- /dev/null +++ b/README @@ -0,0 +1,126 @@ +The `mdwtools' collection + + +Licence + + The `mdwtools' collection copyright (c) 2003 Mark Wooding. It + is free software. You are allowed (and encouraged) to share it + with your friends, or sell it to people. You may modify and + redistribute it under the terms of the GNU General Public + License, either version 2 or (at your option) any later version. + See the file `COPYING' for details. There's a pretty formatted + version in `gpl.tex'. + + Clarification: I do /not/ consider that a document which uses + `mdwtools' is a `derived work'. Hence, authors need not provide + source to their documents just because they use `mdwtools'. + However, I encourage authors to share their LaTeX sources, even + if they're as grim as mine. + + +Overview + + For details about what the packages do, please read the individual + documentation. This is just a quick overview. + + at.sty Define @-commands, just like you currently can + with \-commands. The advantage is that nobody's + already taken all the short names. + + centre.sty Commands like \centre, for those of us who write + English. + + cmtt.sty Typeset stuff in a typewriter face and use all + the fancy characters, without messing with + `verbatim' stuff. + + colour.sty Like `color.sty', only with English spellings. + + crypto.sty A grab-bag of stuff for writing crypto papers. + There's some simple algorithm typesetting and + some macros for typesetting some standard + notations. + + doafter.sty A TeXnician's tool. \doafter{...} + expands after the {...} group is done, + including any \aftergroup tokens attached to + it. This is largely useful to deal with colour + hacking. + + exercise.sty Typeset exercises, and keep the answers to the + end. Handles numbering the answers properly, + and inserting section titles in the answers + section. + + footnote.sty A `footnote' environment for complex or long + footnotes; saving footnotes in tables and + parboxes. Sadly incompatible with Robin + Fairbairns's `footmisc'. + + mathenv.sty Some mathematical alignment environments. + Replaces `eqnarray' with a good version; does + very good matrix typesetting. Documented in + `mdwtab.dtx'. + + mdwkey.sty A TeXnician's tool. Like `keyval.sty', but + better -- more features, more correct behaviour + with braces. + + mdwlist.sty Some simple list hacking. A versatile + `description' list; suspend and resume + enumerations; compactify lists by removing + vertical spacing between items. + + mdwmath.sty A grab-bag of mathematical things. Square roots + without the overlines; fix spacing for \pmod in + running text; neato new generalized-fraction + thing; fix \bigg... to adjust with text size; a + bad \qed implementation. (Also contains an + earlier replacement for `eqnarray'.) + + mdwtab.sty The flagship: a replacement for LaTeX's + `tabular' and `array' environments. Too many + improvements to list here. Highlights: correct + handling of lists in p{...} columns; good + vertical spacing around rules; correct vertical + alignment of ruled tables. Now supports + coloured tables (in `mtcolour.sty'). + + mdwthm.sty Theorem typesetting. Nothing earthshattering; I + just use it in my documents. Comes with a + theorem style to hang the numbers in the + margins. + + mtcolor.sty Like `mtcolour.sty' (below) for Americans. + + mtcolour.sty The colour support module for `mdwtab.sty'. + Documented in `mdwtab.dtx'. + + poetry.sty Relatively straightforward typesetting for + poems, centred in the page. More a pile of + infrastructure than something immediately + usable. + + slowbox.sty Skipping over boxes which are slow to draw. + + svcolor.sty Like `svcolour.sty' (below) for Americans. + + svcolour.sty The colour support module for `sverb.sty'. + Documented in `sverb.dtx'. + + sverb.sty Verbatim-like commands and environments. + Supports `tab' characters; reads stuff from + files; writes stuff to files. Neato `demo' + environment for showing off LaTeX packages. Now + has colour support. + + svsplit.sty Word-wrapping verbatim environment. Documented + in `sverb.dtx'. + + syntax.sty Former flagship. Typesets grammars and syntax + diagrams. + + +Local variables: +mode: text +End: diff --git a/configure.in b/configure.in index be12e4d..8c86b0f 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl -*-fundamental-*- dnl -dnl $Id: configure.in,v 1.3 2002/03/13 21:50:37 mdw Exp $ +dnl $Id: configure.in,v 1.4 2003/09/05 16:16:31 mdw Exp $ dnl dnl Configuration script for mdwtools dnl @@ -28,6 +28,9 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl ----- Revision history -------------------------------------------------- dnl dnl $Log: configure.in,v $ +dnl Revision 1.4 2003/09/05 16:16:31 mdw +dnl New stuff\! +dnl dnl Revision 1.3 2002/03/13 21:50:37 mdw dnl Version bump. dnl @@ -39,7 +42,7 @@ dnl Checkin for new build system. dnl AC_INIT(mdwtools.ins) -AM_INIT_AUTOMAKE(mdwtools, 1.6.1) +AM_INIT_AUTOMAKE(mdwtools, 1.7.0) mdw_DIR_TEXMF AC_OUTPUT(Makefile) diff --git a/mdwtools.ins b/mdwtools.ins index bc7af8a..a1206ed 100644 --- a/mdwtools.ins +++ b/mdwtools.ins @@ -1,5 +1,5 @@ % -% $Id: mdwtools.ins,v 1.2 2002/02/19 22:49:57 mdw Exp $ +% $Id: mdwtools.ins,v 1.3 2003/09/05 16:16:31 mdw Exp $ % % Installer for the mdwtools packages % @@ -9,6 +9,9 @@ %----- Revision history ----------------------------------------------------- % % $Log: mdwtools.ins,v $ +% Revision 1.3 2003/09/05 16:16:31 mdw +% New stuff\! +% % Revision 1.2 2002/02/19 22:49:57 mdw % Use lowercase names for font definition files. % @@ -69,11 +72,20 @@ IMPORTANT NOTICE \needed{syntax.dtx} \from {footnote.dtx} {macro} \from {doafter.dtx} {macro}} + \mdwf {mdwkey.sty} {\from {mdwkey.dtx} {package}} + \mdwf {mdwkey.tex} {\from {mdwkey.dtx} {package,plain}} \mdwf {syntax.sty} {\from {syntax.dtx} {package} \from {doafter.dtx} {macro}} + \mdwf {mtcolor.sty} {\from {mdwtab.dtx} {color}} + \mdwf {mtcolour.sty} {\from {mdwtab.dtx} {colour}} + \mdwf {colour.sty} {\from {colour.dtx} {package}} + \mdwf {centre.sty} {\from {centre.dtx} {package}} \mdwf {mathenv.sty} {\from {mdwtab.dtx} {mathenv}} \mdwf {mdwmath.sty} {\from {mdwmath.dtx} {package}} \mdwf {sverb.sty} {\from {sverb.dtx} {package}} + \mdwf {svcolor.sty} {\from {sverb.dtx} {color}} + \mdwf {svcolour.sty} {\from {sverb.dtx} {colour}} + \mdwf {svsplit.sty} {\from {sverb.dtx} {split}} \mdwf {footnote.sty} {\from {footnote.dtx} {package}} \mdwf {doafter.sty} {\from {doafter.dtx} {package,latex2e}} \mdwf {doafter.tex} {\from {doafter.dtx} {package,plain}} @@ -83,6 +95,7 @@ IMPORTANT NOTICE \mdwf {crypto.sty} {\from {crypto.dtx} {package}} \mdwf {mdwthm.sty} {\from {mdwthm.dtx} {package}} \mdwf {exercise.sty} {\from {exercise.dtx} {package}} + \mdwf {slowbox.sty} {\from {slowbox.dtx} {package}} \mdwf {mdwmargin.thm} {\from {mdwthm.dtx} {thmstyle}} \mdwf {poetry.sty} {\from {poetry.dtx} {package}} } -- 2.11.0