mdwtools
11 months agomdwtab.dtx: Add a sneaky kern after `\multicolumn'. mdw/tangle
Mark Wooding [Thu, 18 May 2023 21:55:06 +0000 (22:55 +0100)]
mdwtab.dtx: Add a sneaky kern after `\multicolumn'.

I don't know, any more, why `\tab@tabcr' does `\@maybe@unskip' if it's
in hmode and you ask for a nonzero interrow gap, but it does.  And the
result, if you put `\multicolumn' in the last column of a row,
terminated by `\\[...]', is that the `\tabcolsep' glue gets eaten, and,
in a right- or centre-aligned row, the cell contents ends up misaligned.

So add `\kern 0pt' to make it not do that.

11 months agoMakefile: Include some custom LaTeX setup.
Mark Wooding [Thu, 18 May 2023 21:54:33 +0000 (22:54 +0100)]
Makefile: Include some custom LaTeX setup.

And use it to show more error context.

11 months agoMakefile: Delete the log files on `clean'.
Mark Wooding [Thu, 18 May 2023 21:54:13 +0000 (22:54 +0100)]
Makefile: Delete the log files on `clean'.

11 months agoMakefile: Define `run-latex' using `define'.
Mark Wooding [Thu, 18 May 2023 21:52:47 +0000 (22:52 +0100)]
Makefile: Define `run-latex' using `define'.

Now we get to reclaim the initial tabs.

20 months agomdwmath.dtx: Introduce machinery for defining bracketty notation.
Mark Wooding [Tue, 9 Aug 2022 17:18:02 +0000 (18:18 +0100)]
mdwmath.dtx: Introduce machinery for defining bracketty notation.

20 months agomdwmath.dtx: Use `\@testopt', which I've just noticed.
Mark Wooding [Tue, 9 Aug 2022 17:16:49 +0000 (18:16 +0100)]
mdwmath.dtx: Use `\@testopt', which I've just noticed.

20 months agomdwmath.dtx: Delete the old version of `eqnarray'.
Mark Wooding [Tue, 9 Aug 2022 17:15:52 +0000 (18:15 +0100)]
mdwmath.dtx: Delete the old version of `eqnarray'.

21 months agomdwref.dtx: Make the `\xref' command robust.
Mark Wooding [Mon, 25 Jul 2022 21:45:29 +0000 (22:45 +0100)]
mdwref.dtx: Make the `\xref' command robust.

Otherwise it doesn't work very well in figure captions and suchlike.

21 months agomdwmath.dtx: Add `\defop' for defining new operators, and use it.
Mark Wooding [Sun, 24 Jul 2022 16:42:23 +0000 (17:42 +0100)]
mdwmath.dtx: Add `\defop' for defining new operators, and use it.

21 months agomdwref.dtx: Set a correct checksum.
Mark Wooding [Fri, 22 Jul 2022 10:41:32 +0000 (11:41 +0100)]
mdwref.dtx: Set a correct checksum.

21 months agomdwref.dtx: Introduce `\defxref*' for more complex typesetting.
Mark Wooding [Fri, 22 Jul 2022 10:40:53 +0000 (11:40 +0100)]
mdwref.dtx: Introduce `\defxref*' for more complex typesetting.

Use this for equation numbers, which are traditionally just set in
parentheses.

21 months agomdwref.dtx: Rearrange the machinery for later extension.
Mark Wooding [Fri, 22 Jul 2022 10:34:48 +0000 (11:34 +0100)]
mdwref.dtx: Rearrange the machinery for later extension.

Rather than having `\xref$SUFFIX' just store a string, make it be a
macro which actually does the typesetting.  For simple strings, this
indirects through `\formatxref' as before, but that's now a bit better
factored.

21 months agomdwref.dtx: Build the table the old-fashioned way.
Mark Wooding [Fri, 22 Jul 2022 10:30:42 +0000 (11:30 +0100)]
mdwref.dtx: Build the table the old-fashioned way.

