Copyright (C) 2000-2012 |
Manpages texutilSection: CONTEXT (1)Updated: October 2000 Index Return to Main Contents NAMEtexutil - ConTeXt auxiliary programSYNOPSIStexutil [ OPTION... ] FILENAME[...]DESCRIPTIONWhen processing a source file, ConTeXt (via texexec(1)) saves information (including table of contents, tables of figures and tables, index entries, cross-references) in a ``utility file'' called FILENAME.tui. After each successful run, this utility file is postprocessed by texutil to organize the information for the next run. texutil performs a number of useful functions:
OPTIONSAll switches are specified here in full, but can be abbreviated to the shortest unique string. Thus, --ver works the same as --verbose provided that there is no other flag beginning with ``ver''. General Options
Postprocessing ReferencesThe --references flag instructs texutil to process information about cross-references, index entries, and other data requiring more than one pass to process in the ConTeXt utility file. Index and sorted list entries are sorted before being written out; redundant index entries are removed. texutil is called automatically by texexec(1) during its processing runs unless you specify otherwise. texutil can also be run by hand, using the form
This command would cause texutil to load the utility file FILENAME.tui, sort and convert the contents of that file, and write the results to FILENAME.tuo. Options specific to this mode are:
Extracting Information from ConTeXt Source FilesConTeXt source files often contain documentation (see USAGE for more information about the format) or other information that can be extracted by texutil when called with the --documents flag:
This command produces a file called FILENAME.ted from a ConTeXt file called FILENAME.tex. The --sources flag does the opposite: Documentation lines are stripped out of the output, which is written to a file called FILENAME.tes. Historically, ConTeXt source files included other forms of information -- such as syntax definitions, macro definitions, and editor templates -- that can be extracted with the following flags:
Analyzing Log FilesCalling texutil with the --logfile option allows you to extract information about problems with your ConTeXt source file from the log file produced during a texexec(1) run. You can specify what information texutil should report with the following options:
Gathering Information about FiguresThe --figures flag tells texutil to generate information about one or more (non-EPS) graphics files for use in typesetting. Called as, for example,
texutil will scan the current directory for PNG and TIFF files and extract some useful information about their sizes and types. By default, this information is stored in a file called texutil.tuf, which is consulted by ConTeXt when typesetting a page with a non-EPS image file -- see the example given for the --silent flag for an alternative. This flag is especially useful when you plan to typeset a file of previews of graphic files -- see the discussion of the --figures flag in the texexec(1) manpage. Converting EPS Files for PDF Inclusiontexutil can also convert EPS files to PDF format for inclusion in PDF files generated with pdftex(1) or pdfetex(1).
USAGEEmbedded Documentation FormatDocumentation lines included in ConTeXt source files can be specified by beginning lines with the following strings:
The same forms can be used for Perl scripts, except that the ``%'' characters are replaced by ``#'' characters. See the source for texutil for an example. SEE ALSOgs(1), pdfetex(1), pdftex(1), texexec(1), texshow(1). Web page: <http://www.pragma-ade.com/> AUTHORThis manpage was written by C.M. Connelly <c@eskimo.com> and Tobias Burnus <burnus@gmx.de>. It is based on the texutil manual written by Hans Hagen <pragma@wxs.nl>. The PDF manual and texutil itself can be obtained at <http://www.pragma-ade.com/pragma-ade/texutil.htm>.
Index
This document was created by man2html, using the manual pages. Time: 02:56:49 GMT, April 19, 2024 |