Commit Graph

5 Commits

Author SHA1 Message Date
Paul Bone
69d7f49841 Fix bug #153.
Branches: main, 10.04

Fix bug #153.

An empty table of contents (TOC) would be generated in the PDF version of the
user's guide.  This is caused when the user_guide.pdf make rule is executed
before the user_guide.dvi_log rule.  pdftexi executes tex only once, therefore
it is not able to generate the TOC.  Executing the .dvi_log rule before the
.pdf rule solves this problem because texinfo (used to create the .dvi) runs
tex the correct number of times.

doc/Mmakefile:
    Make %.dvi_log a dependency of %.pdf so that pdftex can use the TOC
    generated by texinfo.

doc/texinfo.tex:
    Update the version of texinfo, the existing version was from 1999.  Some
    users reported having invalid TOCs when using older versions of texinfo.
2010-07-03 08:05:23 +00:00
Fergus Henderson
b49887bcc7 Update to the version from GNU TexInfo 4.0.
Estimated hours taken: 0.5
Branches: main

doc/texinfo.tex:
	Update to the version from GNU TexInfo 4.0.

doc/*.texi:
	Move the table of contents from the end of the document
	to the start of the document (just after the title page).
	The only reason that it was at the end was that previous
	versions of TexInfo didn't support putting it at the start.
2001-06-04 06:31:38 +00:00
Fergus Henderson
38d3c2182f Change the annoying warning message about the Tex 3.0 incompatibility
Estimated hours taken: 0.25

doc/texinfo.tex:
	Change the annoying warning message about the Tex 3.0 incompatibility
	so that it does not contain the string '**'; this makes it easier
	to grep the log files for error messages from Mmake.
1999-06-01 08:39:28 +00:00
Fergus Henderson
bb6ac50378 Add support for `install-info' and related TexInfo innovations.
Estimated hours taken: 2

Add support for `install-info' and related TexInfo innovations.

configure.in:
	Check for the `install-info' command.

doc/Mmakefile:
	If we have `install-info', use it to install the entry
	for mercury.info file in the .../info/dir file.

doc/mercury.info:
	Add *INFO-DIR* commands, so that `install-info' works properly.

doc/*.texi:
	Add @direntry and @dircategory commands, so that
	`install-info' works properly.
	(The initial version of this patch was provided by
	Marko Schuetz <marko@ki.informatik.uni-frankfurt.de>.)
	This replaces the old technique of hard-coding the *INFO-DIR*
	info commands, inside `@ifinfo'.
	Note that currently the Mmakefile does not actually invoke
	install-info on all the info files; currently it only does that
	for the menu file mercury.info, since it seems more polite to
	just add a single entry in the top-level directory rather than
	one for every single piece of Mercury-related documentation.
	The change here to *.texi is just in case we should ever
	decide to reverse that policy decision, or in case any other
	tools that process info files start to make use of the
	@direntry or @dircategory commands.

doc/texinfo.tex:
	Update to the version from GNU texinfo 3.12, so that it
	supports the @direntry and @dircategory commands.
1999-02-21 10:09:47 +00:00
Fergus Henderson
27d5ca217b Added a new `doc' directory.
Currently this contains the Mercury User's Guide.
1995-02-28 22:43:36 +00:00