It's going to become impractical to do this.  Besides, the machinery was
only used for the documentation (which is rather nasty) and doesn't work
well in other circumstances.

21 months agomdwref.dtx: Include help text with errors.
Mark Wooding [Fri, 22 Jul 2022 10:26:15 +0000 (11:26 +0100)]
mdwref.dtx: Include help text with errors.

Otherwise things get even worse when they're triggered.

21 months agoMakefile: Keep the log file after formatting.
Mark Wooding [Fri, 22 Jul 2022 10:20:32 +0000 (11:20 +0100)]
Makefile: Keep the log file after formatting.

3 years ago@@@ reinstate build-depends on mdwfonts, strayman
Mark Wooding [Mon, 7 Sep 2020 11:45:12 +0000 (12:45 +0100)]
@@@ reinstate build-depends on mdwfonts, strayman

3 years agodebian/: Preparation and fixing for release.
Mark Wooding [Sun, 6 Sep 2020 12:49:36 +0000 (13:49 +0100)]
debian/: Preparation and fixing for release.

3 years ago@@@ Makefile, Project.mk: Replace the build system.
Mark Wooding [Mon, 7 Sep 2020 01:16:15 +0000 (02:16 +0100)]
@@@ Makefile, Project.mk: Replace the build system.

Abolish Autoconf, and the awful `m4' thing.  The new build system
scrapes most of the information it needs out of the `docstrip' input.

@@@ FIXME cfd notice on the Makefile?

3 years agomdwtools.ins: Spring clean.
Mark Wooding [Mon, 7 Sep 2020 01:14:21 +0000 (02:14 +0100)]
mdwtools.ins: Spring clean.

Bring the comment style up to current standards.  Sort the list of files
by input as much as is possible; this requires a certain amount of
dexterity with the `docstrip' ordering machinery.

3 years ago.skelrc: Quotify the project name.
Mark Wooding [Mon, 7 Sep 2020 12:33:04 +0000 (13:33 +0100)]
.skelrc: Quotify the project name.

3 years agoReplace general GPL rubrics with project-specific ones.
Mark Wooding [Mon, 7 Sep 2020 00:58:41 +0000 (01:58 +0100)]
Replace general GPL rubrics with project-specific ones.

3 years agoFix dates and version numbers in the package files.
Mark Wooding [Sun, 6 Sep 2020 14:36:35 +0000 (15:36 +0100)]
Fix dates and version numbers in the package files.

And add a program to do this semiautomatically.

3 years agoFix all the copyright dates.
Mark Wooding [Sun, 6 Sep 2020 14:33:30 +0000 (15:33 +0100)]
Fix all the copyright dates.

3 years agoRemove the redundant file headers.
Mark Wooding [Sun, 6 Sep 2020 14:28:21 +0000 (15:28 +0100)]
Remove the redundant file headers.

Everything is duplicated in the GPL header anyway, and I can't get rid
of that.

3 years ago*.dtx: Strip author initials from package descriptions.
Mark Wooding [Sun, 6 Sep 2020 12:24:23 +0000 (13:24 +0100)]
*.dtx: Strip author initials from package descriptions.

Sorry, Peter.

3 years ago*.dtx: Normalize package descriptions to begin with uppercase letters.
Mark Wooding [Sun, 6 Sep 2020 12:23:07 +0000 (13:23 +0100)]
*.dtx: Normalize package descriptions to begin with uppercase letters.

3 years ago*: Eliminate the old CVS `$Id: ...' markers.
Mark Wooding [Sun, 6 Sep 2020 12:18:54 +0000 (13:18 +0100)]
*: Eliminate the old CVS `$Id: ...' markers.

3 years agodebian/rules: Build things in parallel now.
Mark Wooding [Sat, 5 Sep 2020 22:12:16 +0000 (23:12 +0100)]
debian/rules: Build things in parallel now.

3 years agodebian/rules: Rebuild everything from scratch.
Mark Wooding [Sat, 5 Sep 2020 17:06:23 +0000 (18:06 +0100)]
debian/rules: Rebuild everything from scratch.

3 years agosyntax.dtx: Fix commentary typo.
Mark Wooding [Sat, 5 Sep 2020 23:37:15 +0000 (00:37 +0100)]
syntax.dtx: Fix commentary typo.

The problem is that the usual `\-' control sequence for inserting a
discretionary hyphen isn't available in the `tabbing' environment.

