The Info format is supported by Emacs and many other tools as a method for browsing large and small documents. Individual chapters and sections are converted into nodes within the Info document.
The Info format is produced by calling
makeinfo on the texi
file.
The texi
can be produced directly from the
DocBook file format using the XSL stylesheets.
To build the Info file, use the info
target:
$ make manual.info XML_CATALOG_FILES="/MySQLData/Docs/mysqldoc/trunk/catalog.xml" xsltproc --xinclude --novalid \ --stringparam repository.revision "`../tools/get-svn-revision`" \ --param map.remark.to.para 0 \ --stringparam qandaset.style "" \ ../xsl.d/dbk-prep.xsl manual.xml > manual-prepped.xml.tmp2 ../tools/bug-prep.pl < manual-prepped.xml.tmp2 > manual-prepped.xml.tmp ../tools/idremap.pl --srcpath=". ../refman-common ../falcon ../ndbapi" manual-prepped.xml.tmp > manual-prepped.xml.tmp2 mv manual-prepped.xml.tmp2 manual-prepped.xml rm -f manual-prepped.xml.tmp XML_CATALOG_FILES="/MySQLData/Docs/mysqldoc/trunk/catalog.xml" xsltproc --xinclude --novalid \ --stringparam l10n.gentext.default.language en \ ../xsl.d/dbk-texi.xsl manual-prepped.xml > manual.texi.tmp WARNING: FOUND 'REGISTERED' SYMBOL WARNING: FOUND 'REGISTERED' SYMBOL WARNING: FOUND 'REGISTERED' SYMBOL WARNING: FOUND 'REGISTERED' SYMBOL ../tools/fixup-texi.pl manual.texi.tmp > manual.texi.tmp2 rm -f manual.texi.tmp mv manual.texi.tmp2 manual.texi makeinfo --no-split -I . manual.texi
Note that during the process we correct some problems in the
texi
output before it is processed that are
known to cause problems when the file is converted to Info
format.