3 years agoslowbox.dtx: Add a demonstration.
Mark Wooding [Mon, 7 Sep 2020 15:39:56 +0000 (16:39 +0100)]
slowbox.dtx: Add a demonstration.

Also a test.

3 years agoslowbox.dtx: Typeset and measure unknown boxes.
Mark Wooding [Mon, 7 Sep 2020 15:33:29 +0000 (16:33 +0100)]
slowbox.dtx: Typeset and measure unknown boxes.

If you try to set a slow box with an unknown name, it should be typeset
and measured: otherwise bootstrapping is awful.  Do this.

3 years agoslowbox.dtx: Reword `\newslowboxenv' description for better line breaks.
Mark Wooding [Mon, 7 Sep 2020 15:39:12 +0000 (16:39 +0100)]
slowbox.dtx: Reword `\newslowboxenv' description for better line breaks.

It was pretty terrible before.

3 years agoslowbox.dtx: Remove unnecessary pre-setting of slow-box measurement.
Mark Wooding [Mon, 7 Sep 2020 15:21:09 +0000 (16:21 +0100)]
slowbox.dtx: Remove unnecessary pre-setting of slow-box measurement.

I've no idea what this was for.  It doesn't do anything now.

3 years agoslowbox.dtx: No, `\newslowboxenv' is a command, not an environment.
Mark Wooding [Mon, 7 Sep 2020 15:38:22 +0000 (16:38 +0100)]
slowbox.dtx: No, `\newslowboxenv' is a command, not an environment.

It /makes/ an environment.  That's entirely different.

3 years agoslowbox.dtx: Mention that `\newslowboxenv' handles optional args correctly.
Mark Wooding [Mon, 7 Sep 2020 15:37:21 +0000 (16:37 +0100)]
slowbox.dtx: Mention that `\newslowboxenv' handles optional args correctly.

3 years agoslowbox.dtx: Actually document `\slowboxend'.
Mark Wooding [Mon, 7 Sep 2020 15:38:54 +0000 (16:38 +0100)]
slowbox.dtx: Actually document `\slowboxend'.

3 years agoslowbox.dtx: Delete spurious `{'.
Mark Wooding [Mon, 7 Sep 2020 15:36:35 +0000 (16:36 +0100)]
slowbox.dtx: Delete spurious `{'.

No idea.

3 years agoslowbox.dtx: Fix `verbatim' spacing.
Mark Wooding [Mon, 7 Sep 2020 15:34:59 +0000 (16:34 +0100)]
slowbox.dtx: Fix `verbatim' spacing.

The space at the start of the `\end{verbatim}' line causes a blank line
to be typeset in the output document.

3 years agopoetry.dtx: Fix file checksum.
Mark Wooding [Mon, 7 Sep 2020 01:52:54 +0000 (02:52 +0100)]
poetry.dtx: Fix file checksum.

3 years agopoetry.dtx: Fix the custom label setter.
Mark Wooding [Mon, 7 Sep 2020 16:27:21 +0000 (17:27 +0100)]
poetry.dtx: Fix the custom label setter.

Previously, it would set the first item's label as `\tanza', which,
just, no.

3 years agopoetry.dtx: Insert missing `\' to set description of `\title' correctly.
Mark Wooding [Mon, 7 Sep 2020 16:21:18 +0000 (17:21 +0100)]
poetry.dtx: Insert missing `\' to set description of `\title' correctly.

3 years agopoetry.dtx: Replace (24-year-old!) preview notice with standard GPL rubric.
Mark Wooding [Sun, 6 Sep 2020 14:34:45 +0000 (15:34 +0100)]
poetry.dtx: Replace (24-year-old!) preview notice with standard GPL rubric.

3 years agopoetry.dtx (\maybe@unskip): Match the version in `mdwtab'.
Mark Wooding [Mon, 7 Sep 2020 01:00:14 +0000 (02:00 +0100)]
poetry.dtx (\maybe@unskip): Match the version in `mdwtab'.

I don't actually know why these were different.  Both versions appear to
have been there forever, though it's clear that these packages had lives
before they were checked into CVS in 2002.  Obviously, since these have
the same name, they should have the same definition.  The `mdwtab'
version is more robust (checking `\ifhmode' before applying `\hskip'),
and slightly more refined (using `\m@ne' rather than `-\@ne'), so I'm
going with that one.

3 years agomdwtab.dtx: Use `\package', not `\env', for `mathenv'.
Mark Wooding [Sat, 5 Sep 2020 13:59:28 +0000 (14:59 +0100)]
mdwtab.dtx: Use `\package', not `\env', for `mathenv'.

Since, err, it's a package, not an environment.

3 years agomdwtab.dtx: Add a `'' column type for only fiddling with the rule list.
Mark Wooding [Thu, 3 Sep 2020 14:29:16 +0000 (15:29 +0100)]
mdwtab.dtx: Add a `'' column type for only fiddling with the rule list.

3 years agomdwtab.dtx: Fix nested `*' column-type to work correctly.
Mark Wooding [Thu, 3 Sep 2020 14:28:14 +0000 (15:28 +0100)]
mdwtab.dtx: Fix nested `*' column-type to work correctly.

This is a little unpleasant.

3 years agomdwtab.dtx (\ifmod): Fix missing maths markup around `y'.
Mark Wooding [Thu, 3 Sep 2020 14:27:49 +0000 (15:27 +0100)]
mdwtab.dtx (\ifmod): Fix missing maths markup around `y'.

3 years agomdwtab.dtx: Fix the `?>' and `?<' column macro descriptions.
Mark Wooding [Thu, 3 Sep 2020 14:26:41 +0000 (15:26 +0100)]
mdwtab.dtx: Fix the `?>' and `?<' column macro descriptions.

They were the wrong way around.  *sigh*.

3 years agomdwmath.dtx (\mpunct): New macro for punctuation in displayed equations.
Mark Wooding [Thu, 3 Sep 2020 14:29:47 +0000 (15:29 +0100)]
mdwmath.dtx (\mpunct): New macro for punctuation in displayed equations.

3 years agofootnote.dtx (\fn@endnote): Use `\def', not `\let'.
Mark Wooding [Sat, 5 Sep 2020 13:57:08 +0000 (14:57 +0100)]
footnote.dtx (\fn@endnote): Use `\def', not `\let'.

If the `color' package is loaded /after/ us then it redefines
`\color@begingroup' and `\color@endgroup' to actually do things, but it
won't redefine `\fn@endnote' for obvious reasons.  As a result,
`\fn@startnote' will now open a colour group, but nothing will close it
and one ends up on a debugging odyssey.

3 years agofootnote.dtx (\fn@endfntext): Include missing `\fn@endnote'.
Mark Wooding [Sat, 5 Sep 2020 13:55:23 +0000 (14:55 +0100)]
footnote.dtx (\fn@endfntext): Include missing `\fn@endnote'.

Oops.  This causes trouble when the `color' package is loaded because
there's an unmatched `\color@begingroup' from `\fn@startnote'.

I'm surprised I've never noticed this before.

3 years agocmtt.dtx: Fix package description!
Mark Wooding [Sun, 6 Sep 2020 14:30:50 +0000 (15:30 +0100)]
cmtt.dtx: Fix package description!

3 years agomdwtools.tex: Use `strayman' and `mdwfonts' if available.
Mark Wooding [Sun, 6 Sep 2020 12:25:50 +0000 (13:25 +0100)]
mdwtools.tex: Use `strayman' and `mdwfonts' if available.

3 years agoat.dtx: Don't use `@'-commands in section headings.
Mark Wooding [Sat, 5 Sep 2020 13:51:39 +0000 (14:51 +0100)]
at.dtx: Don't use `@'-commands in section headings.

Alas, they don't -- and, I think, can't -- work in PDF strings, since
scanning the command name works using `\futurelet', which is a TeX
command rather than an expansion.

3 years agomdwtools.tex, *.dtx: Provide a hack for setting `description' labels.
Mark Wooding [Mon, 7 Sep 2020 16:24:40 +0000 (17:24 +0100)]
mdwtools.tex, *.dtx: Provide a hack for setting `description' labels.

LaTeX has a bug (which I'm sure can't be fixed without unacceptable
compatibility lossage) which starts setting `description' list labels
`\labelsep' too far to the left, so the `\makelabel' implementation
compensates by adding a `\labelsep' of horizontal space before the
actual label text.  The array rule-spec list overrides `\makelabel' to
reduce typing, and therefore must duplicate this countermeasure.

My `strayman' document class, and the `mdwlist' package in this
collection, both correct this bug, so if either of those is loaded then
the list ends up with the labels too far to the right.  (This is, of
course, the very compatibility problem that prevents the bug from being
fixed upstream.)

Provide a command which detects (hackily) either of these two situations
and sets a label with the correct spacing, and use it everywhere.

3 years agomdwtools.tex: Add the two-column header to a contents table before including.
Mark Wooding [Sat, 5 Sep 2020 14:56:56 +0000 (15:56 +0100)]
mdwtools.tex: Add the two-column header to a contents table before including.

The `strayman' class is unusual in that, in `book' mode, it mentions the
`Contents' table in the table of contents.  But, if we add the table of
contents early, then this entry ends up being in a single column above
the main table, which is just wrong.

3 years agomdwtools.tex: Set a running header without footnote markers.
Mark Wooding [Sat, 5 Sep 2020 14:51:20 +0000 (15:51 +0100)]
mdwtools.tex: Set a running header without footnote markers.

The `strayman' document class, in particular, sets a running header with
the document title by default.  But if the title contains footnote
markers then these end up in every (other) page header, with steadily
incrementing numbers, which is rather bad.

The hack here only supports `strayman'.  Most classes don't have
`strayman''s optional running-header argument for `\title', so I can't
use that.

3 years agomdwtools.tex: Partition stuff as front/main/back matter if available.
Mark Wooding [Sat, 5 Sep 2020 14:45:35 +0000 (15:45 +0100)]
mdwtools.tex: Partition stuff as front/main/back matter if available.

If we detect a document class which supports the distinction, set the
table of contents as frontmatter and the index as backmatter.

3 years agomdwtools.tex: Set footnote markers to the right of punctuation in the title.
Mark Wooding [Sat, 5 Sep 2020 14:42:08 +0000 (15:42 +0100)]
mdwtools.tex: Set footnote markers to the right of punctuation in the title.

I decided a long time ago that setting footnote markers to the left of
punctuation looks rather bad.  Apparently, this code is even older than
that, so it needs fixing.  Unfortunately, we don't know the punctuation
in advance, so we need to delay setting the footnotes by yet another
loop iteration.  Ugh.

3 years agomdwtools.tex: Fix spacing of footnote markers in the document title.
Mark Wooding [Sat, 5 Sep 2020 14:33:46 +0000 (15:33 +0100)]
mdwtools.tex: Fix spacing of footnote markers in the document title.

The default document classes, and, separately, the `doc' package,
arrange for `\maketitle' to set footnote markers without taking up
horizontal space.  Apparently, if you have author names with
affiliations in footnotes, then the footnote marker shifts the names
visually off-centre.

We don't have this problem here, so turn that off, and remove the
compensatory `\space' following the marker.

3 years agomdwtools.tex (\env, \package): Define using `\def', not `\let'.
Mark Wooding [Sat, 5 Sep 2020 14:06:50 +0000 (15:06 +0100)]
mdwtools.tex (\env, \package): Define using `\def', not `\let'.

This allows the commands to be used in PDFstrings, and hence in section
headings.  The `hyperref' machinery builds the PDFstring by making many
control sequences, such as `\textsf', be nops, but `\package' or `\env'
will still cause trouble if they're aliases of the old font-changing
commands.

3 years agoMakefile.m4: Clean up the `.pdf' and `.ps' files.
Mark Wooding [Sat, 5 Sep 2020 17:06:08 +0000 (18:06 +0100)]
Makefile.m4: Clean up the `.pdf' and `.ps' files.

3 years agoMakefile.m4: Distribute the `.pdf' files too.
Mark Wooding [Sat, 5 Sep 2020 17:05:56 +0000 (18:05 +0100)]
Makefile.m4: Distribute the `.pdf' files too.

3 years agoMakefile.m4: Distribute `centre.sty'.
Mark Wooding [Sat, 5 Sep 2020 16:57:44 +0000 (17:57 +0100)]
Makefile.m4: Distribute `centre.sty'.

3 years agoMakefile.m4: Make PDF documents using PDFTeX.
Mark Wooding [Sat, 5 Sep 2020 13:47:37 +0000 (14:47 +0100)]
Makefile.m4: Make PDF documents using PDFTeX.

It produces significantly better output for syntax diagrams, for a
start.

3 years agoMakefile.m4 (run_latex): Make the formatting command be a parameter.
Mark Wooding [Sat, 5 Sep 2020 13:46:13 +0000 (14:46 +0100)]
Makefile.m4 (run_latex): Make the formatting command be a parameter.

3 years agoMakefile.m4: Format each document in a subdirectory.
Mark Wooding [Sat, 5 Sep 2020 13:41:42 +0000 (14:41 +0100)]
Makefile.m4: Format each document in a subdirectory.

The recent change f76fbef37b2af3292764729f496f578037cdc314 to
`sverb.dtx' prevents parallel formatting of /different/ documents from
interfering with each other, but I want to build PDF documents using
PDFTeX rather than going via `dvips' and `ps2pdf', and the two parallel
builds of the /same/ documents will still have the same `\jobname' and
therefore will fight over all kinds of temporary files -- not just the
demo files, but `.aux', `.toc', and everything.

3 years agoMakefile.m4: Squish the (rather dull) build rules.
Mark Wooding [Sat, 5 Sep 2020 13:32:33 +0000 (14:32 +0100)]
Makefile.m4: Squish the (rather dull) build rules.

3 years ago.mdw-build.conf: Don't try `vpath' builds with this package. master
Mark Wooding [Mon, 8 Jun 2020 15:59:38 +0000 (16:59 +0100)]
.mdw-build.conf: Don't try `vpath' builds with this package.

3 years agoRelease 1.8.2. 1.8.2
Mark Wooding [Mon, 8 Jun 2020 15:41:58 +0000 (16:41 +0100)]
Release 1.8.2.

3 years agodebian/changelog: Delete trailing blank line.
Mark Wooding [Mon, 8 Jun 2020 15:41:45 +0000 (16:41 +0100)]
debian/changelog: Delete trailing blank line.

3 years agosverb.dtx: Include the `\jobname' in demo filenames.
Mark Wooding [Sun, 7 Jun 2020 23:06:47 +0000 (00:06 +0100)]
sverb.dtx: Include the `\jobname' in demo filenames.

3 years agoMakefile.m4: Fix dependencies for parallel building.
Mark Wooding [Sun, 7 Jun 2020 22:54:04 +0000 (23:54 +0100)]
Makefile.m4: Fix dependencies for parallel building.

3 years agosyntax.dtx: Disable ligatures in `\readupto'.
Mark Wooding [Sun, 7 Jun 2020 22:53:06 +0000 (23:53 +0100)]
syntax.dtx: Disable ligatures in `\readupto'.

Otherwise `<<' turns into `«', which is rather unhelpful.

`\@noligs' didn't exist when this was written, but it does now.

4 years agoRelease 1.8.1. 1.8.1
Mark Wooding [Sat, 24 Aug 2019 14:25:03 +0000 (15:25 +0100)]
Release 1.8.1.

Debianization!

4 years agoMakefile.m4: Collect version using `auto-version'.
Mark Wooding [Sat, 24 Aug 2019 14:48:10 +0000 (15:48 +0100)]
Makefile.m4: Collect version using `auto-version'.

4 years agoMakefile.m4: Build PDF versions of the documents.
Mark Wooding [Sat, 24 Aug 2019 14:46:11 +0000 (15:46 +0100)]
Makefile.m4: Build PDF versions of the documents.

4 years agoRelease 1.8.0. 1.8.0
Mark Wooding [Fri, 2 Aug 2019 11:30:43 +0000 (12:30 +0100)]
Release 1.8.0.

4 years agomdwref.dtx: Add a useful output-formatting hook.
Mark Wooding [Fri, 2 Aug 2019 11:27:47 +0000 (12:27 +0100)]
mdwref.dtx: Add a useful output-formatting hook.

Rather than have `\xref@@' produce the output directly, because it's
very hairy and hard to replace, have it call a new macro,
`\formatxfref', to actually put the pieces together.  This can be
overridden comfortably, even by novices.

Have the default `\formatxref' notice that `hyperref' is available and
do use its fancier features to include the category name in the link.

8 years agomdwtab.dtx: Fix group nesting in `smarray'.
Mark Wooding [Sun, 24 Jan 2016 12:43:16 +0000 (12:43 +0000)]
mdwtab.dtx: Fix group nesting in `smarray'.

This bug was introduced with the colour support way back in 7abe48b...

Fixes #21, reported by Christian Cornelssen.

8 years agoEliminate tabs from TeX input files.
Mark Wooding [Sun, 24 Jan 2016 12:23:03 +0000 (12:23 +0000)]
Eliminate tabs from TeX input files.

TeX doesn't typeset them very well (despite efforts to address this in
`sverb') and Emacs does well enough at dealing without that I've made it
display angry fruit salad when it sees tabs in TeX source.  So the tabs
in the source files have to go.

8 years agosyntax.dtx: Allow decorative material following nonterminal name in `grammar'.
Mark Wooding [Tue, 17 Nov 2015 22:34:11 +0000 (22:34 +0000)]
syntax.dtx: Allow decorative material following nonterminal name in `grammar'.

8 years agomdwtab.dtx: Cope when \if@leqno is frobbed dynamically.
Mark Wooding [Sun, 4 Oct 2015 22:36:30 +0000 (23:36 +0100)]
mdwtab.dtx: Cope when \if@leqno is frobbed dynamically.

Thanks to Christian Cornelssen for this change.

I considered adding user commands for twiddling \if@leqno (and
\if@fleqn), but I decided against it because the `leqno' and `fleqn'
options do a notionally document-class-specific thing which (in common
cases) involves a complicated rewrite of the `equation' environment and
the \[...\] commands, which I really don't want to get into right now.

8 years agoconfigure.in: Automake is now pickier about ordering.
Mark Wooding [Sun, 4 Oct 2015 22:36:12 +0000 (23:36 +0100)]
configure.in: Automake is now pickier about ordering.

8 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/mdwtools
Mark Wooding [Thu, 24 Sep 2015 23:18:41 +0000 (00:18 +0100)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/mdwtools

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/mdwtools:
  configure.in: Explicit AC_CONFIG_AUX_DIR.

8 years agosyntax.dtx: Allow `grammar' labels to have suffixed decoration.
Mark Wooding [Wed, 19 Aug 2015 17:32:30 +0000 (18:32 +0100)]
syntax.dtx: Allow `grammar' labels to have suffixed decoration.

10 years agoconfigure.in: Explicit AC_CONFIG_AUX_DIR.
Mark Wooding [Mon, 8 Jul 2013 16:04:58 +0000 (17:04 +0100)]
configure.in: Explicit AC_CONFIG_AUX_DIR.

Otherwise Automake doesn't pack its helper scripts.

10 years agoAnd fix the Makefile to install things in the proper place.
Mark Wooding [Sun, 30 Jun 2013 09:56:31 +0000 (10:56 +0100)]
And fix the Makefile to install things in the proper place.

Duh.

10 years agoconfigure.in: Go back to my old TeX-finding macro.
Mark Wooding [Sun, 30 Jun 2013 09:49:35 +0000 (10:49 +0100)]
configure.in: Go back to my old TeX-finding macro.

10 years agoWhitespace cleanup.
Mark Wooding [Sun, 30 Jun 2013 09:44:21 +0000 (10:44 +0100)]
Whitespace cleanup.

10 years agoconfigure.ac: Switch to a different macro for finding TeX.
Mark Wooding [Sun, 30 Jun 2013 09:33:24 +0000 (10:33 +0100)]
configure.ac: Switch to a different macro for finding TeX.

15 years agobuild: Use ACLTX_TEXMF_PATH for installation.
Mark Wooding [Tue, 16 Dec 2008 15:09:01 +0000 (15:09 +0000)]
build: Use ACLTX_TEXMF_PATH for installation.

Also remove old CVS cruft and use autoconf-mode.

16 years agomdwthm: Don't necessarily indent the first line after a theorem.
Mark Wooding [Sat, 26 Jan 2008 18:50:05 +0000 (18:50 +0000)]
mdwthm: Don't necessarily indent the first line after a theorem.

Not quite sure what the \@endpefalse was doing there anyway.

16 years agosverb: Don't leak lccode changes.
Mark Wooding [Fri, 26 Oct 2007 15:16:11 +0000 (16:16 +0100)]
sverb: Don't leak lccode changes.

This broke hyperref in a very confusing and unhelpful way.

16 years agoMerge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/mdwtools
Mark Wooding [Tue, 15 May 2007 10:28:33 +0000 (11:28 +0100)]
Merge branch 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/mdwtools

* 'master' of git+ssh://metalzone.distorted.org.uk/~mdw/public-git/mdwtools:
  mdwref: New package for typesetting cross-references automagically.
  mdwtab: Fix colours and \\ behaviour with longtable.
  mdwtab: Fix stupid typo.

Conflicts:

mdwtab.dtx: fix checksum

16 years agomdwtab: Add optional alignment argument to subsplit environment.
Mark Wooding [Tue, 15 May 2007 10:26:51 +0000 (11:26 +0100)]
mdwtab: Add optional alignment argument to subsplit environment.

17 years agomdwref: New package for typesetting cross-references automagically.
Mark Wooding [Mon, 9 Apr 2007 17:57:59 +0000 (18:57 +0100)]
mdwref: New package for typesetting cross-references automagically.

17 years agomdwtab: Fix colours and \\ behaviour with longtable.
Mark Wooding [Mon, 9 Apr 2007 12:46:57 +0000 (13:46 +0100)]
mdwtab: Fix colours and \\ behaviour with longtable.

The \@mkpream hack failed to install the hooks used by the colour
extension, so coloured table cells didn't work properly in longtables.
Also, it failed to insert \tab@setcr in \tab@midtext, so \\ didn't work
properly in >{\raggedright}p{...} cells.

17 years agomdwtab: Fix stupid typo.
Mark Wooding [Mon, 9 Apr 2007 12:45:06 +0000 (13:45 +0100)]
mdwtab: Fix stupid typo.

For some reason, I'd never noticed this one before.