diff options
-rw-r--r-- | Master/texmf-dist/doc/info/web2c.info | 2094 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/fmtutil.1 | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/pdftex.1 | 132 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/updmap.1 | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/web2c/web2c.pdf | bin | 466008 -> 466008 bytes |
5 files changed, 1123 insertions, 1116 deletions
diff --git a/Master/texmf-dist/doc/info/web2c.info b/Master/texmf-dist/doc/info/web2c.info index 38de4baf444..c8fe8cf6c23 100644 --- a/Master/texmf-dist/doc/info/web2c.info +++ b/Master/texmf-dist/doc/info/web2c.info @@ -1,10 +1,10 @@ -This is web2c.info, produced by makeinfo version 7.0.3 from web2c.texi. +This is web2c.info, produced by makeinfo version 6.7 from web2c.texi. This file documents the installation and use of the programs in Web2c, -an implementation of Donald Knuth’s TeX system. +an implementation of Donald Knuth's TeX system. - Copyright © 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -2005, 2007, 2008, 2009, 2010–2023 Karl Berry & Olaf Weber. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +2005, 2007, 2008, 2009, 2010-2023 Karl Berry & Olaf Weber. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are @@ -58,7 +58,7 @@ Web2c This document describes how to install and use the programs in the Web2c implementation of the TeX system, especially for Unix systems. It -corresponds to Web2c version 2023, released in October 2023. +corresponds to Web2c version 2024, released in March 2024. * Menu: @@ -83,12 +83,12 @@ File: web2c.info, Node: Introduction, Next: Installation, Prev: Top, Up: Top 1 Introduction ************** -This manual corresponds to version 2023 of Web2c, released in October -2023. +This manual corresponds to version 2024 of Web2c, released in March +2024. - “Web2c” (also spelled Web2C) is the name of a TeX implementation, + "Web2c" (also spelled Web2C) is the name of a TeX implementation, originally for Unix, but now also running under Windows and other -operating systems. By “TeX implementation”, we mean all of the standard +operating systems. By "TeX implementation", we mean all of the standard programs developed by the Stanford TeX project led by Donald E. Knuth: Metafont, DVItype, GFtoDVI, BibTeX, Tangle, etc., as well as TeX itself. Other programs are also included: DVIcopy, written by Peter @@ -98,10 +98,10 @@ John Hobby, and many more. General strategy: Web2c works, as its name implies, by translating the WEB source in which TeX is written into C source code. Its output is not self-contained, however; it makes extensive use of many macros -and functions in a library (the ‘web2c/lib’ directory in the sources). +and functions in a library (the 'web2c/lib' directory in the sources). Therefore, it will not work without change on an arbitrary WEB program. - Availability: All of Web2c is freely available—“free” both in the + Availability: All of Web2c is freely available--"free" both in the sense of no cost (free ice cream) and of having the source code to modify and/or redistribute (free speech). *Note (kpathsea)unixtex.ftp::, for the practical details of how to obtain @@ -115,7 +115,7 @@ executables are covered by the GNU General Public License or GNU Lesser General Public License, and therefore anyone who gets a binary distribution must also be able to get the sources, as explained by the terms of the GPL (<https://gnu.org/licenses/>). The GPL covers the -Web2c executables, including ‘tex’, because the Free Software Foundation +Web2c executables, including 'tex', because the Free Software Foundation sponsored the initial development of the Kpathsea library that Web2c uses. The basic source files from Stanford, however, have their own copyright terms or are in the public domain, and are not covered by the @@ -130,7 +130,7 @@ He made many changes to the original sources, and started using the shorter name Web2c. In 1997, Olaf Weber took over, and then in 2006, Karl started taking care of it again. No significant development or changes have been needed for many years, though dozens of other people -have contributed in many ways; their names are listed in the ‘ChangeLog’ +have contributed in many ways; their names are listed in the 'ChangeLog' files. Originally, Web2c was distributed as its own package, alongside the @@ -156,109 +156,109 @@ File: web2c.info, Node: Installation, Next: Commonalities, Prev: Introduction 2 Installation ************** -(A copy of this chapter is in the distribution file ‘web2c/INSTALL’.) +(A copy of this chapter is in the distribution file 'web2c/INSTALL'.) Installing Web2c is mostly the same as installing any other Kpathsea-using program. Therefore, for the basic steps involved, see *note (kpathsea)Installation::. (A copy is in the file -‘kpathsea/INSTALL’.) +'kpathsea/INSTALL'.) One peculiarity to Web2c is that the source distribution comes in two -files: ‘web.tar.gz’ and ‘web2c.tar.gz’. You must retrieve and unpack +files: 'web.tar.gz' and 'web2c.tar.gz'. You must retrieve and unpack them both. (We have two because the former archive contains the very large and seldom-changing original WEB source files.) *Note (kpathsea)unixtex.ftp::. Another peculiarity is the MetaPost program. Although it has been -installed previously as ‘mp’, as of Web2c 7.0 the installed name is now -‘mpost’, to avoid conflict with the ‘mp’ program that does +installed previously as 'mp', as of Web2c 7.0 the installed name is now +'mpost', to avoid conflict with the 'mp' program that does prettyprinting. This approach was recommended by the MetaPost author, John Hobby. If you as the TeX administrator wish to make it available under its shorter name as well, you will have to set up a link or some such yourself. And of course individual users can do the same. For solutions to common installation problems and information on how -to report a bug, see the file ‘kpathsea/BUGS’ (*note (kpathsea)Bugs::). +to report a bug, see the file 'kpathsea/BUGS' (*note (kpathsea)Bugs::). See also the Web2c home page, <http://www.tug.org/web2c>. Points worth repeating: - • Before starting the standard compilation and installation you must + * Before starting the standard compilation and installation you must install the basic fonts, macros, and other library files. *Note (kpathsea)Installation::. - • If you do not wish to use the standard file locations, see *note + * If you do not wish to use the standard file locations, see *note (kpathsea)Changing search paths::. - • Some Web2c features are enabled or disabled at ‘configure’ time, as + * Some Web2c features are enabled or disabled at 'configure' time, as described in the first section below. * Menu: -* configure options:: Especially –with and –enable. -* Compile-time options:: Unusual -D’s. +* configure options:: Especially -with and -enable. +* Compile-time options:: Unusual -D's. * Additional targets:: Breaking down the task. * Triptrap:: Running the torture tests. File: web2c.info, Node: configure options, Next: Compile-time options, Up: Installation -2.1 ‘configure’ options +2.1 'configure' options ======================= -This section gives pointers to descriptions of the ‘--with’ and -‘--enable’ ‘configure’ arguments that Web2c accepts. Some are specific +This section gives pointers to descriptions of the '--with' and +'--enable' 'configure' arguments that Web2c accepts. Some are specific to Web2c, others are generic to all Kpathsea-using programs. - For a list of all the options ‘configure’ accepts, run ‘configure ---help’. The generic options are listed first, and the package-specific + For a list of all the options 'configure' accepts, run 'configure +--help'. The generic options are listed first, and the package-specific options come last. For a description of the generic options (which mainly allow you to -specify installation directories) and basic ‘configure’ usage, see *note -Running ‘configure’ scripts: (autoconf)Invoking configure, a copy is in -the file ‘kpathsea/CONFIGURE’. +specify installation directories) and basic 'configure' usage, see *note +Running 'configure' scripts: (autoconf)Invoking configure, a copy is in +the file 'kpathsea/CONFIGURE'. -‘--disable-dump-share’ +'--disable-dump-share' Do not make fmt/base/mem files sharable across different endian architectures. *Note Hardware and memory dumps::. -‘--without-maketexmf-default’ -‘--without-maketexpk-default’ -‘--without-maketextfm-default’ -‘--with-maketextex-default’ +'--without-maketexmf-default' +'--without-maketexpk-default' +'--without-maketextfm-default' +'--with-maketextex-default' Enable or disable the dynamic generation programs. *Note (kpathsea)mktex configuration::. The defaults are the inverse of - the options, i.e., everything is enabled except ‘mktextex’. + the options, i.e., everything is enabled except 'mktextex'. -‘--enable-shared’ +'--enable-shared' Build Kpathsea as a shared library. *Note (kpathsea)Shared library::. -‘--with-editor=CMD’ - Change the default editor invoked by the ‘e’ interactive command. +'--with-editor=CMD' + Change the default editor invoked by the 'e' interactive command. *Note Editor invocation::. -‘--with-epsfwin’ -‘--with-hp2627win’ -‘--with-mftalkwin’ -‘--with-nextwin’ -‘--with-regiswin’ -‘--with-suntoolswin’ -‘--with-tektronixwin’ -‘--with-unitermwin’ -‘--with-x’ -‘--with-x-toolkit=KIT’ -‘--with-x11win’ -‘--with-x11’ +'--with-epsfwin' +'--with-hp2627win' +'--with-mftalkwin' +'--with-nextwin' +'--with-regiswin' +'--with-suntoolswin' +'--with-tektronixwin' +'--with-unitermwin' +'--with-x' +'--with-x-toolkit=KIT' +'--with-x11win' +'--with-x11' Define Metafont graphics support; by default, no graphics support is enabled. *Note Online Metafont graphics::. -‘--x-includes=DIR’ -‘--x-libraries=DIR’ +'--x-includes=DIR' +'--x-libraries=DIR' Define the locations of the X11 include files and libraries; by - default, ‘configure’ does its best to guess). *Note - (autoconf)Optional Features::. A copy is in ‘kpathsea/CONFIGURE’. + default, 'configure' does its best to guess). *Note + (autoconf)Optional Features::. A copy is in 'kpathsea/CONFIGURE'. File: web2c.info, Node: Compile-time options, Next: Additional targets, Prev: configure options, Up: Installation @@ -266,28 +266,28 @@ File: web2c.info, Node: Compile-time options, Next: Additional targets, Prev: 2.2 Compile-time options ======================== -In addition to the ‘configure’ options listed in the previous section, +In addition to the 'configure' options listed in the previous section, there are a few things that can be affected at compile-time with C -definitions, rather than with ‘configure’. Using any of these is +definitions, rather than with 'configure'. Using any of these is unusual. - To specify extra compiler flags (‘-DNAME’ in this case), the simplest + To specify extra compiler flags ('-DNAME' in this case), the simplest thing to do is: make XCFLAGS="CCOPTIONS" -You can also set the ‘CFLAGS’ environment variable before running -‘configure’. *Note (kpathsea)configure environment::. +You can also set the 'CFLAGS' environment variable before running +'configure'. *Note (kpathsea)configure environment::. Anyway, here are the possibilities: -‘-DFIXPT’ -‘-DNO_MF_ASM’ +'-DFIXPT' +'-DNO_MF_ASM' Use the original WEB fixed-point routines for Metafont and MetaPost arithmetic calculations regarding fractions. By default, assembly-language routines are used on x86 hardware with GNU C - (unless ‘NO_MF_ASM’ is defined), and floating-point routines are + (unless 'NO_MF_ASM' is defined), and floating-point routines are used otherwise. -‘-DIPC_DEBUG’ +'-DIPC_DEBUG' Report on various interprocess communication activities. *Note IPC and TeX: IPC and TeX. @@ -299,39 +299,39 @@ File: web2c.info, Node: Additional targets, Next: Triptrap, Prev: Compile-tim Web2c has several Make targets besides the standard ones. You can invoke these either in the top level directory of the source -distribution (the one containing ‘kpathsea/’ and ‘web2c/’), or in the -‘web2c/’ directory. +distribution (the one containing 'kpathsea/' and 'web2c/'), or in the +'web2c/' directory. -‘c-sources’ +'c-sources' Make only the C files, translated from the Web sources, presumably because you want to take them to a non-Unix machine. -‘formats’ -‘install-formats’ +'formats' +'install-formats' Make or install all the memory dumps (*note Memory dumps::). By - default, the standard plain formats plus ‘latex.fmt’ are made. You - can add other formats by redefining the ‘fmts’, ‘bases’, and ‘mems’ - variables. See the top of ‘web2c/Makefile’ for the possibilities. + default, the standard plain formats plus 'latex.fmt' are made. You + can add other formats by redefining the 'fmts', 'bases', and 'mems' + variables. See the top of 'web2c/Makefile' for the possibilities. -‘fmts’ -‘install-fmts’ - Make or install the TeX ‘.fmt’ files. *Note Initial TeX::. +'fmts' +'install-fmts' + Make or install the TeX '.fmt' files. *Note Initial TeX::. -‘bases’ -‘install-bases’ +'bases' +'install-bases' - Make or install the Metafont ‘.base’ files. *Note Initial + Make or install the Metafont '.base' files. *Note Initial Metafont::. -‘mems’ -‘install-mems’ - Make or install the MetaPost ‘.mem’ files. *Note Initial +'mems' +'install-mems' + Make or install the MetaPost '.mem' files. *Note Initial MetaPost::. -‘triptrap’ -‘trip’ -‘trap’ -‘mptrap’ +'triptrap' +'trip' +'trap' +'mptrap' To run the torture tests for TeX, Metafont, and MetaPost (respectively). See the next section. @@ -341,38 +341,38 @@ File: web2c.info, Node: Triptrap, Prev: Additional targets, Up: Installation 2.4 Trip, trap, and mptrap: Torture tests ========================================= -To validate your TeX, Metafont, and MetaPost executables, run ‘make -triptrap’. This runs the trip, trap, and mptrap “torture tests”. See -the files ‘triptrap/tripman.tex’, ‘triptrap/trapman.tex’, and -‘triptrap/mptrap.readme’ for detailed information and background on the +To validate your TeX, Metafont, and MetaPost executables, run 'make +triptrap'. This runs the trip, trap, and mptrap "torture tests". See +the files 'triptrap/tripman.tex', 'triptrap/trapman.tex', and +'triptrap/mptrap.readme' for detailed information and background on the tests. - The differences between your executables’ behavior and the standard + The differences between your executables' behavior and the standard values will show up on your terminal. The usual differences (these are all acceptable) are: - • string usage and table sizes; - • glue set ratios; - • ‘down4’, ‘right4’, and ‘y4’ commands in DVItype output; - • dates and times. + * string usage and table sizes; + * glue set ratios; + * 'down4', 'right4', and 'y4' commands in DVItype output; + * dates and times. Any other differences are trouble. The most common culprit in the past has been compiler bugs, especially when optimizing. *Note TeX or Metafont failing: (kpathsea)TeX or Metafont failing. - The files ‘trip.diffs’, ‘mftrap.diffs’, and ‘mptrap.diffs’ in the -‘triptrap’ directory show the standard diffs against the original + The files 'trip.diffs', 'mftrap.diffs', and 'mptrap.diffs' in the +'triptrap' directory show the standard diffs against the original output. If you diff your diffs against these files, you should come up clean. For example make trip >&mytrip.diffs diff triptrap/trip.diffs mytrip.diffs - To run the tests separately, use the targets ‘trip’, ‘trap’, and -‘mptrap’. + To run the tests separately, use the targets 'trip', 'trap', and +'mptrap'. To run simple tests for all the programs as well as the torture -tests, run ‘make check’. You can compare the output to the distributed -file ‘tests/check.log’ if you like. +tests, run 'make check'. You can compare the output to the distributed +file 'tests/check.log' if you like. File: web2c.info, Node: Commonalities, Next: Three programs, Prev: Installation, Up: Top @@ -388,10 +388,10 @@ available across all the engines; *note TeX extensions::. * Menu: -* Option conventions:: – or -, = or ‘ ’ for values. -* Common options:: –help –version –verbose, and TeX/MF/MP options. +* Option conventions:: - or -, = or ' ' for values. +* Common options:: -help -version -verbose, and TeX/MF/MP options. * Path searching:: Features of the common path searching library. -* Output file location:: TEXMFOUTPUT allows output in places other than ‘.’. +* Output file location:: TEXMFOUTPUT allows output in places other than '.'. File: web2c.info, Node: Option conventions, Next: Common options, Up: Commonalities @@ -400,20 +400,20 @@ File: web2c.info, Node: Option conventions, Next: Common options, Up: Commona ====================== To provide a clean and consistent behavior, we chose to have all these -programs use the GNU function ‘getopt_long_only’ to parse command lines. +programs use the GNU function 'getopt_long_only' to parse command lines. However, we do use in a restricted mode, where all the options have to come before the rest of the arguments. As a result, you can: - • use ‘-’ or ‘--’ to start an option name; + * use '-' or '--' to start an option name; - • use any unambiguous abbreviation for an option name; + * use any unambiguous abbreviation for an option name; - • separate option names and values with either ‘=’ or one or more + * separate option names and values with either '=' or one or more spaces; - • use filenames that would otherwise look like options by putting - them after an option ‘--’. + * use filenames that would otherwise look like options by putting + them after an option '--'. By convention, non-option arguments, if specified, generally define the name of an input file, as documented for each program. @@ -421,9 +421,9 @@ the name of an input file, as documented for each program. If a particular option with a value is given more than once, it is the last value that counts. - For example, the following command line specifies the options ‘foo’, -‘bar’, and ‘verbose’; gives the value ‘baz’ to the ‘abc’ option, and the -value ‘xyz’ to the ‘quux’ option; and specifies the filename ‘-myfile-’. + For example, the following command line specifies the options 'foo', +'bar', and 'verbose'; gives the value 'baz' to the 'abc' option, and the +value 'xyz' to the 'quux' option; and specifies the filename '-myfile-'. -foo --bar -verb -abc=baz -quux karl --quux xyz -- -myfile- @@ -433,114 +433,114 @@ File: web2c.info, Node: Common options, Next: Path searching, Prev: Option co 3.2 Common options ================== -All of these programs accept the standard GNU ‘--help’ and ‘--version’ -options, and several programs accept ‘--verbose’. Rather than writing +All of these programs accept the standard GNU '--help' and '--version' +options, and several programs accept '--verbose'. Rather than writing identical descriptions for every program, they are described here. -‘--help’ +'--help' Print a usage message listing basic usage and all available options to standard output, then exit successfully. -‘--verbose’ +'--verbose' Print progress reports to standard output. -‘--version’ +'--version' Print the version number to standard output, then exit successfully. TeX, Metafont, and MetaPost have a number of additional options in common: -‘-cnf-line=STR’ - Parse STR as if it were a line in the ‘texmf.cnf’ configuration +'-cnf-line=STR' + Parse STR as if it were a line in the 'texmf.cnf' configuration file, overriding all other settings. *Note (kpathsea)Path searching options::. -‘-file-line-error’ -‘-no-file-line-error’ +'-file-line-error' +'-no-file-line-error' Change (or do not change) the way error messages are printed. The alternate style looks like error messages from many compilers and is easier to parse for some editors that invoke TeX. This option - used to be called ‘-file-line-error-style’. - -‘-fmt=DUMPNAME’ -‘-base=DUMPNAME’ -‘-mem=DUMPNAME’ - Use DUMPNAME instead of the program name or a ‘%&’ line to - determine the name of the memory dump file read (‘fmt’ for TeX, - ‘base’ for Metafont, ‘mem’ for MetaPost). *Note Memory dumps::. - Also sets the program name to DUMPNAME if no ‘-progname’ option was + used to be called '-file-line-error-style'. + +'-fmt=DUMPNAME' +'-base=DUMPNAME' +'-mem=DUMPNAME' + Use DUMPNAME instead of the program name or a '%&' line to + determine the name of the memory dump file read ('fmt' for TeX, + 'base' for Metafont, 'mem' for MetaPost). *Note Memory dumps::. + Also sets the program name to DUMPNAME if no '-progname' option was given. -‘-halt-on-error’ +'-halt-on-error' Stop processing and exit when an error occurs, as opposed to the normal process of trying to recover and continue. -‘-ini’ - Enable the “initial” form of the program (*note Initial and - virgin::). This is implicitly set if the program name is ‘initex’ - resp. ‘inimf’. +'-ini' + Enable the "initial" form of the program (*note Initial and + virgin::). This is implicitly set if the program name is 'initex' + resp. 'inimf'. -‘-interaction=STRING’ +'-interaction=STRING' Set the interaction mode from the command line. The STRING must be - one of ‘batchmode’, ‘nonstopmode’, ‘scrollmode’, or - ‘errorstopmode’. + one of 'batchmode', 'nonstopmode', 'scrollmode', or + 'errorstopmode'. -‘-jobname=STRING’ +'-jobname=STRING' Set the job name to STRING, instead of deriving it from the name of the input file. -‘-kpathsea-debug=NUMBER’ +'-kpathsea-debug=NUMBER' Set path searching debugging flags according to the bits of NUMBER (*note (kpathsea)Debugging::). You can also specify this in - ‘KPATHSEA_DEBUG’ environment variable (for all Web2c programs). - (The command line value overrides.) The most useful value is ‘-1’, + 'KPATHSEA_DEBUG' environment variable (for all Web2c programs). + (The command line value overrides.) The most useful value is '-1', to get all available output. -‘-output-directory=DIRNAME’ +'-output-directory=DIRNAME' Specify the directory DIRNAME to which output files are written. Also look for input files in DIRNAME first, before looking along the normal search path. Input files are only looked for as specified; no default extension is added. *Note Output file location::. -‘-parse-first-line’ -‘-no-parse-first-line’ +'-parse-first-line' +'-no-parse-first-line' Check or disable checking whether the first line of the main input - file starts with ‘%&’, and parse it if it does. This line can be + file starts with '%&', and parse it if it does. This line can be used specify the format and/or a TCX file. -‘-progname=STRING’ +'-progname=STRING' Set program (and memory dump) name to STRING. This may affect the search paths and other values used (*note (kpathsea)Config files::). Using this option is equivalent to making a link named STRING to the binary and then invoking the binary under that name. *Note Memory dumps::. -‘-recorder’ +'-recorder' Enable the filename recorder. This makes the program save a list - of the opened files into a file with (by default) extension ‘.fls’. + of the opened files into a file with (by default) extension '.fls'. For Aleph, this option is always on, and the file has extension - ‘.ofl’. + '.ofl'. - Ordinarily, the ‘.fls’ file is written to the same location as the - ‘.log’ file, for example, respecting ‘-output-directory’ if it is + Ordinarily, the '.fls' file is written to the same location as the + '.log' file, for example, respecting '-output-directory' if it is given (*note Output file location::). However, if TeX processing - is done on the command line (or in response to the ‘**’ prompt), - the ‘.fls’ might be written to the current directory, or include an - integer (the current pid), as in ‘texput1234.fls’. You can use - ‘-jobname’ to explicitly set the basename. + is done on the command line (or in response to the '**' prompt), + the '.fls' might be written to the current directory, or include an + integer (the current pid), as in 'texput1234.fls'. You can use + '-jobname' to explicitly set the basename. -‘-translate-file=TCXFILE’ +'-translate-file=TCXFILE' Use TCXFILE to define which characters are printable and translations between the internal and external character sets. Moreover, TCXFILE can be explicitly declared in the first line of - the main input file ‘%& -translate-file=TCXFILE’. This is the + the main input file '%& -translate-file=TCXFILE'. This is the recommended method for portability reasons. *Note TCX files::. -‘-8bit’ +'-8bit' This option specifies that by default all characters should be - considered printable. If ‘-translate-file’ was given as well, then + considered printable. If '-translate-file' was given as well, then the TCX file may mark characters as non-printable. This is a no-op in engines natively supporting Unicode. @@ -554,14 +554,14 @@ All of the Web2c programs, including TeX, which do path searching use the Kpathsea routines to do so. The precise names of the environment and configuration file variables which get searched for particular file formatted are therefore documented in the Kpathsea manual (*note -(kpathsea)Supported file formats::). Reading ‘texmf.cnf’ (*note -(kpathsea)Config files::), invoking ‘mktex...’ scripts (*note +(kpathsea)Supported file formats::). Reading 'texmf.cnf' (*note +(kpathsea)Config files::), invoking 'mktex...' scripts (*note (kpathsea)mktex scripts::), and so on are all handled by Kpathsea. The programs which read fonts make use of another Kpathsea feature: -‘texfonts.map’, which allows arbitrary aliases for the actual names of -font files; for example, ‘Times-Roman’ for ‘ptmr8r.tfm’. The -distributed (and installed by default) ‘texfonts.map’ includes aliases +'texfonts.map', which allows arbitrary aliases for the actual names of +font files; for example, 'Times-Roman' for 'ptmr8r.tfm'. The +distributed (and installed by default) 'texfonts.map' includes aliases for many widely available PostScript fonts by their PostScript names. @@ -576,62 +576,62 @@ run, regardless of any input file location; or, in a few cases, output is to standard output. The main programs (TeX, Metafont, MetaPost) provide several ways to override this, as explained below. - For example, if you run ‘tex /tmp/foo’, by default the output will be -in ‘./foo.dvi’ and ‘./foo.log’, not ‘/tmp/foo.dvi’ and ‘/tmp/foo.log’. + For example, if you run 'tex /tmp/foo', by default the output will be +in './foo.dvi' and './foo.log', not '/tmp/foo.dvi' and '/tmp/foo.log'. An explicitly-given output location is also checked for input files, as TeX often generates files that need to be subsequently read. For input, the input filename is simply checked as given. No suffixes, such -as ‘.tex’, are added by default, and no exhaustive path searching is +as '.tex', are added by default, and no exhaustive path searching is done. -Override 1: ‘-output-directory’ option +Override 1: '-output-directory' option -------------------------------------- -If the ‘-output-directory’ option is specified, all output files that +If the '-output-directory' option is specified, all output files that would normally be written in the current directory are written in the specified directory instead. *Note Common options::. -Override 2: ‘TEXMF_OUTPUT_DIRECTORY’ environment variable +Override 2: 'TEXMF_OUTPUT_DIRECTORY' environment variable --------------------------------------------------------- -Furthermore, if the ‘-output-directory’ option is specified, its -argument is saved in the environment variable ‘TEXMF_OUTPUT_DIRECTORY’. +Furthermore, if the '-output-directory' option is specified, its +argument is saved in the environment variable 'TEXMF_OUTPUT_DIRECTORY'. This is for the benefit of any subprograms that might be called via -‘\write18’ (*note Shell escapes::), such as ‘kpsewhich’ (*note +'\write18' (*note Shell escapes::), such as 'kpsewhich' (*note (kpathsea)Invoking kpsewhich::). (This feature was added in TeX Live 2024.) - If the ‘-output-directory’ option is not specified, but the -environment variable ‘TEXMF_OUTPUT_DIRECTORY’ is set, then the + If the '-output-directory' option is not specified, but the +environment variable 'TEXMF_OUTPUT_DIRECTORY' is set, then the environment variable value is used just as if it had been given to the option. Warning: we most strongly recommend always setting -‘TEXMF_OUTPUT_DIRECTORY’ temporarily, for a given run. It has great +'TEXMF_OUTPUT_DIRECTORY' temporarily, for a given run. It has great potential for confusion, since with it set, output files will not be in the expected place. To reduce this chance somewhat, -‘TEXMF_OUTPUT_DIRECTORY’ must be set in the environment, not a +'TEXMF_OUTPUT_DIRECTORY' must be set in the environment, not a configuration file. -Override 3: ‘TEXMFOUTPUT’ environment variable +Override 3: 'TEXMFOUTPUT' environment variable ---------------------------------------------- -Finally, if neither ‘-output-directory’ nor ‘TEXMF_OUTPUT_DIRECTORY’ is +Finally, if neither '-output-directory' nor 'TEXMF_OUTPUT_DIRECTORY' is set, _and_ an output file is not writable, then the main programs (TeX, Metafont, MetaPost), plus BibTeX for this one case, make an exception: -if the config file or environment variable value ‘TEXMFOUTPUT’ is set +if the config file or environment variable value 'TEXMFOUTPUT' is set (it is not by default), the output file is written to the directory specified. Usually this is because the current directory is not -writable, and thus all output files are written to ‘TEXMFOUTPUT’, but +writable, and thus all output files are written to 'TEXMFOUTPUT', but technically it works on a file-by-file basis. None of these explicitly-given output locations are checked until (and unless) the program actually needs to write a file. For example, the invocation -‘tex --output-directory=/nonesuch \\end’ -won’t generate an error until TeX tries to write the log file: -‘! I can't write on file `texput.log'.’. +'tex --output-directory=/nonesuch \\end' +won't generate an error until TeX tries to write the log file: +'! I can't write on file `texput.log'.'. File: web2c.info, Node: Three programs, Next: TeX, Prev: Commonalities, Up: Top @@ -645,10 +645,10 @@ described in the previous section. * Menu: -* Runtime options:: The ‘texmf.cnf’ configuration file. +* Runtime options:: The 'texmf.cnf' configuration file. * Initial and virgin:: Making memory dumps vs. production runs. * Memory dumps:: .fmt/.base files for fast startup. -* Editor invocation:: The ‘e’ response at errors. +* Editor invocation:: The 'e' response at errors. * \input filenames:: Filename delimiters and Kpathsea expansion. @@ -659,26 +659,26 @@ File: web2c.info, Node: Runtime options, Next: Initial and virgin, Up: Three Besides the configure- and compile-time options described in the installation section (*note Installation::), you can control a number of -parameters in the ‘texmf.cnf’ runtime file read by Kpathsea (*note +parameters in the 'texmf.cnf' runtime file read by Kpathsea (*note (kpathsea)Config files::). - The main purpose of ‘texmf.cnf’ is to specify search paths, but array + The main purpose of 'texmf.cnf' is to specify search paths, but array sizes and other options are also set there. Most are rather obscure. Here are a few of the more interesting values: -‘main_memory’ +'main_memory' Total words of memory available, for TeX, Metafont, and MetaPost. Must remake the format file after changing. -‘extra_mem_bot’ - Extra space for “large” TeX data structures (default 0): boxes, +'extra_mem_bot' + Extra space for "large" TeX data structures (default 0): boxes, glue, breakpoints, et al. If you use PiCTeX, you may well want to set this. -‘expand_depth’ +'expand_depth' Limit on recursive expansion calls before TeX aborts (default 10000). If a TeX program does an unterminated recursive expansion, - TeX will dutifully expand macros until the system’s runtime stack + TeX will dutifully expand macros until the system's runtime stack overflows, typically with a segmentation fault (SIGSEGV). This parameter was introduced to minimize the chance of that unpleasant (though not dangerous) crash, instead allowing TeX to quit with a @@ -688,12 +688,12 @@ Here are a few of the more interesting values: exceptionally small memory allocation for its stack. There is no quantitative way to determine the limit, and it does not seem worth implementing system-dependent heuristics to guess at the number, - since it’s highly improbable that any real TeX code will ever need + since it's highly improbable that any real TeX code will ever need more than 10000 recursive expansions (it has never happened). For the same reason, using the libsigsegv library (<https://gnu.org/s/libsigsegv>) does not seem worth the effort. -‘texmf_casefold_search’ +'texmf_casefold_search' *Note (kpathsea)Casefolding search::. Ideally all arrays would be dynamically expanded as necessary, so the @@ -708,13 +708,13 @@ hand, the Web2c BibTeX implementation does do true dynamic reallocation of some arrays.) Nowadays there is rarely a reason to modify the values. But if you -do wish to modify ‘texmf.cnf’, in TeX Live the best approach is to put +do wish to modify 'texmf.cnf', in TeX Live the best approach is to put your changes, and only your changes at the top of the TL installation -tree. That is, if the system ‘texmf.cnf’ is installed in -‘/some/path/to/texlive/YYYY/texmf-dist/web2c/texmf.cnf’ is put your -custom settings in ‘/some/path/to/texlive/YYY/texmf.cnf’, where YYYY is -the year of installation (if you use that subdirectory; it’s the -default). That way, unrelated changes to the system ‘texmf.cnf’ can +tree. That is, if the system 'texmf.cnf' is installed in +'/some/path/to/texlive/YYYY/texmf-dist/web2c/texmf.cnf' is put your +custom settings in '/some/path/to/texlive/YYY/texmf.cnf', where YYYY is +the year of installation (if you use that subdirectory; it's the +default). That way, unrelated changes to the system 'texmf.cnf' can happen with normal updates, without affecting your local values. @@ -724,19 +724,19 @@ File: web2c.info, Node: Initial and virgin, Next: Memory dumps, Prev: Runtime ====================== The TeX and Metafont programs each have two main variants, called -“initial” and “virgin”. MetaPost no longer makes this distinction. +"initial" and "virgin". MetaPost no longer makes this distinction. The initial form is enabled if: - 1. the ‘-ini’ option was specified; or - 2. the program name is ‘initex’ resp. ‘inimf’; or - 3. the first line of the main input file is ‘%&ini’; + 1. the '-ini' option was specified; or + 2. the program name is 'initex' resp. 'inimf'; or + 3. the first line of the main input file is '%&ini'; otherwise, the virgin form is used. - The “virgin” form is the one generally invoked for production use. + The "virgin" form is the one generally invoked for production use. The first thing it does is read a memory dump (*note Determining the memory dump to use::), and then proceeds on with the main job. - The “initial” form is generally used only to create memory dumps (see + The "initial" form is generally used only to create memory dumps (see the next section). It starts up more slowly than the virgin form, because it must do lengthy initializations that are encapsulated in the memory dump file. @@ -748,7 +748,7 @@ File: web2c.info, Node: Memory dumps, Next: Editor invocation, Prev: Initial ================ In typical use, TeX and Metafont require a large number of macros to be -predefined; therefore, they support “memory dump” files, which can be +predefined; therefore, they support "memory dump" files, which can be read much more efficiently than ordinary source code. * Menu: @@ -767,7 +767,7 @@ The programs all create memory dumps in slightly idiosyncratic (thought substantially similar) way, so we describe the details in separate sections (references below). The basic idea is to run the initial version of the program (*note Initial and virgin::), read the source -file to define the macros, and then execute the ‘\dump’ primitive. +file to define the macros, and then execute the '\dump' primitive. Also, each program uses a different filename extension for its memory dumps, since although they are completely analogous they are not @@ -777,10 +777,10 @@ interchangeable (TeX cannot read a Metafont memory dump, for example). creating memory dumps: TeX - (‘.fmt’) *Note Initial TeX: Initial TeX. + ('.fmt') *Note Initial TeX: Initial TeX. Metafont - (‘.base’) *Note Initial Metafont::. + ('.base') *Note Initial Metafont::. When making memory dumps, the programs read environment variables and configuration files for path searching and other values as usual. If @@ -798,29 +798,29 @@ The virgin form (*note Initial and virgin::) of each program always reads a memory dump before processing normal source input. All three programs determine the memory dump to use in the same way: - 1. If the first non-option command-line argument begins with ‘&’, the + 1. If the first non-option command-line argument begins with '&', the program uses the remainder of that argument as the memory dump - name. For example, running ‘tex \&super’ reads ‘super.fmt’. (The - backslash protects the ‘&’ against interpretation by the shell.) + name. For example, running 'tex \&super' reads 'super.fmt'. (The + backslash protects the '&' against interpretation by the shell.) - 2. If the ‘-fmt’ resp. ‘-base’ option is specified, its value is used. + 2. If the '-fmt' resp. '-base' option is specified, its value is used. - 3. If the ‘-progname’ option is specified, its value is used. + 3. If the '-progname' option is specified, its value is used. 4. If the first line of the main input file (which must be specified - on the command line, not in response to ‘**’) is ‘%&DUMP’, and DUMP + on the command line, not in response to '**') is '%&DUMP', and DUMP is an existing memory dump of the appropriate type, DUMP is used. The first line of the main input file can also specify which character translation file is to be used: - ‘%&-translate-file=TCXFILE’ (*note TCX files::). + '%&-translate-file=TCXFILE' (*note TCX files::). - These two roles can be combined: ‘%&DUMP -translate-file=TCXFILE’. + These two roles can be combined: '%&DUMP -translate-file=TCXFILE'. If this is done, the name of the dump must be given first. 5. Otherwise, the program uses the program invocation name, most - commonly ‘tex’ resp. ‘mf’. For example, if ‘latex’ is a link to - ‘tex’, and the user runs ‘latex foo’, ‘latex.fmt’ will be used. + commonly 'tex' resp. 'mf'. For example, if 'latex' is a link to + 'tex', and the user runs 'latex foo', 'latex.fmt' will be used. File: web2c.info, Node: Hardware and memory dumps, Prev: Determining the memory dump to use, Up: Memory dumps @@ -830,41 +830,41 @@ File: web2c.info, Node: Hardware and memory dumps, Prev: Determining the memor By default, memory dump files are sharable between architectures of different types; specifically, on machines of different endianness -(*note (libc)Byte order::) and with different word sizes (4-byte ‘long’ -vs. 8-byte ‘long’). This is a feature of the Web2c implementation, and +(*note (libc)Byte order::) and with different word sizes (4-byte 'long' +vs. 8-byte 'long'). This is a feature of the Web2c implementation, and is not true of all TeX implementations. - The script ‘tl-check-fmtshare’ in the TeX Live source tree -(‘Master/tlpkg/bin’) provides a relatively easy way to test that a -‘.fmt’ built on the local host can be loaded by a TeX engine built on + The script 'tl-check-fmtshare' in the TeX Live source tree +('Master/tlpkg/bin') provides a relatively easy way to test that a +'.fmt' built on the local host can be loaded by a TeX engine built on some remote host. - If you specify ‘--disable-dump-share’ to ‘configure’, however, memory + If you specify '--disable-dump-share' to 'configure', however, memory dumps will be endian-dependent. The reason to do this is speed. To achieve endian-independence, the reading of memory dumps on LittleEndian -architectures, such as PC’s and DEC architectures, is somewhat slowed +architectures, such as PC's and DEC architectures, is somewhat slowed (all the multibyte values have to be swapped). Usually, this is not noticeable, and the advantage of being able to share memory dumps across -all platforms at a site far outweighs the speed loss. But if you’re +all platforms at a site far outweighs the speed loss. But if you're trying to squeeze out every possible bit of performance, you may wish to do this. - TeXnically, even without ‘--disable-dump-share’, sharing of ‘.fmt’ + TeXnically, even without '--disable-dump-share', sharing of '.fmt' files cannot be guaranteed to work. Floating-point values are always written in native format, and hence will generally not be readable across platforms. Fortunately, TeX uses floating point only to represent glue ratios, and none of the common formats (plain, LaTeX, -AMSTeX, ...) do any glue setting at ‘.fmt’-creation time. Metafont does +AMSTeX, ...) do any glue setting at '.fmt'-creation time. Metafont does not use floating point in any dumped value at all. Incidentally, different memory dump files will never compare equal byte-for-byte, because the programs dump the current date and time. So -don’t be alarmed by a few bytes difference. +don't be alarmed by a few bytes difference. - If you don’t know what endianness your machine is, and you’re -curious, here is a little C program to tell you. (The ‘configure’ -script contains a similar program.) This is from the book ‘C: A -Reference Manual’, by Samuel P. Harbison and Guy L. Steele Jr. (*note + If you don't know what endianness your machine is, and you're +curious, here is a little C program to tell you. (The 'configure' +script contains a similar program.) This is from the book 'C: A +Reference Manual', by Samuel P. Harbison and Guy L. Steele Jr. (*note References::). main () @@ -886,8 +886,8 @@ References::). exit (u.c[sizeof (long) - 1] == 1); } - You can add ‘printf("long %d\n", sizeof(long));’ to see the size of -the ‘long’ data type. + You can add 'printf("long %d\n", sizeof(long));' to see the size of +the 'long' data type. File: web2c.info, Node: Editor invocation, Next: \input filenames, Prev: Memory dumps, Up: Three programs @@ -897,45 +897,45 @@ File: web2c.info, Node: Editor invocation, Next: \input filenames, Prev: Memo TeX, Metafont, and MetaPost all (by default) stop and ask for user intervention at an error. If the input came from a file, and the user -responds with ‘e’ or ‘E’, the program invokes an editor. +responds with 'e' or 'E', the program invokes an editor. - Specifying ‘--with-editor=CMD’ to ‘configure’ sets the default editor + Specifying '--with-editor=CMD' to 'configure' sets the default editor command string to CMD. The environment variables/configuration values -‘TEXEDIT’, ‘MFEDIT’, and ‘MPEDIT’ (respectively) override this. If -‘--with-editor’ is not specified, the default is ‘vi +%d %s’ on Unix, -and an invocation of the TeXworks editor on Windows. (See ‘texmf.cnf’ +'TEXEDIT', 'MFEDIT', and 'MPEDIT' (respectively) override this. If +'--with-editor' is not specified, the default is 'vi +%d %s' on Unix, +and an invocation of the TeXworks editor on Windows. (See 'texmf.cnf' for the precise values.) - In this string, ‘%d’ is replaced by the line number of the error, and -‘%s’ is replaced by the name of the current input file. + In this string, '%d' is replaced by the line number of the error, and +'%s' is replaced by the name of the current input file. File: web2c.info, Node: \input filenames, Prev: Editor invocation, Up: Three programs -4.5 ‘\input’ filenames +4.5 '\input' filenames ====================== TeX, Metafont, and MetaPost source programs can all read other source -files with the ‘\input’ (TeX) and ‘input’ (MF and MP) primitives: +files with the '\input' (TeX) and 'input' (MF and MP) primitives: \input NAME % in TeX The file NAME can always be terminated with whitespace; for Metafont -and MetaPost, the statement terminator ‘;’ also works. (LaTeX and other -macro packages provide other interfaces to ‘\input’ that allow different +and MetaPost, the statement terminator ';' also works. (LaTeX and other +macro packages provide other interfaces to '\input' that allow different notation; here we are concerned only with the primitive operation.) As (allowed) extensions to standard TeX, Web2c also supports -specifying the filename in double quotes (‘"some name"’) and in braces -(‘{some name}’), which is convenient for filenames containing spaces or +specifying the filename in double quotes ('"some name"') and in braces +('{some name}'), which is convenient for filenames containing spaces or other special characters, as described in the sections below. In all cases, space tokens are ignored after the filename is read. - Also, double quote (‘"’) characters are ignored within the filename; -there is no way to read files whose names contain a ‘"’. + Also, double quote ('"') characters are ignored within the filename; +there is no way to read files whose names contain a '"'. However, for maximal portability of your document across systems, use -only the characters ‘a’–‘z’, ‘0’–‘9’, and at most one ‘.’. Do not use +only the characters 'a'-'z', '0'-'9', and at most one '.'. Do not use anything but simple filenames, since directory separators vary among systems; instead, add the necessary directories to the appropriate search path. @@ -949,11 +949,11 @@ search path. File: web2c.info, Node: \input quoted filename, Next: \input braced filename, Up: \input filenames -4.5.1 ‘\input’ quoted filename: ‘\input "some name"’ +4.5.1 '\input' quoted filename: '\input "some name"' ---------------------------------------------------- As of Web2c version 7.5.3 (2004), double-quote characters can be used to -include spaces or other special characters. In typical use, the ‘"’ +include spaces or other special characters. In typical use, the '"' characters surround the entire filename: \input "filename with spaces" @@ -962,7 +962,7 @@ can enclose any characters, as in: \input filename" "with" "spaces One more point. In LaTeX, the quotes are needed inside the braces of -its ‘\input’ macro, thus: +its '\input' macro, thus: \input{a b} % fails \input{"a b"} % ok @@ -971,16 +971,16 @@ its ‘\input’ macro, thus: File: web2c.info, Node: \input braced filename, Next: \input filename caveats, Prev: \input quoted filename, Up: \input filenames -4.5.2 ‘\input’ braced filename: ‘\input{some name}’ +4.5.2 '\input' braced filename: '\input{some name}' --------------------------------------------------- -As of Web2c 2020, ‘\input’ filenames in TeX engines (this does not apply +As of Web2c 2020, '\input' filenames in TeX engines (this does not apply in Metafont and MetaPost) can also be specified within a TeX group, typically curly braces. For example: \input{filename with spaces} As always with TeX, the brace characters are not hardwired; what -counts is the category code: the first token after the ‘\input’ must be +counts is the category code: the first token after the '\input' must be of catcode 1 (begin group), and it is matched with the next character of catcode 2 (end group). @@ -988,18 +988,18 @@ catcode 2 (end group). characters. As with all forms of filenames, following spaces are ignored (after -the end group), and double quote (‘"’) characters are ignored within the +the end group), and double quote ('"') characters are ignored within the filename. File: web2c.info, Node: \input filename caveats, Prev: \input braced filename, Up: \input filenames -4.5.3 ‘\input’ filename caveats +4.5.3 '\input' filename caveats ------------------------------- The quoting mechanisms just described come into play _after_ TeX has tokenized and expanded the input. So, multiple spaces and tabs will -generally be seen as a single space, active characters such as ‘~’ are +generally be seen as a single space, active characters such as '~' are expanded first (generally causing an error), and so on. More examples below. @@ -1008,22 +1008,22 @@ null byte (character code zero, ASCII NUL) to terminate strings. So filenames in Web2c cannot contain nulls, even though TeX itself does not treat NUL specially. - Finally, the present Web2c implementation does ‘~’ and ‘$’ expansion -on NAME, unlike Knuth’s original implementation. Thus: + Finally, the present Web2c implementation does '~' and '$' expansion +on NAME, unlike Knuth's original implementation. Thus: \input ~jsmith/$foo.bar will dereference the environment variable or Kpathsea config file -value ‘foo’ and read that file, extended with ‘.bar’, in user ‘jsmith’’s +value 'foo' and read that file, extended with '.bar', in user 'jsmith''s home directory. You can also use braces in the variable expansion, as -in ‘${foo}bar’, if you want to follow the variable name with a letter, -numeral, or ‘_’. +in '${foo}bar', if you want to follow the variable name with a letter, +numeral, or '_'. (So another way to get a program to read a filename containing whitespace is to define an environment variable and dereference it.) In all the common TeX formats (plain TeX, LaTeX, ConTeXt, AMSTeX, -...), the characters ‘~’ and ‘$’ have special category codes, so to +...), the characters '~' and '$' have special category codes, so to actually use these in a document you have to change their catcodes or -use ‘\string’. +use '\string'. File: web2c.info, Node: TeX, Next: Metafont, Prev: Three programs, Up: Top @@ -1035,11 +1035,11 @@ TeX is a typesetting system: it was especially designed to handle complex mathematics, as well as most ordinary text typesetting. TeX is a batch language, like C or Pascal, and not an interactive -“word processor”: you compile a TeX input file into a corresponding +"word processor": you compile a TeX input file into a corresponding device-independent (DVI) file (and then translate the DVI file to the commands for a particular output device). This approach has both considerable disadvantages and considerable advantages. For a complete -description of the TeX language, see ‘The TeXbook’ (*note References::). +description of the TeX language, see 'The TeXbook' (*note References::). Many other books on TeX, introductory and otherwise, are available. * Menu: @@ -1055,14 +1055,14 @@ Many other books on TeX, introductory and otherwise, are available. File: web2c.info, Node: tex invocation, Next: Initial TeX, Up: TeX -5.1 ‘tex’ invocation +5.1 'tex' invocation ==================== -TeX (usually invoked as ‘tex’) formats the given text and commands, and +TeX (usually invoked as 'tex') formats the given text and commands, and outputs a corresponding device-independent representation of the typeset document. This section merely describes the options available in the Web2c implementation. For a complete description of the TeX typesetting -language, see ‘The TeXbook’ (*note References::). +language, see 'The TeXbook' (*note References::). TeX, Metafont, and MetaPost process the command line (described here) and determine their memory dump (fmt) file in the same way (*note Memory @@ -1073,20 +1073,20 @@ dumps::). Synopses: tex [OPTION]... &FMT ARGS TeX searches the usual places for the main input file TEXNAME (*note -(kpathsea)Supported file formats::), extending TEXNAME with ‘.tex’ if +(kpathsea)Supported file formats::), extending TEXNAME with '.tex' if necessary. To see all the relevant paths, set the environment variable -‘KPATHSEA_DEBUG’ to ‘-1’ before running the program. +'KPATHSEA_DEBUG' to '-1' before running the program. After TEXNAME is read, TeX processes any remaining TEX-COMMANDS on the command line as regular TeX input. Also, if the first non-option -argument begins with a TeX escape character (usually ‘\’), TeX processes +argument begins with a TeX escape character (usually '\'), TeX processes all non-option command-line arguments as a line of regular TeX input. If no arguments or options are specified, TeX prompts for an input -filename with ‘**’. +filename with '**'. - TeX writes the main DVI output to the file ‘BASETEXNAME.dvi’, where -BASETEXNAME is the basename of TEXNAME, or ‘texput’ if no input file was + TeX writes the main DVI output to the file 'BASETEXNAME.dvi', where +BASETEXNAME is the basename of TEXNAME, or 'texput' if no input file was specified. A DVI file is a device-independent binary representation of your TeX document. The idea is that after running TeX, you translate the DVI file using a separate program to the commands for a particular @@ -1094,125 +1094,125 @@ output device, such as a PostScript printer (*note Introduction: (dvips)Top.) or an X Window System display (see xdvi(1)). TeX also reads TFM files for any fonts you load in your document with -the ‘\font’ primitive. By default, it runs an external program named -‘mktextfm’ to create any nonexistent TFM files. You can disable this at +the '\font' primitive. By default, it runs an external program named +'mktextfm' to create any nonexistent TFM files. You can disable this at configure-time or runtime (*note (kpathsea)mktex configuration::). This is enabled mostly for the sake of the EC fonts, which can be generated at any size. - TeX can write output files, via the ‘\openout’ primitive; this opens + TeX can write output files, via the '\openout' primitive; this opens a security hole vulnerable to Trojan horse attack: an unwitting user -could run a TeX program that overwrites, say, ‘~/.rhosts’. (MetaPost -has a ‘write’ primitive with similar implications). To alleviate this -and similar problems the functions ‘kpathsea_out_name_ok’ and -‘kpathsea_in_name_ok’ from the Kpathsea library (*note (kpathsea)Calling +could run a TeX program that overwrites, say, '~/.rhosts'. (MetaPost +has a 'write' primitive with similar implications). To alleviate this +and similar problems the functions 'kpathsea_out_name_ok' and +'kpathsea_in_name_ok' from the Kpathsea library (*note (kpathsea)Calling sequence::) are used to determine if a given filename is acceptable to be opened for output or input, depending on the setting of the -configuration variables ‘openout_any’ and ‘openin_any’: ‘a’ (for “any”, -the default for ‘openin_any’), ‘r’ (for “restricted”), or ‘p’ (for -“paranoid”, the default for ‘openout_any’). +configuration variables 'openout_any' and 'openin_any': 'a' (for "any", +the default for 'openin_any'), 'r' (for "restricted"), or 'p' (for +"paranoid", the default for 'openout_any'). - In any case, all ‘\openout’ filenames are recorded in the log file, + In any case, all '\openout' filenames are recorded in the log file, except those opened on the first line of input, which is processed when the log file has not yet been opened. The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-enc’ -‘-[no]-file-line-error’ -‘-fmt=FMTNAME’ -‘-halt-on-error’ -‘-ini’ -‘-interaction=STRING’ -‘-ipc’ -‘-ipc-start’ -‘-jobname=STRING’ -‘-kpathsea-debug=NUMBER’ -‘-[no]parse-first-line’ -‘-output-directory’ -‘-progname=STRING’ -‘-recorder’ -‘-translate-file=TCXFILE’ -‘-8bit’ +'-help' and '-version' (*note Common options::): +'-enc' +'-[no]-file-line-error' +'-fmt=FMTNAME' +'-halt-on-error' +'-ini' +'-interaction=STRING' +'-ipc' +'-ipc-start' +'-jobname=STRING' +'-kpathsea-debug=NUMBER' +'-[no]parse-first-line' +'-output-directory' +'-progname=STRING' +'-recorder' +'-translate-file=TCXFILE' +'-8bit' These options are common to TeX, Metafont, and MetaPost. *Note Common options::. -‘-enc’ - Enable encTeX extensions, such as ‘\mubyte’. This can be used to +'-enc' + Enable encTeX extensions, such as '\mubyte'. This can be used to support the Unicode UTF-8 input encoding, although using an engine with native Unicode support is more common nowadays. <http://www.olsak.net/enctex.html>. -‘-ipc’ -‘-ipc-start’ +'-ipc' +'-ipc-start' With either option, TeX writes its DVI output to a socket as well - as to the usual ‘.dvi’ file. With ‘-ipc-start’, TeX also opens a + as to the usual '.dvi' file. With '-ipc-start', TeX also opens a server program at the other end to read the output. *Note IPC and TeX: IPC and TeX. - These options are available only if the ‘--enable-ipc’ option was - specified to ‘configure’ during installation of Web2c. + These options are available only if the '--enable-ipc' option was + specified to 'configure' during installation of Web2c. -‘-mktex=FILETYPE’ -‘-no-mktex=FILETYPE’ - Turn on or off the ‘mktex’ script associated with FILETYPE. For - TeX proper, FILETYPE can only be ‘tex’ and ‘tfm’, but for pdfTeX - and luaTeX, it can also be ‘pk’. +'-mktex=FILETYPE' +'-no-mktex=FILETYPE' + Turn on or off the 'mktex' script associated with FILETYPE. For + TeX proper, FILETYPE can only be 'tex' and 'tfm', but for pdfTeX + and luaTeX, it can also be 'pk'. -‘-mltex’ - If we are ‘INITEX’ (*note Initial and virgin::), enable MLTeX - extensions such as ‘\charsubdef’. Implicitly set if the program - name is ‘mltex’. *Note MLTeX: MLTeX. +'-mltex' + If we are 'INITEX' (*note Initial and virgin::), enable MLTeX + extensions such as '\charsubdef'. Implicitly set if the program + name is 'mltex'. *Note MLTeX: MLTeX. -‘-output-comment=STRING’ +'-output-comment=STRING' Use STRING as the DVI file comment. Ordinarily, this comment records the date and time of the TeX run, but if you are doing regression testing, you may not want the DVI file to have this spurious difference. This is also taken from the environment - variable and config file value ‘output_comment’. + variable and config file value 'output_comment'. -‘-shell-escape’ -‘-no-shell-escape’ -‘-shell-restricted’ +'-shell-escape' +'-no-shell-escape' +'-shell-restricted' Enable, or disable, or enable with restrictions the - ‘\write18{SHELL-COMMAND}’ feature for external executing shell + '\write18{SHELL-COMMAND}' feature for external executing shell commands. *Note Shell escapes::. -‘-enable-write18’ -‘-disable-write18’ - Synonyms for ‘-shell-escape’ and ‘-no-shell-escape’, for +'-enable-write18' +'-disable-write18' + Synonyms for '-shell-escape' and '-no-shell-escape', for compatibility with MiKTeX. (MiKTeX also accepts both pairs of options.) *Note Shell escapes::. -‘-src-specials’ -‘-src-specials=STRING’ +'-src-specials' +'-src-specials=STRING' This option makes TeX output specific source information using - ‘\special’ commands in the DVI file. These ‘\special’ track the + '\special' commands in the DVI file. These '\special' track the current filename and line number. - Using the first form of this option, the ‘\special’ commands are + Using the first form of this option, the '\special' commands are inserted automatically. In the second form of the option, STRING is a comma separated list - of the following values: ‘cr’, ‘display’, ‘hbox’, ‘math’, ‘par’, - ‘parend’, ‘vbox’. You can use this list to specify where you want - TeX to output such commands. For example, ‘-src-specials=cr,math’ + of the following values: 'cr', 'display', 'hbox', 'math', 'par', + 'parend', 'vbox'. You can use this list to specify where you want + TeX to output such commands. For example, '-src-specials=cr,math' will output source information every line and every math formula. These commands can be used with the appropriate DVI viewer and text editor to switch from the current position in the editor to the same position in the viewer and back from the viewer to the editor. - This option works by inserting ‘\special’ commands into the token + This option works by inserting '\special' commands into the token stream, and thus in principle these additional tokens can be recovered or seen by the tricky-enough macros. If you run across a case, let us know, because this counts as a bug. However, such bugs are very hard to fix, requiring significant changes to TeX, so - please don’t count on it. + please don't count on it. - Redefining ‘\special’ will not affect the functioning of this + Redefining '\special' will not affect the functioning of this option. The commands inserted into the token stream are hard-coded - to always use the ‘\special’ primitive. + to always use the '\special' primitive. TeX does not pass the trip test when this option is enabled. @@ -1222,27 +1222,27 @@ File: web2c.info, Node: Initial TeX, Next: Formats, Prev: tex invocation, Up 5.2 Initial TeX =============== -The “initial” form of TeX is invoked by ‘tex -ini’. It does lengthy -initializations avoided by the “virgin” (‘vir’) form, so as to be -capable of dumping ‘.fmt’ files (*note Memory dumps::). For a detailed +The "initial" form of TeX is invoked by 'tex -ini'. It does lengthy +initializations avoided by the "virgin" ('vir') form, so as to be +capable of dumping '.fmt' files (*note Memory dumps::). For a detailed comparison of virgin and initial forms, *note Initial and virgin::. For a list of options and other information, *note tex invocation::. Unlike Metafont and MetaPost, many format files are commonly used with TeX. The standard one implementing the features described in the -‘TeXbook’ is ‘plain.fmt’, also known as ‘tex.fmt’ (again, *note Memory +'TeXbook' is 'plain.fmt', also known as 'tex.fmt' (again, *note Memory dumps::). It is created by default during installation, but you can -also do so by hand if necessary (e.g., if an update to ‘plain.tex’ is +also do so by hand if necessary (e.g., if an update to 'plain.tex' is issued): tex -ini '\input plain \dump' (The quotes prevent interpretation of the backslashes from the shell.) -Then install the resulting ‘plain.fmt’ in ‘$(fmtdir)’ -(‘/usr/local/share/texmf/web2c’ by default), and link ‘tex.fmt’ to it. +Then install the resulting 'plain.fmt' in '$(fmtdir)' +('/usr/local/share/texmf/web2c' by default), and link 'tex.fmt' to it. The necessary invocation for generating a format file differs for each format, so instructions that come with the format should explain. -The top-level ‘web2c’ Makefile has targets for making most common +The top-level 'web2c' Makefile has targets for making most common formats: plain latex amstex texinfo eplain. *Note Formats::, for more details on TeX formats. @@ -1252,25 +1252,25 @@ File: web2c.info, Node: Formats, Next: Languages and hyphenation, Prev: Initi 5.3 Formats =========== -TeX “formats” are large collections of macros, often dumped into a -‘.fmt’ file (*note Memory dumps::) by ‘tex -ini’ (*note Initial TeX::). +TeX "formats" are large collections of macros, often dumped into a +'.fmt' file (*note Memory dumps::) by 'tex -ini' (*note Initial TeX::). A number of formats are in reasonably widespread use, and the Web2c Makefile has targets to make the versions current at the time of release. You can change which formats are automatically built by -setting the ‘fmts’ Make variable; by default, only the ‘plain’ and -‘latex’ formats are made. +setting the 'fmts' Make variable; by default, only the 'plain' and +'latex' formats are made. Nowadays, the formats are generally installed and updated as part of a larger TeX distribution, such as TeX Live (<https://tug.org/texlive>). latex The most widely used format. The current release is named - ‘LaTeX2e’; new versions are released approximately every six + 'LaTeX2e'; new versions are released approximately every six months, with patches issued as needed. The old release was called - ‘LaTeX 2.09’, and is no longer maintained or supported. LaTeX + 'LaTeX 2.09', and is no longer maintained or supported. LaTeX attempts to provide generic markup instructions, such as - “emphasize”, instead of specific typesetting instructions, such as - “use the 10pt Computer Modern italic font”. The LaTeX home page: + "emphasize", instead of specific typesetting instructions, such as + "use the 10pt Computer Modern italic font". The LaTeX home page: <https://www.latex-project.org>. context @@ -1285,18 +1285,18 @@ amstex Society. Like LaTeX, it encourages generic markup commands. The AMS also provides many LaTeX packages for authors who prefer LaTeX. Taken together, they are used to produce nearly all AMS - publications, e.g., ‘Mathematical Reviews’. The AMSTeX home page: + publications, e.g., 'Mathematical Reviews'. The AMSTeX home page: <https://www.ams.org/tex>. texinfo The documentation system developed and maintained by the Free Software Foundation for their software manuals. It can be automatically converted into plain text, a machine-readable on-line - format called ‘info’, HTML, etc. The Texinfo home page: + format called 'info', HTML, etc. The Texinfo home page: <https://www.gnu.org/software/texinfo>. eplain - The “expanded plain” format provides various common features (e.g., + The "expanded plain" format provides various common features (e.g., symbolic cross-referencing, tables of contents, indexing, citations using BibTeX), for those authors who prefer to handle their own high-level formatting. The Eplain home page: @@ -1304,7 +1304,7 @@ eplain slitex An obsolete LaTeX 2.09 format for making slides. It is replaced by - the ‘slides’ document class, although the ‘beamer’ package is the + the 'slides' document class, although the 'beamer' package is the most commonly method for making slides nowadays. The Beamer page on CTAN: <https://ctan.org/pkg/beamer>. @@ -1329,7 +1329,7 @@ File: web2c.info, Node: MLTeX, Next: TCX files, Up: Languages and hyphenation 5.4.1 MLTeX: Multi-lingual TeX ------------------------------ -Multi-lingual TeX (‘mltex’) is an extension of TeX originally written by +Multi-lingual TeX ('mltex') is an extension of TeX originally written by Michael Ferguson and now updated and maintained by Bernd Raichle. With the advent of Unicode, it has become obsolete, though it is still supported in Web2c in the event of bugs or compilation bugs. @@ -1337,19 +1337,19 @@ supported in Web2c in the event of bugs or compilation bugs. MLTeX allows the use of non-existing glyphs in a font by declaring glyph substitutions. These are restricted to substitutions of an accented character glyph, which need not be defined in the current font, -by its appropriate ‘\accent’ construction using a base and accent +by its appropriate '\accent' construction using a base and accent character glyph, which do have to exist in the current font. This substitution is automatically done behind the scenes, if necessary, and thus MLTeX additionally supports hyphenation of words containing an accented character glyph for fonts missing this glyph (e.g., Computer Modern). Standard TeX suppresses hyphenation in this case. - MLTeX works at ‘.fmt’-creation time: the basic idea is to specify the -‘-mltex’ option to TeX when you ‘\dump’ a format. Then, when you -subsequently invoke TeX and read that ‘.fmt’ file, the MLTeX features + MLTeX works at '.fmt'-creation time: the basic idea is to specify the +'-mltex' option to TeX when you '\dump' a format. Then, when you +subsequently invoke TeX and read that '.fmt' file, the MLTeX features described below will be enabled. - Generally, you use special macro files to create an MLTeX ‘.fmt’ + Generally, you use special macro files to create an MLTeX '.fmt' file. The sections below describe the two new primitives that MLTeX @@ -1364,65 +1364,65 @@ TeX. File: web2c.info, Node: \charsubdef, Next: \tracingcharsubdef, Up: MLTeX -5.4.1.1 ‘\charsubdef’: Character substitutions +5.4.1.1 '\charsubdef': Character substitutions .............................................. -The most important primitive MLTeX adds is ‘\charsubdef’, used in a way -reminiscent of ‘\chardef’: +The most important primitive MLTeX adds is '\charsubdef', used in a way +reminiscent of '\chardef': \charsubdef COMPOSITE [=] ACCENT BASE Each of COMPOSITE, ACCENT, and BASE are font glyph numbers, expressed in the usual TeX syntax: `\e symbolically, '145 for octal, "65 for hex, 101 for decimal. - MLTeX’s ‘\charsubdef’ declares how to construct an accented character + MLTeX's '\charsubdef' declares how to construct an accented character glyph (not necessarily existing in the current font) using two character glyphs (that do exist). Thus it defines whether a character glyph code, -either typed as a single character or using the ‘\char’ primitive, will -be mapped to a font glyph or to an ‘\accent’ glyph construction. +either typed as a single character or using the '\char' primitive, will +be mapped to a font glyph or to an '\accent' glyph construction. For example, if you assume glyph code 138 (decimal) for an e-circumflex and you are using the Computer Modern fonts, which have the -circumflex accent in position 18 and lowercase ‘e’ in the usual ASCII -position 101 decimal, you would use ‘\charsubdef’ as follows: +circumflex accent in position 18 and lowercase 'e' in the usual ASCII +position 101 decimal, you would use '\charsubdef' as follows: \charsubdef 138 = 18 101 For the plain TeX format to make use of this substitution, you have -to redefine the circumflex accent macro ‘\^’ in such a way that if its -argument is character ‘e’ the expansion ‘\char138 ’ is used instead of -‘\accent18 e’. Similar ‘\charsubdef’ declaration and macro +to redefine the circumflex accent macro '\^' in such a way that if its +argument is character 'e' the expansion '\char138 ' is used instead of +'\accent18 e'. Similar '\charsubdef' declaration and macro redefinitions have to be done for all other accented characters. - To disable a previous ‘\charsubdef C’, redefine C as a pair of zeros. + To disable a previous '\charsubdef C', redefine C as a pair of zeros. For example: \charsubdef '321 = 0 0 % disable N tilde (Octal '321 is the ISO Latin-1 value for the Spanish N tilde.) - ‘\charsubdef’ commands should only be given once. Although in -principle you can use ‘\charsubdef’ at any time, the result is -unspecified. If ‘\charsubdef’ declarations are changed, usually either + '\charsubdef' commands should only be given once. Although in +principle you can use '\charsubdef' at any time, the result is +unspecified. If '\charsubdef' declarations are changed, usually either incorrect character dimensions will be used or MLTeX will output missing -character warnings. (The substitution of a ‘\charsubdef’ is used by TeX +character warnings. (The substitution of a '\charsubdef' is used by TeX when appending the character node to the current horizontal list, to compute the width of a horizontal box when the box gets packed, and when -building the ‘\accent’ construction at ‘\shipout’-time. In summary, the +building the '\accent' construction at '\shipout'-time. In summary, the substitution is accessed often, so changing it is not desirable, nor generally useful.) File: web2c.info, Node: \tracingcharsubdef, Prev: \charsubdef, Up: MLTeX -5.4.1.2 ‘\tracingcharsubdef’: Substitution diagnostics +5.4.1.2 '\tracingcharsubdef': Substitution diagnostics ...................................................... -To help diagnose problems with ‘\charsubdef’, MLTeX provides a new -primitive parameter, ‘\tracingcharsubdef’. If positive, every use of -‘\charsubdef’ will be reported. This can help track down when a +To help diagnose problems with '\charsubdef', MLTeX provides a new +primitive parameter, '\tracingcharsubdef'. If positive, every use of +'\charsubdef' will be reported. This can help track down when a character is redefined. - In addition, if the TeX parameter ‘\tracinglostchars’ is 100 or more, -the character substitutions actually performed at ‘\shipout’-time will + In addition, if the TeX parameter '\tracinglostchars' is 100 or more, +the character substitutions actually performed at '\shipout'-time will be recorded. @@ -1437,8 +1437,8 @@ being used. Specifically, they map an input (keyboard) character code to the internal TeX character code (a superset of ASCII). Of the various proposals for handling more than one input encoding, -TCX files were chosen because they follow Knuth’s original ideas for the -use of the ‘xchr’ and ‘xord’ tables. He ventured that these would be +TCX files were chosen because they follow Knuth's original ideas for the +use of the 'xchr' and 'xord' tables. He ventured that these would be changed in the WEB source in order to adjust the actual version to a given environment. It turns out, however, that recompiling the WEB sources is not as simple a task as Knuth may have imagined; therefore, @@ -1454,56 +1454,56 @@ typeset output. But we feel the benefits outweigh these disadvantages. This is entirely independent of the MLTeX extension (*note MLTeX::): whereas a TCX file defines how an input keyboard character is mapped to -TeX’s internal code, MLTeX defines substitutions for a non-existing -character glyph in a font with a ‘\accent’ construction made out of two +TeX's internal code, MLTeX defines substitutions for a non-existing +character glyph in a font with a '\accent' construction made out of two separate character glyphs. TCX files involve no new primitives; it is not possible to specify that an input (keyboard) character maps to more than one character. Information on specifying TCX files: - • The best way to specify a TCX file is to list it explicitly in the + * The best way to specify a TCX file is to list it explicitly in the first line of the main document: %& -translate-file=TCXFILE - • You can also specify a TCX file to be used on a particular TeX run - with the command-line option ‘-translate-file=TCXFILE’. + * You can also specify a TCX file to be used on a particular TeX run + with the command-line option '-translate-file=TCXFILE'. - • TCX files are searched for along the ‘WEB2C’ path. + * TCX files are searched for along the 'WEB2C' path. - • Initial TeX (*note Initial TeX: Initial TeX.) ignores TCX files. + * Initial TeX (*note Initial TeX: Initial TeX.) ignores TCX files. The Web2c distribution comes with a number of TCX files. Two -important ones are ‘il1-t1.tcx’ and ‘il2-t1.tcx’, which support ISO +important ones are 'il1-t1.tcx' and 'il2-t1.tcx', which support ISO Latin 1 and ISO Latin 2, respectively, with Cork-encoded fonts (a.k.a. the LaTeX T1 encoding). TCX files for Czech, Polish, and Slovak are also provided. - One other notable TCX file is ‘empty.tcx’, which is, well, empty. -Its purpose is to reset Web2C’s behavior to the default (only visible + One other notable TCX file is 'empty.tcx', which is, well, empty. +Its purpose is to reset Web2C's behavior to the default (only visible ASCII being printable, as described below) when a format was dumped with -another TCX being active—which is in fact the case for everything but +another TCX being active--which is in fact the case for everything but plain TeX in the TeX Live and other distributions. Thus: latex somefile8.tex - ⇒ terminal etc. output with 8-bit chars + => terminal etc. output with 8-bit chars latex --translate-file=empty.tcx somefile8.tex - ⇒ terminal etc. output with ^^ notation + => terminal etc. output with ^^ notation Syntax of TCX files: 1. Line-oriented. Blank lines are ignored. 2. Whitespace is ignored except as a separator. - 3. Comments start with ‘%’ and continue to the end of the line. + 3. Comments start with '%' and continue to the end of the line. 4. Otherwise, a line consists of one or two character codes, optionally followed by 0 or 1. The last number indicates whether DEST is considered printable. SRC [DEST [PRNT]] - 5. Each character code may be specified in octal with a leading ‘0’, - hexadecimal with a leading ‘0x’, or decimal otherwise. Values must + 5. Each character code may be specified in octal with a leading '0', + hexadecimal with a leading '0x', or decimal otherwise. Values must be between 0 and 255, inclusive (decimal). 6. If the DEST code is not specified, it is taken to be the same as @@ -1512,35 +1512,35 @@ plain TeX in the TeX Live and other distributions. Thus: 7. If the same SRC code is specified more than once, it is the last definition that counts. - Finally, here’s what happens: when TeX sees an input character with + Finally, here's what happens: when TeX sees an input character with code SRC, it 1) changes SRC to DEST; and 2) makes the DEST code -“printable”, i.e., printed as-is in diagnostics and the log file rather -than in ‘^^’ notation. +"printable", i.e., printed as-is in diagnostics and the log file rather +than in '^^' notation. By default, no characters are translated, and character codes between 32 and 126 inclusive (decimal) are printable. Specifying translations for the printable ASCII characters (codes -32–127) will yield unpredictable results. Additionally you shouldn’t -make the following characters printable: ‘^^I’ (TAB), ‘^^J’ (line feed), -‘^^M’ (carriage return), and ‘^^?’ (delete), since TeX uses them in +32-127) will yield unpredictable results. Additionally you shouldn't +make the following characters printable: '^^I' (TAB), '^^J' (line feed), +'^^M' (carriage return), and '^^?' (delete), since TeX uses them in various ways. Thus, the idea is to specify the input (keyboard) character code for SRC, and the output (font) character code for DEST. By default, only the printable ASCII characters are considered -printable by TeX. If you specify the ‘-8bit’ option, all characters are -considered printable by default. If you specify both the ‘-8bit’ option +printable by TeX. If you specify the '-8bit' option, all characters are +considered printable by default. If you specify both the '-8bit' option and a TCX file, then the TCX can set specific characters to be non-printable. Both the specified TCX encoding and whether characters are printable -are saved in the dump files (like ‘tex.fmt’). So by giving these -options in combination with ‘-ini’, you control the defaults seen by +are saved in the dump files (like 'tex.fmt'). So by giving these +options in combination with '-ini', you control the defaults seen by anyone who uses the resulting dump file. - When loading a dump, if the ‘-8bit’ option was given, then all + When loading a dump, if the '-8bit' option was given, then all characters become printable by default. When loading a dump, if a TCX file was specified, then the TCX data @@ -1562,10 +1562,10 @@ is written to the file OUTPUT. In addition, Patgen prompts interactively for other values. - For more information, see ‘Word hy-phen-a-tion by com-put-er’ by -Frank Liang (*note References::), and also the ‘patgen.web’ source file. + For more information, see 'Word hy-phen-a-tion by com-put-er' by +Frank Liang (*note References::), and also the 'patgen.web' source file. - The only options are ‘-help’ and ‘-version’ (*note Common options::). + The only options are '-help' and '-version' (*note Common options::). File: web2c.info, Node: Shell escapes, Next: IPC and TeX, Prev: Languages and hyphenation, Up: TeX @@ -1573,45 +1573,45 @@ File: web2c.info, Node: Shell escapes, Next: IPC and TeX, Prev: Languages and 5.5 Shell escapes ================= -TeX can execute “shell escapes”, that is, arbitrary shell commands. +TeX can execute "shell escapes", that is, arbitrary shell commands. Although tremendously useful, this also has obvious security -implications. Therefore, as of TeX Live 2009, a “restricted” mode for +implications. Therefore, as of TeX Live 2009, a "restricted" mode for shell escapes is the default mode of operation, which allows executing -only certain commands, as specified in the ‘texmf.cnf’ configuration +only certain commands, as specified in the 'texmf.cnf' configuration file. - • Unrestricted shell escapes are allowed if the option - ‘--shell-escape’ is specified, or if the environment variable or - config file value ‘shell_escape’ is set to ‘t’ or ‘y’ and ‘1’. + * Unrestricted shell escapes are allowed if the option + '--shell-escape' is specified, or if the environment variable or + config file value 'shell_escape' is set to 't' or 'y' and '1'. - • Restricted shell escapes are allowed if ‘shell_escape’ is set to - ‘p’. This is the default. + * Restricted shell escapes are allowed if 'shell_escape' is set to + 'p'. This is the default. - • Shell escapes are completely disabled if ‘--no-shell-escape’ is - specified, or if ‘shell_escape’ is set to anything else. + * Shell escapes are completely disabled if '--no-shell-escape' is + specified, or if 'shell_escape' is set to anything else. When enabled, the TeX construct to execute a system command is -‘\write18{SHELL-COMMAND}’; for example: +'\write18{SHELL-COMMAND}'; for example: \write18{echo "hello, world"} - From TeX’s point of view, this is a normal ‘\write’ command, and is + From TeX's point of view, this is a normal '\write' command, and is therefore subject to the usual TeX expansions. Also, the system call -either happens during the ‘\output’ routine or right away, according to -the absence or presence of the ‘\immediate’ prefix, as usual for -‘\write’. +either happens during the '\output' routine or right away, according to +the absence or presence of the '\immediate' prefix, as usual for +'\write'. The SHELL-COMMAND string is passed to the command shell (via the C -library function ‘system’). The output of SHELL-COMMAND is not diverted +library function 'system'). The output of SHELL-COMMAND is not diverted anywhere, so it will not appear in the log file, or anywhere but the terminal output. The exit status of the system call is also not available to TeX. In unrestricted mode, the argument is simply passed straight to -‘system’ unaltered. +'system' unaltered. In restricted mode, ASCII double quote characters (") should always -be used in the argument to ‘\write18’ where quoting of arguments is +be used in the argument to '\write18' where quoting of arguments is needed, as in the example above. This is to achieve some measure of system independence. On Unix systems, these are replaced with single quote (') characters to avoid insecure further expansion (from, e.g., @@ -1621,20 +1621,20 @@ message in the log file, and no execution is performed. After quotation processing, if the first word (delimited by a space or tab) of the command is in the list specified by the -‘shell_escape_commands’ configuration value, the command is executed. +'shell_escape_commands' configuration value, the command is executed. Otherwise it is not. In any case, a message is written to the log file. - The ‘shell_escape_commands’ value is a comma-separated list of words. + The 'shell_escape_commands' value is a comma-separated list of words. Whitespace is significant, and typically should not be present. The -default definition in ‘texmf.cnf’ looks like this, with more commands +default definition in 'texmf.cnf' looks like this, with more commands included: shell_escape_commands = bibtex,kpsewhich,repstopdf,... - pdfTeX and luaTeX support reading (via ‘\input’ and ‘\openin’) and -writing (via ‘\openout’) from pipes if the first character is ‘|’. The + pdfTeX and luaTeX support reading (via '\input' and '\openin') and +writing (via '\openout') from pipes if the first character is '|'. The following command is then treated exactly the same as the argument to -‘\write18’. In these engines, the primitive variable ‘\pdfshellescape’ +'\write18'. In these engines, the primitive variable '\pdfshellescape' is set to 0 if shell escapes are disabled, 1 if they are enabled, and 2 if they are enabled with restrictions. @@ -1645,7 +1645,7 @@ environments such as CGI scripts or wikis where the input has to be considered untrustworthy, shell escapes should be completely disabled. Programs intended to be called from TeX in restricted should -implement the “paranoid” safety measures regarding output files that TeX +implement the "paranoid" safety measures regarding output files that TeX itself does. *Note (kpathsea)Calling sequence::. @@ -1657,12 +1657,12 @@ File: web2c.info, Node: IPC and TeX, Next: TeX extensions, Prev: Shell escape (If anyone uses this feature and needs documentation, write <tex-k@tug.org>.) - This functionality is available only if the ‘--enable-ipc’ option was -specified to ‘configure’ during installation of Web2c (*note + This functionality is available only if the '--enable-ipc' option was +specified to 'configure' during installation of Web2c (*note Installation::). - If you define ‘IPC_DEBUG’ before compilation (e.g., with ‘make -XCFLAGS=-DIPC_DEBUG’), TeX will print messages to standard error about + If you define 'IPC_DEBUG' before compilation (e.g., with 'make +XCFLAGS=-DIPC_DEBUG'), TeX will print messages to standard error about its socket operations. This may be helpful if you are, well, debugging. @@ -1676,13 +1676,13 @@ The base TeX program has been extended in many ways. There has been a substantial effort to make a set of extended functionality available across all actively-updated engines, so that formats, notably LaTeX, can rely on it. A list of this common extended -functionality is in a ‘LaTeX News’ article, +functionality is in a 'LaTeX News' article, <https://www.latex-project.org/news/latex2e-news/ltnews31.pdf>. For engines in TeX Live, the detailed documentation for these primitives is mostly in the pdfTeX manual (<http://pdftex.org>). In addition, each engine (naturally) has its own particular features, -described in its own manual. Here’s a partial list of the engines. +described in its own manual. Here's a partial list of the engines. e-TeX Adds many new primitives, including right-to-left typesetting and @@ -1700,7 +1700,7 @@ pdfTeX Can produce PDF as well as DVI files. It also incorporates the e-TeX extensions, new primitives for hypertext and micro-typography, reading/writing from pipes, and much more. In - TeX Live, the command ‘etex’ invokes pdfTeX to make all these + TeX Live, the command 'etex' invokes pdfTeX to make all these additions available with DVI output. Home page: <http://pdftex.org>. @@ -1751,7 +1751,7 @@ drawing lines or curves. This approach has both considerable disadvantages (people unfamiliar with conventional programming languages will be unlikely to find it usable) and considerable advantages (you can make your design intentions specific and parameterizable). For a -complete description of the Metafont language, see ‘The METAFONTbook’ +complete description of the Metafont language, see 'The METAFONTbook' (*note References::). * Menu: @@ -1766,14 +1766,14 @@ complete description of the Metafont language, see ‘The METAFONTbook’ File: web2c.info, Node: mf invocation, Next: Initial Metafont, Up: Metafont -6.1 ‘mf’ invocation +6.1 'mf' invocation =================== -Metafont (usually invoked as ‘mf’) reads character definitions specified +Metafont (usually invoked as 'mf') reads character definitions specified in the Metafont programming language, and outputs the corresponding font. This section merely describes the options available in the Web2c implementation. For a complete description of the Metafont language, -see ‘The Metafontbook’ (*note References::). +see 'The Metafontbook' (*note References::). Metafont processes its command line and determines its memory dump (base) file in a way exactly analogous to MetaPost and TeX (*note tex @@ -1788,18 +1788,18 @@ invocation::, and *note Memory dumps::). Synopses: (The single quotes avoid unwanted interpretation by the shell.) Metafont searches the usual places for the main input file MFNAME -(*note (kpathsea)Supported file formats::), extending MFNAME with ‘.mf’ +(*note (kpathsea)Supported file formats::), extending MFNAME with '.mf' if necessary. To see all the relevant paths, set the environment -variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the program. By -default, Metafont runs an external program named ‘mktexmf’ to create any +variable 'KPATHSEA_DEBUG' to '-1' before running the program. By +default, Metafont runs an external program named 'mktexmf' to create any nonexistent Metafont source files you input. You can disable this at configure-time or runtime (*note (kpathsea)mktex configuration::). This is mostly for the sake of the EC fonts, which can be generated at any size. - Metafont writes the main GF output to the file ‘BASEMFNAME.NNNgf’, + Metafont writes the main GF output to the file 'BASEMFNAME.NNNgf', where NNN is the font resolution in pixels per inch, and BASEMFNAME is -the basename of MFNAME, or ‘mfput’ if no input file was specified. A GF +the basename of MFNAME, or 'mfput' if no input file was specified. A GF file contains bitmaps of the actual character shapes. Usually GF files are converted immediately to PK files with GFtoPK (*note gftopk invocation::), since PK files contain equivalent information, but are @@ -1807,23 +1807,23 @@ more compact. (Metafont output in GF format rather than PK for only historical reasons.) Metafont also usually writes a metric file in TFM format to -‘BASEMFNAME.tfm’. A TFM file contains character dimensions, kerns, and +'BASEMFNAME.tfm'. A TFM file contains character dimensions, kerns, and ligatures, and spacing parameters. TeX reads only this .tfm file, not the GF file. The MODE in the example command above is a name referring to a device -definition (*note Modes::); for example, ‘localfont’ or ‘ljfour’. These +definition (*note Modes::); for example, 'localfont' or 'ljfour'. These device definitions must generally be precompiled into the base file. If -you leave this out, the default is ‘proof’ mode, as stated in ‘The -Metafontbook’, in which Metafont outputs at a resolution of 2602dpi; +you leave this out, the default is 'proof' mode, as stated in 'The +Metafontbook', in which Metafont outputs at a resolution of 2602dpi; this is usually not what you want. The remedy is simply to assign a -different mode—‘localfont’, for example. +different mode--'localfont', for example. The MAGNIFICATION assignment in the example command above is a magnification factor; for example, if the device is 600dpi and you -specify ‘mag:=2’, Metafont will produce output at 1200dpi. Very often, -the MAGNIFICATION is an expression such as ‘magstep(.5)’, corresponding -to a TeX “magstep”, which are factors of 1.2 * sqrt(2). +specify 'mag:=2', Metafont will produce output at 1200dpi. Very often, +the MAGNIFICATION is an expression such as 'magstep(.5)', corresponding +to a TeX "magstep", which are factors of 1.2 * sqrt(2). After running Metafont, you can use the font in a TeX document as usual. For example: @@ -1831,27 +1831,27 @@ usual. For example: \myfont Now I am typesetting in my new font (minimum hamburgers). The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-[no]-file-line-error’ -‘-fmt=FMTNAME’ -‘-halt-on-error’ -‘-ini’ -‘-interaction=STRING’ -‘-jobname=STRING’ -‘-kpathsea-debug=NUMBER’ -‘-[no]parse-first-line’ -‘-output-directory’ -‘-progname=STRING’ -‘-recorder’ -‘-translate-file=TCXFILE’ -‘-8bit’ +'-help' and '-version' (*note Common options::): +'-[no]-file-line-error' +'-fmt=FMTNAME' +'-halt-on-error' +'-ini' +'-interaction=STRING' +'-jobname=STRING' +'-kpathsea-debug=NUMBER' +'-[no]parse-first-line' +'-output-directory' +'-progname=STRING' +'-recorder' +'-translate-file=TCXFILE' +'-8bit' These options are common to TeX, Metafont, and MetaPost. *Note Common options::. -‘-mktex=FILETYPE’ -‘-no-mktex=FILETYPE’ - Turn on or off the ‘mktex’ script associated with FILETYPE. The - only value that makes sense for FILETYPE is ‘mf’. +'-mktex=FILETYPE' +'-no-mktex=FILETYPE' + Turn on or off the 'mktex' script associated with FILETYPE. The + only value that makes sense for FILETYPE is 'mf'. File: web2c.info, Node: Initial Metafont, Next: Modes, Prev: mf invocation, Up: Metafont @@ -1859,32 +1859,32 @@ File: web2c.info, Node: Initial Metafont, Next: Modes, Prev: mf invocation, 6.2 Initial Metafont ==================== -‘inimf’ is the “initial” form of Metafont, which does lengthy -initializations avoided by the “virgin” (‘vir’) form, so as to be -capable of dumping ‘.base’ files (*note Memory dumps::). For a detailed +'inimf' is the "initial" form of Metafont, which does lengthy +initializations avoided by the "virgin" ('vir') form, so as to be +capable of dumping '.base' files (*note Memory dumps::). For a detailed comparison of virgin and initial forms, see *note Initial and virgin::. For a list of options and other information, see *note mf invocation::. The only memory dump file commonly used with Metafont is the default -‘plain.base’, also known as ‘mf.base’ (again, *note Memory dumps::). It +'plain.base', also known as 'mf.base' (again, *note Memory dumps::). It is created by default during installation, but you can also do so by hand if necessary (e.g., if a Metafont update is issued): mf -ini '\input plain; input modes; dump' (The quotes prevent interpretation of the backslashes from the shell.) -Then install the resulting ‘plain.base’ in ‘$(basedir)’ -(‘/usr/local/share/texmf/web2c’ by default), and link ‘mf.base’ to it. +Then install the resulting 'plain.base' in '$(basedir)' +('/usr/local/share/texmf/web2c' by default), and link 'mf.base' to it. - For an explanation of the additional ‘modes.mf’ file, see *note + For an explanation of the additional 'modes.mf' file, see *note Modes::. This file has no counterpart in TeX or MetaPost. In the past, it was sometimes useful to create a base file -‘cmmf.base’ (a.k.a. ‘cm.base’), with the Computer Modern macros also +'cmmf.base' (a.k.a. 'cm.base'), with the Computer Modern macros also included in the base file. Nowadays, however, the additional time -required to read ‘cmbase.mf’ is exceedingly small, usually not enough to -be worth the administrative hassle of updating the ‘cmmf.base’ file when -you install a new version of ‘modes.mf’. People actually working on a +required to read 'cmbase.mf' is exceedingly small, usually not enough to +be worth the administrative hassle of updating the 'cmmf.base' file when +you install a new version of 'modes.mf'. People actually working on a typeface may still find it worthwhile to create their own base file, of course. @@ -1895,38 +1895,38 @@ File: web2c.info, Node: Modes, Next: Online Metafont graphics, Prev: Initial ========================================== Running Metafont and creating Metafont base files requires information -that TeX and MetaPost do not: “mode” definitions which specify device +that TeX and MetaPost do not: "mode" definitions which specify device characteristics, so Metafont can properly rasterize the shapes. When making a base file, a file containing modes for -locally-available devices should be input after ‘plain.mf’. One +locally-available devices should be input after 'plain.mf'. One commonly used file is <ftp://ftp.tug.org/tex/modes.mf>; it includes all known definitions. If, however, for some reason you have decreased the memory available -in your Metafont, you may need to copy ‘modes.mf’ and remove the +in your Metafont, you may need to copy 'modes.mf' and remove the definitions irrelevant to you (probably most of them) instead of using -it directly. (Or, if you’re a Metafont hacker, maybe you can suggest a -way to redefine ‘mode_def’ and/or ‘mode_setup’; right now, the amount of +it directly. (Or, if you're a Metafont hacker, maybe you can suggest a +way to redefine 'mode_def' and/or 'mode_setup'; right now, the amount of memory used is approximately four times the total length of the -‘mode_def’ names, and that’s a lot.) +'mode_def' names, and that's a lot.) - If you have a device not included in ‘modes.mf’, please see comments + If you have a device not included in 'modes.mf', please see comments in that file for how to create the new definition, and please send the definition to <tex-fonts@math.utah.edu> to get it included in the next -release of ‘modes.mf’. +release of 'modes.mf'. Usually, when you run Metafont you must supply the name of a mode that was dumped in the base file. But you can also define the mode characteristics dynamically, by invoking Metafont with an assignment to -‘smode’ instead of ‘mode’, like this: +'smode' instead of 'mode', like this: mf '\smode:="newmode.mf"; mag:=MAGNIFICATION; input MFNAME' This is most useful when you are working on the definition of a new mode. The MAGNIFICATION and MFNAME arguments are explained in *note mf -invocation::. In the file ‘newmode.mf’, you should have the following -(with no ‘mode_def’ or ‘enddef’), if you are using ‘modes.mf’ +invocation::. In the file 'newmode.mf', you should have the following +(with no 'mode_def' or 'enddef'), if you are using 'modes.mf' conventions: mode_param (pixels_per_inch, DPI); mode_param (blacker, B); @@ -1935,8 +1935,8 @@ conventions: mode_common_setup_; (Of course, you should use real numbers for DPI, B, F, and O.) - For more information on the use of ‘smode’, or if you are not using -‘modes.mf’, see page 269 of ‘The Metafontbook’. + For more information on the use of 'smode', or if you are not using +'modes.mf', see page 269 of 'The Metafontbook'. File: web2c.info, Node: Online Metafont graphics, Next: gftodvi invocation, Prev: Modes, Up: Metafont @@ -1949,79 +1949,79 @@ number of devices. (See the Metafont manual for more information about how to draw on your screen.) By default, no graphics support is enabled. - Metafont examines the ‘MFTERM’ environment variable or config file -value at runtime, or the ‘TERM’ environment variable if ‘MFTERM’ is not + Metafont examines the 'MFTERM' environment variable or config file +value at runtime, or the 'TERM' environment variable if 'MFTERM' is not set, to determine the device support to use. Naturally, only the devices for which support has been compiled in can be selected. - Here is a table of the possibilities, showing the ‘MFTERM’ value and -the corresponding ‘configure’ option(s) in parentheses. + Here is a table of the possibilities, showing the 'MFTERM' value and +the corresponding 'configure' option(s) in parentheses. -‘epsf’ - (‘--enable-epsfwin’) Pseudo-window server for Encapsulated - PostScript (see ‘web2c/window/epsf.c’). This device produces an +'epsf' + ('--enable-epsfwin') Pseudo-window server for Encapsulated + PostScript (see 'web2c/window/epsf.c'). This device produces an EPS file containing the graphics which would be displayed online on other devices. The name of the EPS file defaults to metafont.eps but can be changed by setting the MFEPSF environment variable to the new filename. Contributed by Mathias Herberts. -‘hp2627’ - (‘--enable-hp2627win’) HP2627a color graphics terminals. +'hp2627' + ('--enable-hp2627win') HP2627a color graphics terminals. -‘mftalk’ - (‘--enable-mftalkwin’) Generic window server (see - ‘web2c/window/mftalk.c’). +'mftalk' + ('--enable-mftalkwin') Generic window server (see + 'web2c/window/mftalk.c'). -‘next’ - (‘--enable-next’) NeXT window system. This requires a separate - program, called ‘DrawingServant’, available separately. See the - ‘web2c/window/next.c’. +'next' + ('--enable-next') NeXT window system. This requires a separate + program, called 'DrawingServant', available separately. See the + 'web2c/window/next.c'. -‘regis’ - (‘--enable-regiswin’) Regis terminals. +'regis' + ('--enable-regiswin') Regis terminals. -‘sun’ - (‘--enable-suntoolswin’) The old Suntools (not any flavor of X) - window system. (You can get the even older SunWindows ‘gfx’ system - by using ‘sun-gfx.c’.) +'sun' + ('--enable-suntoolswin') The old Suntools (not any flavor of X) + window system. (You can get the even older SunWindows 'gfx' system + by using 'sun-gfx.c'.) -‘tek’ - (‘--enable-tektronixwin’) Tektronix terminals. +'tek' + ('--enable-tektronixwin') Tektronix terminals. -‘uniterm’ - (‘--enable-unitermwin’) Uniterm, Simon Poole’s emulator of a smart +'uniterm' + ('--enable-unitermwin') Uniterm, Simon Poole's emulator of a smart Tektronix 4014 terminal. This may work with regular Tektronix - terminals as well; it’s faster than the driver - ‘--enable-tektronixwin’ selects. + terminals as well; it's faster than the driver + '--enable-tektronixwin' selects. -‘xterm’ - ‘--with-x’ The X window system (version 11). +'xterm' + '--with-x' The X window system (version 11). There are two variants of the X11 support, one that works with the Xt toolkit, and another that works directly with Xlib. The Xt support is more efficient and has more functionality, so it is the - default. If you must use the Xlib support, use ‘configure --with-x - --with-kf-x-toolkit=no’. + default. If you must use the Xlib support, use 'configure --with-x + --with-kf-x-toolkit=no'. - Specify ‘--disable-mf-nowin’ in order not to build a separate - non-windows-capable Metafont executable ‘mf-nowin’ (or - ‘mf-nowin.exe’). + Specify '--disable-mf-nowin' in order not to build a separate + non-windows-capable Metafont executable 'mf-nowin' (or + 'mf-nowin.exe'). - You cannot specify any of the usual X options (e.g., ‘-geometry’) + You cannot specify any of the usual X options (e.g., '-geometry') on the Metafont command line, but you can specify X resources in - your ‘~/.Xdefaults’ or ‘~/.Xresources’ file. The class name is - ‘Metafont’. If you’re using the Xt support, all the usual X - toolkit resources are supported. If you’re using the Xlib support, - only the ‘geometry’ resource is supported. + your '~/.Xdefaults' or '~/.Xresources' file. The class name is + 'Metafont'. If you're using the Xt support, all the usual X + toolkit resources are supported. If you're using the Xlib support, + only the 'geometry' resource is supported. You specify the X display to which Metafont connects in the - ‘DISPLAY’ environment variable, as usual. + 'DISPLAY' environment variable, as usual. Writing support for a new device is straightforward. Aside from -defining the basic drawing routines that Metafont uses (see ‘mf.web’), +defining the basic drawing routines that Metafont uses (see 'mf.web'), you only have to add another entry to the tables on the last page of -‘web2c/lib/texmfmp.c’. Or you can write an independent program and use -MFtalk (see ‘web2c/window/mftalk.c’). +'web2c/lib/texmfmp.c'. Or you can write an independent program and use +MFtalk (see 'web2c/window/mftalk.c'). File: web2c.info, Node: gftodvi invocation, Next: mft invocation, Prev: Online Metafont graphics, Up: Metafont @@ -2029,7 +2029,7 @@ File: web2c.info, Node: gftodvi invocation, Next: mft invocation, Prev: Onlin 6.5 GFtoDVI: Character proofs of fonts ====================================== -GFtoDVI makes “proof sheets” from a GF bitmap file as output by, for +GFtoDVI makes "proof sheets" from a GF bitmap file as output by, for example, Metafont (*note Metafont::). This is an indispensable aid for font designers or Metafont hackers. Synopsis: @@ -2037,51 +2037,51 @@ font designers or Metafont hackers. Synopsis: The font GFNAME is searched for in the usual places (*note (kpathsea)Glyph lookup::). To see all the relevant paths, set the -environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the +environment variable 'KPATHSEA_DEBUG' to '-1' before running the program. - The suffix ‘gf’ is supplied if not already present. This suffix is -not an extension, no ‘.’ precedes it; for instance, ‘cmr10.600gf’. + The suffix 'gf' is supplied if not already present. This suffix is +not an extension, no '.' precedes it; for instance, 'cmr10.600gf'. - The output filename is the basename of GFNAME extended with ‘.dvi’, -e.g., ‘gftodvi /wherever/foo.600gf’ creates ‘./foo.dvi’. + The output filename is the basename of GFNAME extended with '.dvi', +e.g., 'gftodvi /wherever/foo.600gf' creates './foo.dvi'. The characters from GFNAME appear one per page in the DVI output, with labels, titles, and annotations, as specified in Appendix H -(Hardcopy Proofs) of ‘The Metafontbook’. +(Hardcopy Proofs) of 'The Metafontbook'. GFtoDVI uses several fonts besides GFNAME itself: - • “gray font” (default ‘gray’): for the pixels that actually make up + * "gray font" (default 'gray'): for the pixels that actually make up the character. Simply using black is not right, since then labels, key points, and other information could not be shown. - • “title font” (default ‘cmr8’): for the header information at the + * "title font" (default 'cmr8'): for the header information at the top of each output page. - • “label font” (default ‘cmtt10’): for the labels on key points of + * "label font" (default 'cmtt10'): for the labels on key points of the figure. - • “slant font” (no default): for diagonal lines, which are otherwise + * "slant font" (no default): for diagonal lines, which are otherwise simulated using horizontal and vertical rules. - To change the default fonts, you must use ‘special’ commands in your -Metafont source file, typically via commands like ‘slantfont slantlj4’. + To change the default fonts, you must use 'special' commands in your +Metafont source file, typically via commands like 'slantfont slantlj4'. There is no default slant font since no one printer is suitable as a default. You can make your own by copying one of the existing files, -such as ‘.../fonts/source/public/misc/slantlj4.mf’ and then running ‘mf’ +such as '.../fonts/source/public/misc/slantlj4.mf' and then running 'mf' on it. - For testing purposes, you may it useful to run ‘mf-nowin rtest’ (hit -RETURN when it stops) to get a ‘gf’ file of a thorn glyph. Or use ‘mf’ -instead of ‘mf-nowin’ to have the glyph(s) displayed on the screen. -After that, ‘gftodvi rtest.2602gf’ should produce ‘rtest.dvi’, which you + For testing purposes, you may it useful to run 'mf-nowin rtest' (hit +RETURN when it stops) to get a 'gf' file of a thorn glyph. Or use 'mf' +instead of 'mf-nowin' to have the glyph(s) displayed on the screen. +After that, 'gftodvi rtest.2602gf' should produce 'rtest.dvi', which you process as usual. The program accepts the following option, as well as the standard -‘-verbose’, ‘-help’, and ‘-version’ (*note Common options::): +'-verbose', '-help', and '-version' (*note Common options::): -‘-overflow-label-offset=POINTS’ +'-overflow-label-offset=POINTS' Typeset the so-called overflow labels, if any, POINTS TeX points from the right edge of the character bounding box. The default is a little over two inches (ten million scaled points, to be @@ -2096,15 +2096,15 @@ File: web2c.info, Node: mft invocation, Prev: gftodvi invocation, Up: Metafon MFT translates a Metafont program into a TeX document suitable for typesetting, with the aid of TeX macros defined in the file -‘mftmac.tex’. Synopsis: +'mftmac.tex'. Synopsis: mft [OPTION]... MFNAME[.mf] MFT searches the usual places for MFNAME (*note (kpathsea)Supported file formats::). To see all the relevant paths, set the environment -variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the program. The -output goes to the basename of MFNAME extended with ‘.tex’, e.g., ‘mft -/wherever/foo.mf’ creates ‘./foo.tex’. +variable 'KPATHSEA_DEBUG' to '-1' before running the program. The +output goes to the basename of MFNAME extended with '.tex', e.g., 'mft +/wherever/foo.mf' creates './foo.tex'. Line breaks in the input are carried over into the output; moreover, blank spaces at the beginning of a line are converted to quads of @@ -2113,57 +2113,57 @@ indentation and line breaks. Each line of input is translated independently of the others. Further control is allowed via Metafont comments: - • Metafont comments following a single ‘%’ should be valid TeX input. + * Metafont comments following a single '%' should be valid TeX input. But Metafont material can be included within vertical bars in a comment; this will be translated by MFT as if it were regular - Metafont code. For example, a comment like ‘% |x2r| is the tip of - the bowl’ will be translated into the TeX ‘% $x_{2r}$ is the ...’, - i.e., the ‘x2r’ is treated as an identifier. + Metafont code. For example, a comment like '% |x2r| is the tip of + the bowl' will be translated into the TeX '% $x_{2r}$ is the ...', + i.e., the 'x2r' is treated as an identifier. - • ‘%%’ indicates that the remainder of an input line should be copied + * '%%' indicates that the remainder of an input line should be copied verbatim to the output. This is typically used to introduce additional TeX material at the beginning or an MFT job, e.g. code to modify the standard layout or the formatting macros defined in - ‘mftmac.tex’, or to add a line saying ‘%%\bye’ at the end of the - job. (MFT doesn’t add this automatically in order to allow + 'mftmac.tex', or to add a line saying '%%\bye' at the end of the + job. (MFT doesn't add this automatically in order to allow processing several files produces by MFT in the same TeX job.) - • ‘%%% TOKEN1 OTHER-TOKENS’ introduces a change in MFT’s formatting + * '%%% TOKEN1 OTHER-TOKENS' introduces a change in MFT's formatting rules; all the OTHER-TOKENS will henceforth be translated according to the current conventions for TOKEN1. The tokens must be symbolic (i.e., not numeric or string tokens). For example, the input line %%% addto fill draw filldraw - says to format the ‘fill’, ‘draw’, and ‘filldraw’ operations of - plain Metafont just like the primitive token ‘addto’, i.e., in + says to format the 'fill', 'draw', and 'filldraw' operations of + plain Metafont just like the primitive token 'addto', i.e., in boldface type. Without such reformatting commands, MFT would treat - ‘fill’ like an ordinary tag or variable name. In fact, you need a - ‘%%%’ command even to get parentheses to act like delimiters. + 'fill' like an ordinary tag or variable name. In fact, you need a + '%%%' command even to get parentheses to act like delimiters. - • ‘%%%%’ introduces an MFT comment, i.e., MFT ignores the remainder + * '%%%%' introduces an MFT comment, i.e., MFT ignores the remainder of such a line. - • Five or more ‘%’ signs should not be used. + * Five or more '%' signs should not be used. - (The above description was edited from ‘mft.web’, written by + (The above description was edited from 'mft.web', written by D.E. Knuth.) The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-change=CHFILE[.ch]’ +'-help' and '-version' (*note Common options::): +'-change=CHFILE[.ch]' Apply the change file CHFILE as with Tangle and Weave (*note WEB::). -‘-style=MFTFILE[.mft]’ +'-style=MFTFILE[.mft]' Read MFTFILE before anything else; a MFT style file typically contains only MFT directives as described above. The default style - file is named ‘plain.mft’, which defines this properly for programs + file is named 'plain.mft', which defines this properly for programs using plain Metafont. The MFT files is searched along the - ‘MFTINPUTS’ path; see *note (kpathsea)Supported file formats::. + 'MFTINPUTS' path; see *note (kpathsea)Supported file formats::. - Other examples of MFT style files are ‘cmbase.mft’, which defines - formatting rules for the macros defined in ‘cm.base’, and ‘e.mft’, - which was used in the production of Knuth’s Volume E, ‘Computer - Modern Typefaces’. + Other examples of MFT style files are 'cmbase.mft', which defines + formatting rules for the macros defined in 'cm.base', and 'e.mft', + which was used in the production of Knuth's Volume E, 'Computer + Modern Typefaces'. Using an appropriate MFT style file, it is also possible to configure MFT for typesetting MetaPost sources. However, MFT does @@ -2180,8 +2180,8 @@ File: web2c.info, Node: MetaPost, Next: BibTeX, Prev: Metafont, Up: Top ********************************* MetaPost is a picture-drawing language similar to Metafont (*note -Metafont::), but instead of outputting bitmaps in a “font”, it outputs -PostScript commands. It’s primarily intended for creating technical +Metafont::), but instead of outputting bitmaps in a "font", it outputs +PostScript commands. It's primarily intended for creating technical illustrations, but can also be used to create PostScript or OpenType fonts (<https://ctan.org/pkg/metatype1>). @@ -2198,23 +2198,23 @@ supported) and a number of other subsidiary programs, described below. File: web2c.info, Node: mpost invocation, Next: Initial MetaPost, Up: MetaPost -7.1 ‘mpost’ invocation +7.1 'mpost' invocation ====================== -MetaPost (installed as ‘mpost’) reads a series of pictures specified in +MetaPost (installed as 'mpost') reads a series of pictures specified in the MetaPost programming language, and outputs corresponding PostScript code. This section merely describes the options available in the Web2c implementation. For a complete description of the MetaPost language, see AT&T technical report CSTR-162, generally available in -‘TEXMF/doc/metapost/’, where TEXMF is the root of TeX directory +'TEXMF/doc/metapost/', where TEXMF is the root of TeX directory structure. The MetaPost home page: <https://tug.org/metapost>. Also, a standard MetaPost package for drawing graphs is documented in -AT&T technical report CSTR-164, available as the file ‘mpgraph.ps’, -generally stored alongside ‘mpman.ps’. +AT&T technical report CSTR-164, available as the file 'mpgraph.ps', +generally stored alongside 'mpman.ps'. MetaPost processes its command line and determines its memory dump -(mem) file in a way analogous to Metafont and TeX (*note ‘tex’ +(mem) file in a way analogous to Metafont and TeX (*note 'tex' invocation: tex invocation, and *note Memory dumps::). Synopses: mpost [OPTION]... [MPNAME[.mp]] [MP-COMMANDS] @@ -2222,22 +2222,22 @@ invocation: tex invocation, and *note Memory dumps::). Synopses: mpost [OPTION]... &MEM ARGS MetaPost searches the usual places for the main input file MPNAME -(*note (kpathsea)Supported file formats::), extending MPNAME with ‘.mp’ +(*note (kpathsea)Supported file formats::), extending MPNAME with '.mp' if necessary. To see all the relevant paths, set the environment -variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the program. +variable 'KPATHSEA_DEBUG' to '-1' before running the program. MetaPost writes its PostScript output to a series of files -‘BASEMPNAME.NNN’ (or perhaps ‘BASEMPNAME.ps’, very occasionally -‘BASEMPNAME.tfm’), where NNN are the figure numbers specified in the -input, typically to the ‘beginfig’ macro, and BASEMPNAME is the basename -of MPNAME, or ‘mpout’ if no input file was specified. MetaPost uses the -‘.ps’ extension when the figure number is out of range, e.g., if you say -‘beginfig(-1)’. +'BASEMPNAME.NNN' (or perhaps 'BASEMPNAME.ps', very occasionally +'BASEMPNAME.tfm'), where NNN are the figure numbers specified in the +input, typically to the 'beginfig' macro, and BASEMPNAME is the basename +of MPNAME, or 'mpout' if no input file was specified. MetaPost uses the +'.ps' extension when the figure number is out of range, e.g., if you say +'beginfig(-1)'. You can use the output files as figures in a TeX document just as with any other PostScript figures. For example, with this TeX command: \special{psfile="FILENAME"} -or by using ‘epsf.tex’ (*note (dvips)EPSF macros::). +or by using 'epsf.tex' (*note (dvips)EPSF macros::). The MetaPost construct btex ... TEX-INPUT ... etex @@ -2246,18 +2246,18 @@ generates a MetaPost picture expression corresponding to TEX-INPUT. The construct verbatimtex ... TEX-INPUT ... etex simply passes the TEX-INPUT through to TeX. For example, if you are -using LaTeX, your MetaPost input file must start with a ‘verbatimtex’ -block that gives the necessary ‘\documentclass’ (or ‘\documentstyle’) -‘\begin{document}’ command. You will also need to set the environment -variable ‘TEX’ to ‘latex’. +using LaTeX, your MetaPost input file must start with a 'verbatimtex' +block that gives the necessary '\documentclass' (or '\documentstyle') +'\begin{document}' command. You will also need to set the environment +variable 'TEX' to 'latex'. TEX-INPUT need not be specifically TeX input; it could also be Troff. -In that case, you will need the ‘-m pictures’ Troff macro package +In that case, you will need the '-m pictures' Troff macro package (unfortunately absent from many Troff implementations), or an equivalent -such as the ‘-m pspic’ macros from GNU groff described in grops(1). +such as the '-m pspic' macros from GNU groff described in grops(1). Naturally, you must use fonts that are supported by the typesetter; -specifically, you’ll probably want to use standard PostScript fonts with +specifically, you'll probably want to use standard PostScript fonts with Troff. And only the TeX system understands Computer Modern or other Metafont fonts; you can also use PostScript fonts with TeX, of course. @@ -2266,49 +2266,49 @@ fonts for labels cannot be directly previewed or printed. Instead, you must include them in a TeX document and run the resulting DVI file through Dvips to arrange for the downloading of the required fonts (*note (dvips)Fonts in figures::). To help with this, the MetaPost -distribution provides a small TeX file ‘mproof.tex’ which is typically +distribution provides a small TeX file 'mproof.tex' which is typically called as: tex mproof MP-OUTPUT-FILES... ; dvips mproof -o -The resulting file ‘mproof.ps’ can then be printed or previewed. +The resulting file 'mproof.ps' can then be printed or previewed. To generate EPSF files, set the internal MetaPost variable -‘prologues’ positive. To make the output files self-contained, use only -standard PostScript fonts. MetaPost reads the same ‘psfonts.map’ file +'prologues' positive. To make the output files self-contained, use only +standard PostScript fonts. MetaPost reads the same 'psfonts.map' file as Dvips, to determine PostScript fonts that need to be downloaded (*note (dvips)psfonts.map::). It is possible for pdfTeX to read MetaPost output directly; this is in contrast to general EPSF files, which have to be converted for use with PDF output. The easiest way is to name the MetaPost output files -with the ‘.mps’ extension. Then the LaTeX ‘\includegraphics’ command, +with the '.mps' extension. Then the LaTeX '\includegraphics' command, for example, will be able to read them, even when outputting PDF. - MetaPost can write output files, via the ‘write’ primitive; this + MetaPost can write output files, via the 'write' primitive; this opens a security hole. *Note tex invocation::. The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-[no]-file-line-error’ -‘-fmt=FMTNAME’ -‘-halt-on-error’ -‘-ini’ -‘-interaction=STRING’ -‘-jobname=STRING’ -‘-kpathsea-debug=NUMBER’ -‘-[no]parse-first-line’ -‘-output-directory’ -‘-progname=STRING’ -‘-recorder’ -‘-translate-file=TCXFILE’ -‘-8bit’ +'-help' and '-version' (*note Common options::): +'-[no]-file-line-error' +'-fmt=FMTNAME' +'-halt-on-error' +'-ini' +'-interaction=STRING' +'-jobname=STRING' +'-kpathsea-debug=NUMBER' +'-[no]parse-first-line' +'-output-directory' +'-progname=STRING' +'-recorder' +'-translate-file=TCXFILE' +'-8bit' These options are common to TeX, Metafont, and MetaPost. *Note Common options::. -‘-T’ -‘-troff’ - Set the ‘prologues’ internal variable to ‘1’. +'-T' +'-troff' + Set the 'prologues' internal variable to '1'. -‘-tex=TEXPROGRAM’ +'-tex=TEXPROGRAM' When this option is given, the program TEXPROGRAM is used to typeset the labels. @@ -2318,18 +2318,18 @@ File: web2c.info, Node: Initial MetaPost, Next: dvitomp invocation, Prev: mpo 7.2 Initial MetaPost ==================== -As of MetaPost 1.504 (TeX Live 2011), MetaPost no longer dumps ‘.mem’ +As of MetaPost 1.504 (TeX Live 2011), MetaPost no longer dumps '.mem' files (*note Memory dumps::) and does not distinguish virgin and initial -forms (*note Initial and virgin::). Instead, the “initial” file name is -read in its source form—that is, ‘mpost.mp’ when the program is invoked -as ‘mpost’. +forms (*note Initial and virgin::). Instead, the "initial" file name is +read in its source form--that is, 'mpost.mp' when the program is invoked +as 'mpost'. For a list of options and other information, see *note mpost invocation::. MetaPost provides a format with all the features of plain Metafont, -called ‘mfplain’. You can use that in the same way; just run ‘mfplain’ -instead of ‘mpost’. This lets you directly process Metafont source +called 'mfplain'. You can use that in the same way; just run 'mfplain' +instead of 'mpost'. This lets you directly process Metafont source files with MetaPost, producing character proofs (one file for each character) similar to those produced with Metafont in proof mode and GFtoDVI (*note gftodvi invocation::). @@ -2346,13 +2346,13 @@ so-called MPX file. Synopsis: dvitomp DVIFILE[.dvi] [MPXFILE[.mpx]] If MPXFILE is not specified, the output goes to the basename of DVIFILE -extended with ‘.mpx’, e.g., ‘dvitomp /wherever/foo.dvi’ creates -‘./foo.mpx’. +extended with '.mpx', e.g., 'dvitomp /wherever/foo.dvi' creates +'./foo.mpx'. - DVItoMP supports Dvips-style color specials, such as ‘color push -NAME’ and ‘color pop’, outputting them as ‘withcolor’ MetaPost commands. + DVItoMP supports Dvips-style color specials, such as 'color push +NAME' and 'color pop', outputting them as 'withcolor' MetaPost commands. - The only options are ‘-help’ and ‘-version’ (*note Common options::). + The only options are '-help' and '-version' (*note Common options::). File: web2c.info, Node: BibTeX, Next: WEB, Prev: MetaPost, Up: Top @@ -2374,33 +2374,33 @@ File: web2c.info, Node: bibtex invocation, Next: Basic BibTeX style files, Up 8.1 BibTeX invocation ===================== -BibTeX creates a printable bibliography (‘.bbl’) file from references in -a ‘.aux’ file, generally written by TeX or LaTeX. The ‘.bbl’ file is +BibTeX creates a printable bibliography ('.bbl') file from references in +a '.aux' file, generally written by TeX or LaTeX. The '.bbl' file is then incorporated on a subsequent run. The basic bibliographic -information comes from ‘.bib’ files, and a BibTeX style (‘.bst’) file -controls the precise contents of the ‘.bbl’ file. Synopsis: +information comes from '.bib' files, and a BibTeX style ('.bst') file +controls the precise contents of the '.bbl' file. Synopsis: bibtex [OPTION]... AUXFILE[.aux] -The output goes to the basename of AUXFILE extended with ‘.bbl’; for -example, ‘bibtex /wherever/foo.aux’ creates ‘./foo.bbl’. BibTeX also -writes a log file to the basename of AUXFILE extended with ‘.blg’. +The output goes to the basename of AUXFILE extended with '.bbl'; for +example, 'bibtex /wherever/foo.aux' creates './foo.bbl'. BibTeX also +writes a log file to the basename of AUXFILE extended with '.blg'. - The names of the ‘.bib’ and ‘.bst’ files are specified in the ‘.aux’ -file as well, via the ‘\bibliography’ and ‘\bibliographystyle’ (La)TeX -macros. BibTeX searches for ‘.bib’ files using the ‘BIBINPUTS’ and -‘TEXBIB’ paths, and for ‘.bst’ files using ‘BSTINPUTS’ (*note + The names of the '.bib' and '.bst' files are specified in the '.aux' +file as well, via the '\bibliography' and '\bibliographystyle' (La)TeX +macros. BibTeX searches for '.bib' files using the 'BIBINPUTS' and +'TEXBIB' paths, and for '.bst' files using 'BSTINPUTS' (*note (kpathsea)Supported file formats::). It does no path searching for -‘.aux’ files. +'.aux' files. The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-terse’ +'-help' and '-version' (*note Common options::): +'-terse' Suppress the program banner and progress reports normally output. -‘-min-crossrefs=N’ +'-min-crossrefs=N' If at least N (2 by default) bibliography entries refer to another - entry E via their ‘crossref’ field, include E in the .bbl file, + entry E via their 'crossref' field, include E in the .bbl file, even if it was not explicitly referenced in the .aux file. For example, E might be a conference proceedings as a whole, with the cross-referencing entries being individual articles published in @@ -2413,20 +2413,20 @@ macros. BibTeX searches for ‘.bib’ files using the ‘BIBINPUTS’ and .aux, and nothing will remove it. See also: -‘btxdoc.tex’ +'btxdoc.tex' Basic LaTeXable documentation for general BibTeX users. -‘btxhak.tex’ +'btxhak.tex' LaTeXable documentation for style designers. -‘btxdoc.bib’ +'btxdoc.bib' BibTeX database file for the two above documents. -‘xampl.bib’ +'xampl.bib' Example database file with all the standard entry types. -‘<ftp://ftp.math.utah.edu/pub/tex/bib/>’ - A very large ‘.bib’ and ‘.bst’ collection, including references for +'<ftp://ftp.math.utah.edu/pub/tex/bib/>' + A very large '.bib' and '.bst' collection, including references for all the standard TeX books and a complete bibliography for TUGboat. @@ -2436,41 +2436,41 @@ File: web2c.info, Node: Basic BibTeX style files, Prev: bibtex invocation, Up ============================ Here are descriptions of the four standard and four semi-standard basic -BibTeX styles. ‘CTAN:/biblio/bibtex’ contains these and many more (for +BibTeX styles. 'CTAN:/biblio/bibtex' contains these and many more (for CTAN info, *note (kpathsea)unixtex.ftp::). -‘plain’ +'plain' Sorts entries alphabetically, with numeric labels. Generally - formatted according to van Leunen’s ‘A Handbook for Scholars’. The - other style files listed here are based on ‘plain’. + formatted according to van Leunen's 'A Handbook for Scholars'. The + other style files listed here are based on 'plain'. -‘abbrv’ +'abbrv' First names, month names, and journal names are abbreviated. -‘acm’ +'acm' Names are printed in small caps. -‘alpha’ - Alphanumeric labels, e.g., ‘Knu66’. +'alpha' + Alphanumeric labels, e.g., 'Knu66'. -‘apalike’ +'apalike' No labels at all; instead, the year appears in parentheses after - the author. Use this in conjunction with ‘apalike.tex’ (plain TeX) - or ‘apalike.sty’ (LaTeX), which also changes the citations in the - text to be ‘(AUTHOR, YEAR)’. + the author. Use this in conjunction with 'apalike.tex' (plain TeX) + or 'apalike.sty' (LaTeX), which also changes the citations in the + text to be '(AUTHOR, YEAR)'. -‘ieeetr’ +'ieeetr' Numeric labels, entries in citation order, IEEE abbreviations, article titles in quotes. -‘siam’ - Numeric labels, alphabetic order, ‘Math. Reviews’ abbreviations, +'siam' + Numeric labels, alphabetic order, 'Math. Reviews' abbreviations, names in small caps. -‘unsrt’ +'unsrt' Lists entries in citation order, i.e., unsorted. -‘btxbst.doc’ +'btxbst.doc' The template file and documentation for the standard styles. @@ -2479,21 +2479,21 @@ File: web2c.info, Node: WEB, Next: DVI utilities, Prev: BibTeX, Up: Top 9 WEB: Literate programming *************************** -“WEB” languages allow you to write a single source file that can produce +"WEB" languages allow you to write a single source file that can produce both a compilable program and a well-formatted document describing the program in as much detail as you wish to prepare. Writing in this kind -of dual-purpose language is called “literate programming”. (The Usenet -newsgroup ‘comp.programming.literate’ is devoted to this subject.) +of dual-purpose language is called "literate programming". (The Usenet +newsgroup 'comp.programming.literate' is devoted to this subject.) WEB-like languages have been implemented with many pairs of base languages: Cweb provides C and Troff (*note References::); CWEB provides -C and TeX (‘CTAN:/web/c_cpp/cweb’); Spiderweb provides C, C++, Awk, Ada, -many others, and TeX (‘CTAN:/web/spiderweb’); and, of course, the +C and TeX ('CTAN:/web/c_cpp/cweb'); Spiderweb provides C, C++, Awk, Ada, +many others, and TeX ('CTAN:/web/spiderweb'); and, of course, the original WEB provides Pascal and TeX, the implementation languages for the original TeX, Metafont, MetaPost, and related programs to come from the TeX project at Stanford. - The original WEB language is documented in the file ‘webman.tex’, + The original WEB language is documented in the file 'webman.tex', which is included in the <ftp://ftp.tug.org/tex/lib.tar.gz> archive (and available in many other places, of course). @@ -2515,44 +2515,44 @@ WEB::). Synopsis: tangle [OPTION]... WEBFILE[.web] [CHANGEFILE[.ch]] The Pascal output is written to the basename of WEBFILE extended with -‘.p’; for example, ‘tangle /wherever/foo.web’ creates ‘./foo.p’. Tangle +'.p'; for example, 'tangle /wherever/foo.web' creates './foo.p'. Tangle applies CHANGEFILE to WEBFILE before writing the output; by default, there is no change file. If the program makes use of the WEB string facility, Tangle writes -the string pool to the basename of WEBFILE extended with ‘.pool’. +the string pool to the basename of WEBFILE extended with '.pool'. The Pascal output is packed into lines of 72 characters or less, with the only concession to readability being the termination of lines at semicolons when this can be done conveniently. The program accepts the following options, as well as the standard -‘--help’ and ‘--version’ (*note Common options::): +'--help' and '--version' (*note Common options::): -‘-length=NUMBER’ +'-length=NUMBER' The number of characters that are considered significant in an identifier. Whether underline characters are counted depends on - the ‘-underline’ option. The default value is 32, the original + the '-underline' option. The default value is 32, the original tangle used 7, but this proved too restrictive for use by Web2c. -‘-lowercase’ -‘-mixedcase’ -‘-uppercase’ +'-lowercase' +'-mixedcase' +'-uppercase' These options specify the case of identifiers in the output of - tangle. If ‘-uppercase’ (‘-lowercase’) is specified, tangle will + tangle. If '-uppercase' ('-lowercase') is specified, tangle will convert all identifiers to uppercase (lowercase). The default is - ‘-mixedcase’, which specifies that the case will not be changed. + '-mixedcase', which specifies that the case will not be changed. -‘-underline’ +'-underline' When this option is given, tangle does not strip underline characters from identifiers. -‘-loose’ -‘-strict’ +'-loose' +'-strict' These options specify how strict tangle must be when checking - identifiers for equality. The default is ‘-loose’, which means + identifiers for equality. The default is '-loose', which means that tangle will follow the rules set by the case-smashing and - underline options above. If ‘-strict’ is set, then identifiers + underline options above. If '-strict' is set, then identifiers will always be stripped of underlines and converted to uppercase before checking whether they collide. @@ -2563,29 +2563,29 @@ File: web2c.info, Node: weave invocation, Next: pooltype invocation, Prev: ta =============================== Weave creates a TeX document from a WEB source file (*note WEB::), -assuming various macros defined in ‘webmac.tex’. It takes care of +assuming various macros defined in 'webmac.tex'. It takes care of typographic details such as page layout, indentation, and italicizing identifiers. It also automatically gathers and outputs extensive cross-reference information. Synopsis: weave [OPTION]... WEBFILE[.web] [CHANGEFILE[.ch]] -The output is to the basename of WEBFILE extended with ‘.tex’; for -example, ‘weave /wherever/foo.web’ creates ‘./foo.tex’. Weave applies +The output is to the basename of WEBFILE extended with '.tex'; for +example, 'weave /wherever/foo.web' creates './foo.tex'. Weave applies CHANGEFILE to WEBFILE before writing the output; by default, there is no change file. The program accepts the following option, as well as the standard -‘-verbose’, ‘-help’ and ‘-version’ (*note Common options::): -‘-x’ +'-verbose', '-help' and '-version' (*note Common options::): +'-x' Omit the cross-reference information: the index, the list of WEB - module names, and the table of contents (an empty ‘CONTENTS.tex’ + module names, and the table of contents (an empty 'CONTENTS.tex' file will still be written when the Weave output file is processed - by TeX using the default ‘webmac.tex’, though). + by TeX using the default 'webmac.tex', though). - Conventionally, WEB programmers should define the TeX ‘\title’ macro + Conventionally, WEB programmers should define the TeX '\title' macro at the beginning of the source file. Also, to get output of only -changed modules, one can say ‘\let\maybe=\iffalse’ (usually as the first +changed modules, one can say '\let\maybe=\iffalse' (usually as the first change in the change file). @@ -2594,7 +2594,7 @@ File: web2c.info, Node: pooltype invocation, Prev: weave invocation, Up: WEB 9.3 Pooltype: Display WEB pool files ==================================== -Pooltype shows the so-called “string number” of each string in a WEB +Pooltype shows the so-called "string number" of each string in a WEB pool file (*note WEB::), as output by Tangle (*note tangle invocation::), including the first 256 strings corresponding to the possible input characters. Pooltype primarily serves as an example of @@ -2604,11 +2604,11 @@ WEB conventions to implementors of the TeX system. Synopsis: No path searching is done for POOLFILE. Output is to standard output. - The only options are ‘--help’ and ‘--version’ (*note Common + The only options are '--help' and '--version' (*note Common options::). As an example of the output, here is the (edited) output for -‘tex.pool’: +'tex.pool': 0: "^^@" 1: "^^A" ... @@ -2619,7 +2619,7 @@ options::). (23617 characters in all.) In Metafont and MetaPost, the first 256 characters are actually -represented as single bytes (i.e., themselves), not in the ‘^^’ +represented as single bytes (i.e., themselves), not in the '^^' notation. Consider Pooltype as showing the results after conversion for output. @@ -2629,16 +2629,16 @@ File: web2c.info, Node: DVI utilities, Next: Font utilities, Prev: WEB, Up: 10 DVI utilities **************** -TeX outputs a file in “DVI” (DeVice Independent) format as a compact +TeX outputs a file in "DVI" (DeVice Independent) format as a compact representation of the original document. DVI files can be translated to meet the requirements of a real physical device, such as PostScript printers (*note Introduction: (dvips)Top.), PCL printers (see dvilj(1)), and X displays (see xdvi(1)). In fact, DVI translators are available -for virtually all common devices: see ‘CTAN:/dviware’ (for CTAN info, +for virtually all common devices: see 'CTAN:/dviware' (for CTAN info, *note (kpathsea)unixtex.ftp::). For the precise definition of the DVI file format, see (for example) -the source file ‘web2c/dvitype.web’. +the source file 'web2c/dvitype.web'. The DVI-processing programs in the Web2c distribution are not device drivers; they perform generic utility functions. @@ -2666,20 +2666,20 @@ Synopsis: standard output if OUTDVI is not specified. The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-magnification=INTEGER’ +'-help' and '-version' (*note Common options::): +'-magnification=INTEGER' Override existing magnification in INDVI with INTEGER; 1000 - specifies no magnification. This is equivalent to setting TeX’s - ‘\mag’ parameter. + specifies no magnification. This is equivalent to setting TeX's + '\mag' parameter. -‘-max-pages=N’ +'-max-pages=N' Process N pages; default is one million. -‘-page-start=PAGE-SPEC’ +'-page-start=PAGE-SPEC' Start at the first page matching PAGE-SPEC, which is one or more - (signed) integers separated by periods, corresponding to TeX’s - ‘\count0...9’ parameters at ‘\shipout’ time; ‘*’ matches anything. - Examples: ‘3’, ‘1.*.-4’. + (signed) integers separated by periods, corresponding to TeX's + '\count0...9' parameters at '\shipout' time; '*' matches anything. + Examples: '3', '1.*.-4'. File: web2c.info, Node: dvitype invocation, Prev: dvicopy invocation, Up: DVI utilities @@ -2689,7 +2689,7 @@ File: web2c.info, Node: dvitype invocation, Prev: dvicopy invocation, Up: DVI DVItype translates a DeVice Independent (DVI) file (as output by TeX, for example) to a plain text file that humans can read. It also serves -as a DVI-validating program, i.e., if DVItype can read a file, it’s +as a DVI-validating program, i.e., if DVItype can read a file, it's correct. Synopsis: dvitype [OPTION]... DVIFILE[.dvi] @@ -2697,46 +2697,46 @@ correct. Synopsis: DVItype does not read any bitmap files, but it does read TFM files for fonts referenced in DVIFILE. The usual places are searched (*note (kpathsea)Supported file formats::). To see all the relevant paths, set -the environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the +the environment variable 'KPATHSEA_DEBUG' to '-1' before running the program. Output goes to standard output. The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-dpi=REAL’ +'-help' and '-version' (*note Common options::): +'-dpi=REAL' Do pixel movement calculations at REAL pixels per inch; default 300.0. -‘-magnification=INTEGER’ +'-magnification=INTEGER' Override existing magnification in INDVI with INTEGER; 1000 - specifies no magnification. This is equivalent to setting TeX’s - ‘\mag’ parameter. + specifies no magnification. This is equivalent to setting TeX's + '\mag' parameter. -‘-max-pages=N’ +'-max-pages=N' Process N pages; default is one million. -‘-output-level=N’ +'-output-level=N' Verbosity level of output, from 0 to 4 (default 4): - • 0: Global document information only. - • 1: Most DVI commands included, and typeset characters + * 0: Global document information only. + * 1: Most DVI commands included, and typeset characters summarized. - • 2: Character and movement commands explicitly included. - • 3: DVI stack and current position calculations included. - • 4: Same information as level 3, but DVItype does random + * 2: Character and movement commands explicitly included. + * 3: DVI stack and current position calculations included. + * 4: Same information as level 3, but DVItype does random positioning in the file, reading the DVI postamble first. -‘-page-start=PAGE-SPEC’ +'-page-start=PAGE-SPEC' Start at the first page matching PAGE-SPEC, which is one or more - (signed) integers separated by periods, corresponding to TeX’s - ‘\count0...9’ parameters at ‘\shipout’ time; ‘*’ matches anything. - Examples: ‘1’, ‘5.*.-9’. + (signed) integers separated by periods, corresponding to TeX's + '\count0...9' parameters at '\shipout' time; '*' matches anything. + Examples: '1', '5.*.-9'. -‘-show-opcodes’ +'-show-opcodes' Show numeric opcode values (in decimal) for DVI commands, in braces after the command name. This can help in debugging DVI utilities. We use decimal because in the DVI format documentation (in - ‘dvitype.web’, among others) the opcodes are shown in decimal. + 'dvitype.web', among others) the opcodes are shown in decimal. * Menu: @@ -2749,8 +2749,8 @@ File: web2c.info, Node: dvitype output example, Up: dvitype invocation ----------------------------- As an example of the output from DVItype (see section above), here is -its (abridged) translation of the ‘story.dvi’ resulting from running the -example in ‘The TeXbook’, with ‘-output-level=4’ and ‘-show-opcodes’ on. +its (abridged) translation of the 'story.dvi' resulting from running the +example in 'The TeXbook', with '-output-level=4' and '-show-opcodes' on. ... Options selected: @@ -2806,19 +2806,19 @@ example in ‘The TeXbook’, with ‘-output-level=4’ and ‘-show-opcodes’ Explanation: - • The DVItype options are recorded at the beginning, followed by + * The DVItype options are recorded at the beginning, followed by global information about the document, including fonts used. - • Each DVI command is preceded by its byte position in the file - (‘42:’, ‘87:’, ...), and (because of the ‘-show-opcodes’) followed - by its decimal opcode value in braces (‘{141}’, ‘{142}’, ...). + * Each DVI command is preceded by its byte position in the file + ('42:', '87:', ...), and (because of the '-show-opcodes') followed + by its decimal opcode value in braces ('{141}', '{142}', ...). - • The ‘level’ lines record information about the DVI stack; ‘h’ and - ‘v’ define the current position in DVI units, while ‘hh’ and ‘vv’ + * The 'level' lines record information about the DVI stack; 'h' and + 'v' define the current position in DVI units, while 'hh' and 'vv' are the same in pixels. - • Text sequences are summarized in brackets, as in ‘[A SHORT STORY]’ - and the ‘[ 1]’. + * Text sequences are summarized in brackets, as in '[A SHORT STORY]' + and the '[ 1]'. File: web2c.info, Node: Font utilities, Next: Legalisms, Prev: DVI utilities, Up: Top @@ -2829,11 +2829,11 @@ File: web2c.info, Node: Font utilities, Next: Legalisms, Prev: DVI utilities, The Web2c programs described here convert between various TeX-related font formats; the first section below briefly describes the formats. GFtoPK is the only one that is routinely used, as Metafont outputs GF -format, but it’s most efficient for device drivers to use PK. +format, but it's most efficient for device drivers to use PK. The precise definitions of the PK, GF, TFM, PL, VF, and VPL formats -mentioned below are in the source files that read them; ‘pktype.web’, -‘gftype.web’, ‘tftopl.web’, etc. +mentioned below are in the source files that read them; 'pktype.web', +'gftype.web', 'tftopl.web', etc. * Menu: @@ -2882,10 +2882,10 @@ source document. In order to print DVI files on real devices, you need font files defining digitized character shapes and other data. Then previewers and printer-driver programs can translate your DVI files into something usable by your monitor or printer. Bitmap fonts come with -suffixes such as ‘.600pk’ or ‘.600gf’ or ‘.3000pxl’, where the ‘600’ is +suffixes such as '.600pk' or '.600gf' or '.3000pxl', where the '600' is the horizontal dots-per-inch resolution at which the font was produced, -and the ‘pk’ or ‘gf’ or ‘pxl’ indicates the font format. Outline fonts -in PostScript Type 1 format have suffixes such as ‘.pfa’ or ‘.pfb’. +and the 'pk' or 'gf' or 'pxl' indicates the font format. Outline fonts +in PostScript Type 1 format have suffixes such as '.pfa' or '.pfb'. Fonts in pk (packed) format are in the tightly packed raster format that is pretty much the standard today. They take up less space than @@ -2894,20 +2894,20 @@ less space than fonts in pxl format. Fonts in pxl format take up gross amounts of disk space and permit only 128 characters. They are obsolete. - Font files with the ‘.pl’ (property list) suffix are the plain text -(human-readable) analog of the binary ‘.tfm’ files. The TFtoPL and + Font files with the '.pl' (property list) suffix are the plain text +(human-readable) analog of the binary '.tfm' files. The TFtoPL and PLtoTF programs convert between the two formats (*note tftopl invocation:: and *note pltotf invocation::). - Font files with the ‘.mf’ suffix are in Metafont source format. + Font files with the '.mf' suffix are in Metafont source format. These are the files used by Metafont to generate rastered fonts for specific typefaces at specific magnifications for the specific resolution and type of mapping used by your device. - The suffix ‘.vf’ identifies “virtual font” files, for which ‘.vpl’ is + The suffix '.vf' identifies "virtual font" files, for which '.vpl' is the human-readable analog. See *Note vftovp invocation::, and *note vptovf invocation::. For further discussion of virtual fonts, see -‘CTAN:/doc/virtual-fonts.knuth’, ‘CTAN:/help/virtualfonts.txt’, and +'CTAN:/doc/virtual-fonts.knuth', 'CTAN:/help/virtualfonts.txt', and *note (dvips)Virtual fonts::. (This section is based on documentation in the original Unix TeX @@ -2930,17 +2930,17 @@ Synopsis: The font GFNAME is searched for in the usual places (*note (kpathsea)Glyph lookup::). To see all the relevant paths, set the -environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the +environment variable 'KPATHSEA_DEBUG' to '-1' before running the program. - The suffix ‘gf’ is supplied if not already present. This suffix is -not an extension; no ‘.’ precedes it: for instance, ‘cmr10.600gf’. + The suffix 'gf' is supplied if not already present. This suffix is +not an extension; no '.' precedes it: for instance, 'cmr10.600gf'. If PKFILE is not specified, the output is written to the basename of -‘GFNAME.DPIpk’, e.g., ‘gftopk /wherever/cmr10.600gf’ creates -‘./cmr10.600pk’. +'GFNAME.DPIpk', e.g., 'gftopk /wherever/cmr10.600gf' creates +'./cmr10.600pk'. - The only options are ‘--verbose’, ‘--help’, and ‘--version’ (*note + The only options are '--verbose', '--help', and '--version' (*note Common options::). @@ -2959,17 +2959,17 @@ programs do not support PK format. Synopsis: The font PKNAME is searched for in the usual places (*note (kpathsea)Glyph lookup::). To see all the relevant paths, set the -environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the +environment variable 'KPATHSEA_DEBUG' to '-1' before running the program. - The suffix ‘pk’ is supplied if not already present. This suffix is -not an extension; no ‘.’ precedes it: for instance, ‘cmr10.600pk’. + The suffix 'pk' is supplied if not already present. This suffix is +not an extension; no '.' precedes it: for instance, 'cmr10.600pk'. If GFFILE is not specified, the output is written to the basename of -‘PKNAME.DPIgf’, e.g., ‘pktogf /wherever/cmr10.600pk’ creates -‘./cmr10.600gf’. +'PKNAME.DPIgf', e.g., 'pktogf /wherever/cmr10.600pk' creates +'./cmr10.600gf'. - The only options are ‘--verbose’, ‘--help’, and ‘--version’ (*note + The only options are '--verbose', '--help', and '--version' (*note Common options::). @@ -2980,26 +2980,26 @@ File: web2c.info, Node: pktype invocation, Next: gftype invocation, Prev: pkt PKtype translates a packed font (PK) bitmap file (as output by GFtoPK, for example) to a plain text file that humans can read. It also serves -as a PK-validating program, i.e., if PKtype can read a file, it’s +as a PK-validating program, i.e., if PKtype can read a file, it's correct. Synopsis: pktype PKNAME.DPI[pk] The font PKNAME is searched for in the usual places (*note (kpathsea)Glyph lookup::). To see all the relevant paths, set the -environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the +environment variable 'KPATHSEA_DEBUG' to '-1' before running the program. - The suffix ‘pk’ is supplied if not already present. This suffix is -not an extension; no ‘.’ precedes it: for instance, ‘cmr10.600pk’. + The suffix 'pk' is supplied if not already present. This suffix is +not an extension; no '.' precedes it: for instance, 'cmr10.600pk'. The translation is written to standard output. - The only options are ‘-help’ and ‘-version’ (*note Common options::). + The only options are '-help' and '-version' (*note Common options::). As an example of the output, here is the (abridged) translation of -the letter ‘K’ in ‘cmr10’, as rendered at 600dpi with the mode ‘ljfour’ -from <modes.mf> (available from ‘ftp://ftp.tug.org/tex/modes.mf’). +the letter 'K' in 'cmr10', as rendered at 600dpi with the mode 'ljfour' +from <modes.mf> (available from 'ftp://ftp.tug.org/tex/modes.mf'). 955: Flag byte = 184 Character = 75 Packet length = 174 Dynamic packing variable = 11 @@ -3011,43 +3011,43 @@ from <modes.mf> (available from ‘ftp://ftp.tug.org/tex/modes.mf’). Explanation: -‘955’ +'955' The byte position in the file where this character starts. -‘Flag byte’ -‘Dynamic packing variable’ +'Flag byte' +'Dynamic packing variable' Related to the packing for this character; see the source code. -‘Character’ +'Character' The character code, in decimal. -‘Packet length’ +'Packet length' The total length of this character definition, in bytes. -‘TFM width’ +'TFM width' The device-independent (TFM) width of this character. It is 2^24 - times the ratio of the true width to the font’s design size. + times the ratio of the true width to the font's design size. -‘dx’ - The device-dependent width, in “scaled pixels”, i.e., units of +'dx' + The device-dependent width, in "scaled pixels", i.e., units of horizontal pixels times 2^16. -‘Height’ -‘Width’ +'Height' +'Width' The bitmap height and width, in pixels. -‘X-offset’ -‘Y-offset’ +'X-offset' +'Y-offset' Horizontal and vertical offset from the upper left pixel to the reference (origin) pixel for this character, in pixels (right and - down are positive). The “reference pixel” is the pixel that + down are positive). The "reference pixel" is the pixel that occupies the unit square in Metafont; the Metafont reference point is the lower left hand corner of this pixel. Put another way, the x-offset is the negative of the left side bearing; the right side bearing is the horizontal escapement minus the bitmap width plus the x-offset. -‘[2]23(16)...’ +'[2]23(16)...' Finally, run lengths of black pixels alternate with parenthesized run lengths of white pixels, and brackets indicate a repeated row. @@ -3060,32 +3060,32 @@ File: web2c.info, Node: gftype invocation, Next: tftopl invocation, Prev: pkt GFtype translates a generic font (GF) bitmap file (as output by Metafont, for example) to a plain text file that humans can read. It also serves as a GF-validating program, i.e., if GFtype can read a file, -it’s correct. Synopsis: +it's correct. Synopsis: gftype [OPTION]... GFNAME.DPI[gf] The font GFNAME is searched for in the usual places (*note (kpathsea)Glyph lookup::). To see all the relevant paths, set the -environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the +environment variable 'KPATHSEA_DEBUG' to '-1' before running the program. - The suffix ‘gf’ is supplied if not already present. This suffix is -not an extension; no ‘.’ precedes it: for instance, ‘cmr10.600gf’. + The suffix 'gf' is supplied if not already present. This suffix is +not an extension; no '.' precedes it: for instance, 'cmr10.600gf'. The translation is written to standard output. The program accepts the following options, as well as the standard -‘-help’ and ‘-version’ (*note Common options::): -‘-images’ - Show the characters’ bitmaps using asterisks and spaces. +'-help' and '-version' (*note Common options::): +'-images' + Show the characters' bitmaps using asterisks and spaces. -‘-mnemonics’ +'-mnemonics' Translate all commands in the GF file. As an example of the output, here is the (abridged) translation of -the letter ‘K’ in ‘cmr10’, as rendered at 600dpi with the mode ‘ljfour’ -from ‘modes.mf’ (available from <ftp://ftp.tug.org/tex/modes.mf>), with -both ‘-mnemonics’ and ‘-images’ enabled. +the letter 'K' in 'cmr10', as rendered at 600dpi with the mode 'ljfour' +from 'modes.mf' (available from <ftp://ftp.tug.org/tex/modes.mf>), with +both '-mnemonics' and '-images' enabled. GFtype outputs the information about a character in two places: a main definition and a one-line summary at the end. We show both. Here @@ -3124,30 +3124,30 @@ is the main definition: Explanation: -‘2033’ -‘2043’ -‘...’ +'2033' +'2043' +'...' The byte position in the file where each GF command starts. -‘beginning of char 75’ +'beginning of char 75' The character code, in decimal. -‘3<=m<=60 0<=n<=56’ - The character’s bitmap lies between 3 and 60 (inclusive) +'3<=m<=60 0<=n<=56' + The character's bitmap lies between 3 and 60 (inclusive) horizontally, and between 0 and 56 (inclusive) vertically. (m is a column position and n is a row position.) Thus, 3 is the left side bearing. The right side bearing is the horizontal escapement (given below) minus the maximum m. -‘(initially n=56) paint (0)24(12)20’ +'(initially n=56) paint (0)24(12)20' The first row of pixels: 0 white pixels, 24 black pixels, 12 white pixels, etc. -‘newrow 0 (n=55) paint 24(12)20’ +'newrow 0 (n=55) paint 24(12)20' The second row of pixels, with zero leading white pixels on the row. -‘eoc’ +'eoc' The end of the main character definition. Here is the GF postamble information that GFtype outputs at the end: @@ -3156,18 +3156,18 @@ Explanation: Explanation: -‘dx’ - The device-dependent width, in “scaled pixels”, i.e., units of - horizontal pixels times 2^16. The ‘(65)’ is simply the same number +'dx' + The device-dependent width, in "scaled pixels", i.e., units of + horizontal pixels times 2^16. The '(65)' is simply the same number rounded. If the vertical escapement is nonzero, it would appear - here as a ‘dy’ value. + here as a 'dy' value. -‘width’ +'width' The device-independent (TFM) width of this character. It is 2^24 - times the ratio of the true width to the font’s design size. The - ‘64.57289’ is the same number converted to pixels. + times the ratio of the true width to the font's design size. The + '64.57289' is the same number converted to pixels. -‘loc’ +'loc' The byte position in the file where this character starts. @@ -3177,44 +3177,44 @@ File: web2c.info, Node: tftopl invocation, Next: pltotf invocation, Prev: gft ======================================================== TFtoPL translates a TeX font metric (TFM, *note (dvips)Metric files::) -file (as output by Metafont, for example) to “property list format” (a +file (as output by Metafont, for example) to "property list format" (a list of parenthesized items describing the font) that humans can edit or read. This program is mostly used by people debugging TeX implementations, writing font utilities, etc. Synopsis: tftopl [OPTION]... TFMNAME[.tfm] [PLFILE[.pl]] - The font TFMNAME (extended with ‘.tfm’ if necessary) is searched for + The font TFMNAME (extended with '.tfm' if necessary) is searched for in the usual places (*note (kpathsea)Supported file formats::). To see -all the relevant paths, set the environment variable ‘KPATHSEA_DEBUG’ to -‘-1’ before running the program. +all the relevant paths, set the environment variable 'KPATHSEA_DEBUG' to +'-1' before running the program. - If PLFILE (which is extended with ‘.pl’ if necessary) is not + If PLFILE (which is extended with '.pl' if necessary) is not specified, the property list file is written to standard output. The property list file can be converted back to TFM format by the companion program TFtoPL (see the next section). The program accepts the following option, as well as the standard -‘-verbose’, ‘-help’ and ‘-version’ (*note Common options::): -‘-charcode-format=TYPE’ +'-verbose', '-help' and '-version' (*note Common options::): +'-charcode-format=TYPE' Output character codes in the PL file according to TYPE: either - ‘octal’ or ‘ascii’. Default is ‘ascii’ for letters and digits, - octal for all other characters. Exception: if the font’s coding - scheme starts with ‘TeX math sy’ or ‘TeX math ex’, all character + 'octal' or 'ascii'. Default is 'ascii' for letters and digits, + octal for all other characters. Exception: if the font's coding + scheme starts with 'TeX math sy' or 'TeX math ex', all character codes are output in octal. - In ‘ascii’ format, character codes that correspond to graphic + In 'ascii' format, character codes that correspond to graphic characters, except for left and right parentheses, are output as a - ‘C’ followed by the single character: ‘C K’, for example. In octal - format, character codes are output as the letter ‘O’ followed by - octal digits, as in ‘O 113’ for ‘K’. + 'C' followed by the single character: 'C K', for example. In octal + format, character codes are output as the letter 'O' followed by + octal digits, as in 'O 113' for 'K'. - ‘octal’ format is useful for symbol and other non-alphabetic fonts, + 'octal' format is useful for symbol and other non-alphabetic fonts, where using ASCII characters for the character codes is merely confusing. As an example of the output, here is the (abridged) property list -translation of ‘cmr10.tfm’: +translation of 'cmr10.tfm': (FAMILY CMR) (FACE O 352) @@ -3263,28 +3263,28 @@ translation of ‘cmr10.tfm’: ... As you can see, the general format is a list of parenthesized -“properties”, nested where necessary. +"properties", nested where necessary. - • The first few items (‘FAMILY’, ‘FACE’, and so on) are the so-called - “headerbyte” information from Metafont, giving general information + * The first few items ('FAMILY', 'FACE', and so on) are the so-called + "headerbyte" information from Metafont, giving general information about the font. - • The ‘FONTDIMEN’ property defines the TeX ‘\fontdimen’ values. + * The 'FONTDIMEN' property defines the TeX '\fontdimen' values. - • The ‘LIGTABLE’ property defines the ligature and kerning table. - ‘LIG’ properties define ligatures: in the example above, an ‘f’ (in - the ‘LABEL’) followed by an ‘i’ is a ligature, i.e., a typesetting + * The 'LIGTABLE' property defines the ligature and kerning table. + 'LIG' properties define ligatures: in the example above, an 'f' (in + the 'LABEL') followed by an 'i' is a ligature, i.e., a typesetting program like TeX replaces those two consecutive characters by the - character at position octal ’014 in the current font—presumably the - ‘fi’ ligature. ‘KRN’ properties define kerns: if an ‘f’ is - followed by character octal ’047 (an apostrophe), TeX inserts a + character at position octal '014 in the current font--presumably + the 'fi' ligature. 'KRN' properties define kerns: if an 'f' is + followed by character octal '047 (an apostrophe), TeX inserts a small amount of space between them: 0.077779 times the design size - the font was loaded at (about three-quarters of a printer’s point + the font was loaded at (about three-quarters of a printer's point by default in this case, or .001 inches). - • The ‘CHARACTER’ property defines the dimensions of a character: its + * The 'CHARACTER' property defines the dimensions of a character: its width, height, depth, and italic correction, also in design-size - units, as explained in the previous item. For our example ‘f’, the + units, as explained in the previous item. For our example 'f', the depth is zero, so that property is omitted. TFtoPL also inserts any kerns and ligatures for this character as a comment. @@ -3296,18 +3296,18 @@ File: web2c.info, Node: pltotf invocation, Next: vftovp invocation, Prev: tft PLtoTF translates a property list file (as output by TFtoPL, for example) to TeX font metric (TFM, *note (dvips)Metric files::) format. -It’s much easier for both programs and humans to create the (plain text) +It's much easier for both programs and humans to create the (plain text) property list files and let PLtoTF take care of creating the binary TFM equivalent than to output TFM files directly. Synopsis: pltotf [OPTION]... PLFILE[.pl] [TFMFILE[.tfm]] - If TFMFILE (extended with ‘.tfm’ if necessary) is not specified, the -TFM file is written to the basename of ‘PLFILE.tfm’, e.g., ‘pltotf -/wherever/cmr10.pl’ creates ‘./cmr10.tfm’. (Since TFM files are binary, + If TFMFILE (extended with '.tfm' if necessary) is not specified, the +TFM file is written to the basename of 'PLFILE.tfm', e.g., 'pltotf +/wherever/cmr10.pl' creates './cmr10.tfm'. (Since TFM files are binary, writing to standard output by default is undesirable.) - The only options are ‘-verbose’, ‘-help’, and ‘-version’ (*note + The only options are '-verbose', '-help', and '-version' (*note Common options::). For an example of property list format, see the previous section. @@ -3321,40 +3321,40 @@ File: web2c.info, Node: vftovp invocation, Next: vptovf invocation, Prev: plt VFtoVP translates a virtual font metric (VF, *note (dvips)Virtual fonts::) file and its accompanying TeX font metric (TFM, *note (dvips)Metric files::) file (as output by VPtoVF, for example) to -“virtual property list format” (a list of parenthesized items describing +"virtual property list format" (a list of parenthesized items describing the virtual font) that humans can edit or read. This program is mostly used by people debugging virtual font utilities. Synopsis: vftovp [OPTION]... VFNAME[.vf] [TFMNAME[.tfm] [VPLFILE[.vpl]]] - The fonts VFNAME and TFMNAME (extended with ‘.vf’ and ‘.tfm’ if + The fonts VFNAME and TFMNAME (extended with '.vf' and '.tfm' if necessary) are searched for in the usual places (*note (kpathsea)Supported file formats::). To see all the relevant paths, set -the environment variable ‘KPATHSEA_DEBUG’ to ‘-1’ before running the -program. If TFMNAME is not specified, VFNAME (without a trailing ‘.vf’) +the environment variable 'KPATHSEA_DEBUG' to '-1' before running the +program. If TFMNAME is not specified, VFNAME (without a trailing '.vf') is used. - If VPLFILE (extended with ‘.vpl’ if necessary) is not specified, the + If VPLFILE (extended with '.vpl' if necessary) is not specified, the property list file is written to standard output. The property list file can be converted back to VF and TFM format by the companion program VFtoVP (see the next section). The program accepts the following option, as well as the standard -‘-verbose’, ‘-help’ and ‘-version’ (*note Common options::): -‘-charcode-format=TYPE’ +'-verbose', '-help' and '-version' (*note Common options::): +'-charcode-format=TYPE' Output character codes in the PL file according to TYPE: either - ‘octal’ or ‘ascii’. Default is ‘ascii’ for letters and digits, - octal for all other characters. Exception: if the font’s coding - scheme starts with ‘TeX math sy’ or ‘TeX math ex’, all character + 'octal' or 'ascii'. Default is 'ascii' for letters and digits, + octal for all other characters. Exception: if the font's coding + scheme starts with 'TeX math sy' or 'TeX math ex', all character codes are output in octal. - In ‘ascii’ format, character codes that correspond to graphic + In 'ascii' format, character codes that correspond to graphic characters, except for left and right parentheses, are output as a - ‘C’ followed by the single character: ‘C K’, for example. In octal - format, character codes are output as the letter ‘O’ followed by - octal digits, as in ‘O 113’ for ‘K’. + 'C' followed by the single character: 'C K', for example. In octal + format, character codes are output as the letter 'O' followed by + octal digits, as in 'O 113' for 'K'. - ‘octal’ format is useful for symbol and other non-alphabetic fonts, + 'octal' format is useful for symbol and other non-alphabetic fonts, where using ASCII characters for the character codes is merely confusing. @@ -3366,19 +3366,19 @@ File: web2c.info, Node: vptovf invocation, Next: Font utilities available else VPtoVF translates a virtual property list file (as output by VFtoVP, for example) to virtual font (VF, *note (dvips)Virtual fonts::) and TeX font -metric (TFM, *note (dvips)Metric files::) files. It’s much easier for +metric (TFM, *note (dvips)Metric files::) files. It's much easier for both programs and humans to create the (plain text) property list files and let VPtoVF take care of creating the binary VF and TFM equivalents than to output them directly. Synopsis: vptovf [OPTION]... VPLFILE[.vpl] [VFFILE[.vf] [TFMFILE[.tfm]]] - If VFFILE (extended with ‘.vf’ if necessary) is not specified, the VF -output is written to the basename of ‘VPLFILE.vf’; similarly for -TFMFILE. For example, ‘vptovf /wherever/ptmr.vpl’ creates ‘./ptmr.vf’ -and ‘./ptmr.tfm’. + If VFFILE (extended with '.vf' if necessary) is not specified, the VF +output is written to the basename of 'VPLFILE.vf'; similarly for +TFMFILE. For example, 'vptovf /wherever/ptmr.vpl' creates './ptmr.vf' +and './ptmr.tfm'. - The only options are ‘-verbose’, ‘-help’, and ‘-version’ (*note + The only options are '-verbose', '-help', and '-version' (*note Common options::). @@ -3389,48 +3389,48 @@ File: web2c.info, Node: Font utilities available elsewhere, Prev: vptovf invoc The Web2c complement of font utilities merely implements a few basic conversions. Many other more sophisticated font utilities exist; most -are in ‘CTAN:/fonts/utilities’ (for CTAN info, *note +are in 'CTAN:/fonts/utilities' (for CTAN info, *note (kpathsea)unixtex.ftp::). Here are some of the most commonly-requested items: - • AFM (Adobe font metric) to TFM conversion: *note (dvips)Invoking - afm2tfm::, and ‘CTAN:/fonts/utilities/afmtopl’. + * AFM (Adobe font metric) to TFM conversion: *note (dvips)Invoking + afm2tfm::, and 'CTAN:/fonts/utilities/afmtopl'. - • BDF (the X bitmap format) conversion: + * BDF (the X bitmap format) conversion: <ftp://ftp.tug.org/tex/bdf.tar.gz>. - • Creating fonts using MetaPost: MetaType1. + * Creating fonts using MetaPost: MetaType1. <ftp://bop.eps.gda.pl/pub/metatype1>. This is used to create the - excellent Latin Modern font family (‘CTAN:/fonts/lm’), which + excellent Latin Modern font family ('CTAN:/fonts/lm'), which extends Computer Modern to a vast repertoire of scripts. - • Editing of bitmap fonts: Xbfe from the GNU font utilities mentioned + * Editing of bitmap fonts: Xbfe from the GNU font utilities mentioned below; the X BDF-editing programs available from <ftp://ftp.x.org/R5contrib/xfed.tar.Z> and <ftp://ftp.x.org/R5contrib/xfedor.tar.Z>; and finally, if your - fonts have only 128 characters, you can use the old ‘gftopxl’, - ‘pxtoch’, and ‘chtopx’ programs from <ftp://ftp.tug.org/tex/web>. + fonts have only 128 characters, you can use the old 'gftopxl', + 'pxtoch', and 'chtopx' programs from <ftp://ftp.tug.org/tex/web>. - • Editing of outline fonts: FontForge, <fontforge.sourceforge.net>. + * Editing of outline fonts: FontForge, <fontforge.sourceforge.net>. This is a very elaborate program with support for many outline formats (Type 1, OpenType, TrueType, ...), and many advanced font editing features. - • PK bitmaps from PostScript outline fonts: gsftopk from the ‘xdvi’ - distribution. Alternatively, ‘ps2pk’, from - ‘CTAN:/fonts/utilities/ps2pk’. + * PK bitmaps from PostScript outline fonts: gsftopk from the 'xdvi' + distribution. Alternatively, 'ps2pk', from + 'CTAN:/fonts/utilities/ps2pk'. - • PostScript Type 1 font format conversion (i.e., between PFA and PFB + * PostScript Type 1 font format conversion (i.e., between PFA and PFB formats): <https://www.lcdf.org/type>. - • Tracing bitmaps to fitted outlines: Autotrace + * Tracing bitmaps to fitted outlines: Autotrace (<http://autotrace.sourceforge.net>), Potrace (<http://potrace.sourceforge.net>). For Metafont fonts, either of - the two programs ‘mftrace’ (<http://www.xs4all.nl/~hanwen/mftrace>) - or ‘textrace’ (<http://textrace.sourceforge.net>) make the job + the two programs 'mftrace' (<http://www.xs4all.nl/~hanwen/mftrace>) + or 'textrace' (<http://textrace.sourceforge.net>) make the job easier. - • Virtual font creation: <https://ctan.org/pkg/fontinst>. + * Virtual font creation: <https://ctan.org/pkg/fontinst>. File: web2c.info, Node: Legalisms, Next: References, Prev: Font utilities, Up: Top @@ -3445,15 +3445,15 @@ permissions for that file. Following is a summary. domain (<https://tug.org/texlive/copying.html>). The sources may be copied verbatim, or used as the starting point of new software under different names; however, per the wishes of the authors, they should be -modified only through a ‘.ch’ file, but this is in the nature of a +modified only through a '.ch' file, but this is in the nature of a development request rather than a legal requirement. MLTeX, pdfTeX, LuaTeX, XeTeX, and all the other derived engines have used various license terms for their additions to the base code, often the GPL (see <https://www.gnu.org/licenses/#GPL>) or (for example) the -file ‘web2c/pdftexdir/COPYINGv2’. They also mostly make use of +file 'web2c/pdftexdir/COPYINGv2'. They also mostly make use of additional libraries with their own (compatible) terms. Please see each -program’s sources. +program's sources. The Kpathsea library is covered by the GNU Lesser General Public License (*note (kpathsea)Introduction::). Therefore, the _binaries_ @@ -3461,7 +3461,7 @@ resulting from a standard Web2c compilation are also covered by the LGPL; so if you (re)distribute the binaries, you must also (offer to) distribute the complete source that went into those binaries. See <https://gnu.org/licenses/#LGPL> or the file -‘kpathsea/COPYING.LESSERv2’. +'kpathsea/COPYING.LESSERv2'. File: web2c.info, Node: References, Next: Index, Prev: Legalisms, Up: Top @@ -3483,30 +3483,30 @@ Appendix B References <ftp://ftp.math.utah.edu/pub/tex/bib/texbook1.bib>. 6. For a bibliography of formal articles and technical reports on the - TeX project, see the books ‘TeX: The Program’ or ‘Metafont: The - Program’ cited below. + TeX project, see the books 'TeX: The Program' or 'Metafont: The + Program' cited below. 7. [Bil87] Neenie Billawala. Write-white printing engines and tuning - fonts with Metafont. ‘TUGboat’, 8(1):29–32, April 1987. + fonts with Metafont. 'TUGboat', 8(1):29-32, April 1987. <https://tug.org/TUGboat/tb08-1/tb17billawala.pdf>. 8. [Hob89] John D. Hobby. A Metafont-like system with PS output. - ‘TUGboat’, 10(4):505–512, December 1989. + 'TUGboat', 10(4):505-512, December 1989. <https://tug.org/metapost>. - 9. [Hob92] John D. Hobby. A User’s Manual for MetaPost. Technical + 9. [Hob92] John D. Hobby. A User's Manual for MetaPost. Technical Report CSTR-162, AT&T Bell Laboratories, 1992. 10. [Hob93] John D. Hobby. Drawing Graphs with MetaPost. Technical Report CSTR-164, AT&T Bell Laboratories, 1993. - 11. [HS91] Samuel P. Harbison and Guy L. Steele Jr. ‘C—A Reference - Manual’. Prentice-Hall, Upper Saddle River, NJ 07458, USA, third + 11. [HS91] Samuel P. Harbison and Guy L. Steele Jr. 'C--A Reference + Manual'. Prentice-Hall, Upper Saddle River, NJ 07458, USA, third edition, 1991. An authoritative reference to the C programming language, and a good companion to Kernighan and Ritchie. - 12. [KL93] Donald E. Knuth and Silvio Levy. ‘The CWEB System of - Structured Documentation, Version 3.0’. Addison-Wesley, Reading, + 12. [KL93] Donald E. Knuth and Silvio Levy. 'The CWEB System of + Structured Documentation, Version 3.0'. Addison-Wesley, Reading, MA, USA, 1993. <https://ctan.org/pkg/cweb>. 13. [Knu84] Donald E. Knuth. A torture test for TeX. Report No. @@ -3517,39 +3517,39 @@ Appendix B References STAN-CS-86-1095, Stanford University, Department of Computer Science, 1986. - 15. [Knu86b] Donald E. Knuth. ‘The TeXbook’, volume A of ‘Computers - and Typesetting’. Addison-Wesley, Reading, MA, USA, 1986. + 15. [Knu86b] Donald E. Knuth. 'The TeXbook', volume A of 'Computers + and Typesetting'. Addison-Wesley, Reading, MA, USA, 1986. - 16. [Knu86c] Donald E. Knuth. ‘TeX: The Program’, volume B of - ‘Computers and Typesetting’. Addison-Wesley, Reading, MA, USA, + 16. [Knu86c] Donald E. Knuth. 'TeX: The Program', volume B of + 'Computers and Typesetting'. Addison-Wesley, Reading, MA, USA, 1986. - 17. [Knu86d] Donald E. Knuth. ‘The METAFONTbook’, volume C of - ‘Computers and Typesetting’. Addison-Wesley, Reading, MA, USA, + 17. [Knu86d] Donald E. Knuth. 'The METAFONTbook', volume C of + 'Computers and Typesetting'. Addison-Wesley, Reading, MA, USA, 1986. - 18. [Knu86e] Donald E. Knuth. ‘METAFONT: The Program’, volume D of - ‘Computers and Typesetting’. Addison-Wesley, Reading, MA, USA, + 18. [Knu86e] Donald E. Knuth. 'METAFONT: The Program', volume D of + 'Computers and Typesetting'. Addison-Wesley, Reading, MA, USA, 1986. - 19. [Knu86f] Donald E. Knuth. ‘Computer Modern Typefaces’, volume E - of ‘Computers and Typesetting’. Addison-Wesley, Reading, MA, USA, + 19. [Knu86f] Donald E. Knuth. 'Computer Modern Typefaces', volume E + of 'Computers and Typesetting'. Addison-Wesley, Reading, MA, USA, 1986. - 20. [Knu89] Donald E. Knuth. The errors of TeX. ‘Software—Practice - and Experience’, 19(7):607–681, July 1989. This is an updated + 20. [Knu89] Donald E. Knuth. The errors of TeX. 'Software--Practice + and Experience', 19(7):607-681, July 1989. This is an updated version of Knuth:1988:ET. 21. [Knu90] Donald Knuth. Virtual Fonts: More Fun for Grand Wizards. - ‘TUGboat’, 11(1):13–23, April 1990. + 'TUGboat', 11(1):13-23, April 1990. <https://tug.org/TUGboat/tb11-1/tb27knut.pdf>. - 22. [Knu92] Donald E. Knuth. ‘Literate Programming’. CSLI Lecture + 22. [Knu92] Donald E. Knuth. 'Literate Programming'. CSLI Lecture Notes Number 27. Stanford University Center for the Study of Language and Information, Stanford, CA, USA, 1992. - 23. [Lam94] Leslie Lamport. ‘LaTeX: A Document Preparation System: - User’s Guide and Reference Manual’. Addison-Wesley, Reading, MA, + 23. [Lam94] Leslie Lamport. 'LaTeX: A Document Preparation System: + User's Guide and Reference Manual'. Addison-Wesley, Reading, MA, USA, second edition, 1994. Reprinted with corrections, 1996. 24. [Lia83] Franklin Mark Liang. Word hy-phen-a-tion by com-put-er. @@ -3558,9 +3558,9 @@ Appendix B References 25. [Mac91] Pierre A. MacKay. Looking at the pixels: Quality control for 300 dpi laser printer fonts, especially Metafonts. In Robert - A. Morris and Jacques Andre, editors, ‘Raster Imaging and Digital - Typography II—Papers from the second RIDT meeting, held in Boston, - Oct. 14–16, 1991’, pages 205–215, New York, 1991. Cambridge + A. Morris and Jacques Andre, editors, 'Raster Imaging and Digital + Typography II--Papers from the second RIDT meeting, held in Boston, + Oct. 14-16, 1991', pages 205-215, New York, 1991. Cambridge University Press. @@ -3615,7 +3615,7 @@ Index * -base=BASE: Determining the memory dump to use. (line 15) * -base=DUMPNAME: Common options. (line 39) -* -change=CHFILE: mft invocation. (line 62) +* -change=CHFILE: mft invocation. (line 63) * -charcode-format=TYPE: tftopl invocation. (line 27) * -charcode-format=TYPE <1>: vftovp invocation. (line 30) * -cnf-line: Common options. (line 25) @@ -3677,7 +3677,7 @@ Index * -shell-restricted: tex invocation. (line 122) * -show-opcodes: dvitype invocation. (line 52) * -strict: tangle invocation. (line 46) -* -style=MFTFILE: mft invocation. (line 66) +* -style=MFTFILE: mft invocation. (line 67) * -T: mpost invocation. (line 111) * -terse: bibtex invocation. (line 28) * -tex=TEXPROGRAM: mpost invocation. (line 114) @@ -3829,7 +3829,7 @@ Index * c-sources Makefile target: Additional targets. (line 12) * caveats for \input filenames: \input filename caveats. (line 6) -* change files, and MFT: mft invocation. (line 62) +* change files, and MFT: mft invocation. (line 63) * change files, and Tangle: tangle invocation. (line 11) * change files, and Weave: weave invocation. (line 14) * changing error messages style: Common options. (line 31) @@ -3849,7 +3849,7 @@ Index (line 69) * cm.base: Initial Metafont. (line 26) * cmbase.mf: Initial Metafont. (line 26) -* cmbase.mft: mft invocation. (line 72) +* cmbase.mft: mft invocation. (line 73) * cmmf.base not recommended: Initial Metafont. (line 26) * color, in DVItoMP: dvitomp invocation. (line 15) * comments, in TCX files: TCX files. (line 70) @@ -3862,7 +3862,7 @@ Index (line 6) * Computer Modern fonts, and Troff: mpost invocation. (line 61) * Computer Modern macros: Initial Metafont. (line 26) -* Computer Modern Typefaces, production of: mft invocation. (line 72) +* Computer Modern Typefaces, production of: mft invocation. (line 73) * configuration: Installation. (line 6) * configuration file reading: Path searching. (line 6) * configuration file values: Runtime options. (line 6) @@ -3935,7 +3935,7 @@ Index * e response at error prompt: Editor invocation. (line 6) * e-circumflex: \charsubdef. (line 20) * e-TeX: TeX extensions. (line 20) -* e.mft: mft invocation. (line 72) +* e.mft: mft invocation. (line 73) * EC fonts: tex invocation. (line 41) * EC fonts <1>: mf invocation. (line 24) * editing of bitmap fonts: Font utilities available elsewhere. @@ -4189,7 +4189,7 @@ Index (line 15) * MetaPost input files: mpost invocation. (line 26) * MetaPost invocation: mpost invocation. (line 6) -* MetaPost source, prettyprinting: mft invocation. (line 77) +* MetaPost source, prettyprinting: mft invocation. (line 79) * MetaPost, initial: Initial MetaPost. (line 6) * MetaPost, TeX, and Metafont: Three programs. (line 6) * metatype1: Font utilities available elsewhere. @@ -4306,7 +4306,7 @@ Index * plain.bst: Basic BibTeX style files. (line 11) * plain.fmt: Initial TeX. (line 13) -* plain.mft: mft invocation. (line 66) +* plain.mft: mft invocation. (line 67) * pltotf: pltotf invocation. (line 6) * pool file, writing: tangle invocation. (line 16) * Poole, Simon: Online Metafont graphics. @@ -4354,7 +4354,7 @@ Index * Raichle, Bernd: MLTeX. (line 6) * reading from the output directory: Output file location. (line 15) -* reading, additional: Introduction. (line 71) +* reading, additional: Introduction. (line 72) * readonly directory, running TeX in: Output file location. (line 53) * readonly directory, running TeX in <1>: Output file location. @@ -4417,7 +4417,7 @@ Index * string pool, writing: tangle invocation. (line 16) * string representation: pooltype invocation. (line 30) * style design, for BibTeX: bibtex invocation. (line 49) -* style files: mft invocation. (line 66) +* style files: mft invocation. (line 67) * substitutions of font glyphs: MLTeX. (line 6) * sun: Online Metafont graphics. (line 42) @@ -4603,79 +4603,79 @@ Index Tag Table: -Node: Top2764 -Node: Introduction3838 -Node: Installation7621 -Node: configure options9713 -Node: Compile-time options11871 -Node: Additional targets13009 -Node: Triptrap14382 -Node: Commonalities15963 -Node: Option conventions16636 -Node: Common options17919 -Node: Path searching22833 -Node: Output file location23829 -Node: Three programs27052 -Node: Runtime options27767 -Node: Initial and virgin30962 -Node: Memory dumps31943 -Node: Creating memory dumps32399 -Node: Determining the memory dump to use33618 -Node: Hardware and memory dumps35263 -Node: Editor invocation38079 -Node: \input filenames38990 -Node: \input quoted filename40601 -Node: \input braced filename41394 -Node: \input filename caveats42344 -Node: TeX43910 -Node: tex invocation45086 -Node: Initial TeX52432 -Node: Formats53852 -Node: Languages and hyphenation56729 -Node: MLTeX57159 -Node: \charsubdef58815 -Node: \tracingcharsubdef61220 -Node: TCX files61819 -Node: patgen invocation67370 -Node: Shell escapes68093 -Node: IPC and TeX71989 -Node: TeX extensions72575 -Node: Metafont75366 -Node: mf invocation76658 -Node: Initial Metafont80644 -Node: Modes82342 -Node: Online Metafont graphics84664 -Node: gftodvi invocation88269 -Node: mft invocation91221 -Node: MetaPost95367 -Node: mpost invocation96209 -Node: Initial MetaPost101455 -Node: dvitomp invocation102406 -Node: BibTeX103103 -Node: bibtex invocation103464 -Node: Basic BibTeX style files106070 -Node: WEB107470 -Node: tangle invocation108703 -Node: weave invocation110903 -Node: pooltype invocation112358 -Node: DVI utilities113508 -Node: dvicopy invocation114454 -Node: dvitype invocation115787 -Node: dvitype output example118202 -Node: Font utilities121327 -Node: Font file formats122521 -Node: gftopk invocation125856 -Node: pktogf invocation127091 -Node: pktype invocation128301 -Node: gftype invocation131228 -Node: tftopl invocation135859 -Node: pltotf invocation140621 -Node: vftovp invocation141702 -Node: vptovf invocation144031 -Node: Font utilities available elsewhere145092 -Node: Legalisms147359 -Node: References148820 -Node: Index153056 +Node: Top2759 +Node: Introduction3831 +Node: Installation7587 +Node: configure options9631 +Node: Compile-time options11653 +Node: Additional targets12755 +Node: Triptrap14032 +Node: Commonalities15535 +Node: Option conventions16192 +Node: Common options17415 +Node: Path searching22121 +Node: Output file location23093 +Node: Three programs26218 +Node: Runtime options26925 +Node: Initial and virgin30066 +Node: Memory dumps31015 +Node: Creating memory dumps31467 +Node: Determining the memory dump to use32674 +Node: Hardware and memory dumps34251 +Node: Editor invocation37001 +Node: \input filenames37864 +Node: \input quoted filename39415 +Node: \input braced filename40192 +Node: \input filename caveats41122 +Node: TeX42636 +Node: tex invocation43804 +Node: Initial TeX50788 +Node: Formats52152 +Node: Languages and hyphenation54969 +Node: MLTeX55399 +Node: \charsubdef57027 +Node: \tracingcharsubdef59350 +Node: TCX files59925 +Node: patgen invocation65365 +Node: Shell escapes66072 +Node: IPC and TeX69840 +Node: TeX extensions70410 +Node: Metafont73191 +Node: mf invocation74479 +Node: Initial Metafont78316 +Node: Modes79946 +Node: Online Metafont graphics82196 +Node: gftodvi invocation85621 +Node: mft invocation88441 +Node: MetaPost92439 +Node: mpost invocation93275 +Node: Initial MetaPost98311 +Node: dvitomp invocation99233 +Node: BibTeX99898 +Node: bibtex invocation100259 +Node: Basic BibTeX style files102733 +Node: WEB104063 +Node: tangle invocation105272 +Node: weave invocation107396 +Node: pooltype invocation108803 +Node: DVI utilities109933 +Node: dvicopy invocation110867 +Node: dvitype invocation112152 +Node: dvitype output example114483 +Node: Font utilities117536 +Node: Font file formats118716 +Node: gftopk invocation121983 +Node: pktogf invocation123174 +Node: pktype invocation124340 +Node: gftype invocation127163 +Node: tftopl invocation131666 +Node: pltotf invocation136259 +Node: vftovp invocation137310 +Node: vptovf invocation139545 +Node: Font utilities available elsewhere140572 +Node: Legalisms142777 +Node: References144224 +Node: Index148357 End Tag Table diff --git a/Master/texmf-dist/doc/man/man1/fmtutil.1 b/Master/texmf-dist/doc/man/man1/fmtutil.1 index 8b5e0153759..3e8c6c3c9f0 100644 --- a/Master/texmf-dist/doc/man/man1/fmtutil.1 +++ b/Master/texmf-dist/doc/man/man1/fmtutil.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. -.TH FMTUTIL "1" "February 2023" "TeX Live" "User Commands" +.TH FMTUTIL "1" "February 2024" "TeX Live" "User Commands" .SH NAME fmtutil \- manage TeX formats and Metafont bases, per-user .br @@ -19,7 +19,7 @@ mktexfmt \- create a TeX format or Metafont base .B mktexfmt \fI\,FORMAT.fmt|BASE.base|FMTNAME\/\fR .SH DESCRIPTION -fmtutil version r65989 (2023\-02\-20 22:52:59 +0100) +fmtutil version r68962 (2023\-11\-25 00:01:43 +0100) .PP Rebuild and manage TeX fmts and Metafont bases, collectively called "formats" here. (MetaPost no longer uses the past\-equivalent "mems".) @@ -96,7 +96,7 @@ be silent .TP \fB\-\-test\fR (does nothing, exists for compatibility) -.SS "Commands:" +.SS "Commands (exactly one must be specified):" .TP \fB\-\-all\fR recreate all format files @@ -253,6 +253,11 @@ If an engine name ends with "\-dev", formats are created in the respective directory with the \fB\-dev\fR stripped. This allows for easily running development binaries in parallel with the released binaries. +.SH ENVIRONMENT +.IP +This script runs TeX and Metafont to generate the fmt/base file, and +thus all normal environment variables and search path rules for TeX/MF +apply. .SH "REPORTING BUGS" Report bugs to: tex\-live@tug.org .br diff --git a/Master/texmf-dist/doc/man/man1/pdftex.1 b/Master/texmf-dist/doc/man/man1/pdftex.1 index 1dbda1249a2..0bbf804499f 100644 --- a/Master/texmf-dist/doc/man/man1/pdftex.1 +++ b/Master/texmf-dist/doc/man/man1/pdftex.1 @@ -1,4 +1,4 @@ -.TH PDFTEX 1 "24 August 2023" "Web2C 2024" +.TH PDFTEX 1 "2 March 2024" "Web2C 2024" .\"===================================================================== .if n .ds MF Metafont .if t .ds MF Metafont @@ -7,17 +7,17 @@ .ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP .el .ds OX TeX .\" BX definition must follow TX so BX can use TX -.if t .ds BX \fRB\s-2IB\s0\fP\*(TX +.if t .ds BX \fRB\s-2IB\s+2\fP\*(TX .if n .ds BX BibTeX .\" LX definition must follow TX so LX can use TX -.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX +.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s+2\\h'-0.15m'\\v'0.15v'\fP\*(TX .if n .ds LX LaTeX .if t .ds AX \fRA\\h'-0.1667m'\\v'0.20v'M\\v'-0.20v'\\h'-0.125m'S\fP\*(TX .if n .ds AX AmSTeX .if t .ds AY \fRA\\h'-0.1667m'\\v'0.20v'M\\v'-0.20v'\\h'-0.125m'S\fP\*(LX .if n .ds AY AmSLaTeX .if n .ds WB Web -.if t .ds WB W\s-2EB\s0 +.if t .ds WB W\s-2EB\s+2 .\"===================================================================== .SH NAME pdftex \- PDF output from TeX @@ -32,16 +32,16 @@ Run the pdf\*(TX typesetter on .IR file , usually creating .IR file.pdf . -If the file argument has no extension, ".tex" will be appended to it. +If the file argument has no extension, ".tex" will be appended to it. Instead of a filename, a set of pdf\*(TX commands can be given, the first of which must start with a backslash. -With a +With a .BI & format argument pdf\*(TX uses a different set of precompiled commands, contained in .IR format\fB.fmt\fP ; it is usually better to use the -.B -fmt +.B \-fmt .I format option instead. .PP @@ -58,7 +58,7 @@ command uses the equivalent of the plain \*(TX format, and the .B pdflatex command uses the equivalent of the \*(LX format. To generate formats, use the -.B -ini +.B \-ini switch. .PP The @@ -81,7 +81,7 @@ In PDF mode, pdf\*(TX can natively handle the and .I PNG graphics formats. pdf\*(TX cannot include PostScript or Encapsulated -PostScript (EPS) graphics files; first convert them to PDF using +PostScript (EPS) graphics files; first convert them to PDF using .BR epstopdf (1). pdf\*(TX's handling of its command-line arguments is similar to that of the other \*(TX programs in the @@ -95,47 +95,47 @@ extensions, and pdfe\*(TX is just a copy of pdf\*(TX. See .SH OPTIONS This version of pdf\*(TX understands the following command line options. .TP -.BI -cnf-line \ string +.BI \-cnf-line \ string Parse .I string as a .I texmf.cnf configuration line. See the Kpathsea manual. .TP -.B -draftmode +.B \-draftmode Sets \epdfdraftmode so pdf\*(TX doesn't write a PDF and doesn't read any included images, thus speeding up execution. .TP -.B -enc +.B \-enc Enable the enc\*(TX extensions. This option is only effective in combination with -.BR -ini . +.BR \-ini . For documentation of the enc\*(TX extensions see http://www.olsak.net/enctex.html. .TP -.B -etex +.B \-etex Enable the e-\*(TX extensions. This option is only effective in combination with -.BR -ini . +.BR \-ini . See .BR etex (1). .TP -.B -file-line-error +.B \-file-line-error Print error messages in the form .I file:line:error which is similar to the way many compilers format them. .TP -.B -no-file-line-error +.B \-no-file-line-error Disable printing error messages in the .I file:line:error style. .TP -.B -file-line-error-style +.B \-file-line-error-style This is the old name of the -.B -file-line-error +.B \-file-line-error option. .TP -.BI -fmt \ format +.BI \-fmt \ format Use .I format as the name of the format to be used, instead of the name by which @@ -143,13 +143,13 @@ pdf\*(TX was called or a .I %& line. .TP -.B -halt-on-error +.B \-halt-on-error Exit with an error code when an error is encountered during processing. .TP -.B -help +.B \-help Print help message and exit. .TP -.B -ini +.B \-ini Start in .I INI mode, which is used to dump formats. The @@ -157,7 +157,7 @@ mode, which is used to dump formats. The mode can be used for typesetting, but no format is preloaded, and basic initializations like setting catcodes may be required. .TP -.BI -interaction \ mode +.BI \-interaction \ mode Sets the interaction mode. The mode can be either .IR batchmode , .IR nonstopmode , @@ -167,27 +167,27 @@ and The meaning of these modes is the same as that of the corresponding \ecommands. .TP -.B -ipc +.B \-ipc Send DVI or PDF output to a socket as well as the usual output file. Whether this option is available is the choice of the installer. .TP -.B -ipc-start +.B \-ipc-start As -.BR -ipc , +.BR \-ipc , and starts the server at the other end as well. Whether this option is available is the choice of the installer. .TP -.BI -jobname \ name +.BI \-jobname \ name Use .I name for the job name, instead of deriving it from the name of the input file. .TP -.BI -kpathsea-debug \ bitmask +.BI \-kpathsea-debug \ bitmask Sets path searching debugging flags according to the bitmask. See the .I Kpathsea manual for details. .TP -.BI -mktex \ fmt +.BI \-mktex \ fmt Enable .RI mktex fmt , where @@ -197,11 +197,11 @@ must be either or .IR tfm . .TP -.B -mltex +.B \-mltex Enable ML\*(TX extensions. Only effective in combination with -.BR -ini . +.BR \-ini . .TP -.BI -no-mktex \ fmt +.BI \-no-mktex \ fmt Disable .RI mktex fmt , where @@ -211,20 +211,20 @@ must be either or .IR tfm . .TP -.BI -output-comment \ string +.BI \-output-comment \ string In DVI mode, use .I string for the DVI file comment instead of the date. This option is ignored in PDF mode. .TP -.BI -output-directory \ directory +.BI \-output-directory \ directory Write output files in .I directory instead of the current directory. Look up input files in .I directory first, then along the normal search path. .TP -.BI -output-format \ format +.BI \-output-format \ format Set the output format mode, where .I format must be either @@ -233,28 +233,28 @@ or .IR dvi . This also influences the set of graphics formats understood by pdf\*(TX. .TP -.B -parse-first-line +.B \-parse-first-line If the first line of the main input file begins with .I %& parse it to look for a dump name or a -.B -translate-file +.B \-translate-file option. .TP -.B -no-parse-first-line +.B \-no-parse-first-line Disable parsing of the first line of the main input file. .TP -.BI -progname \ name +.BI \-progname \ name Pretend to be program .IR name . This affects both the format used and the search paths. .TP -.B -recorder +.B \-recorder Enable the filename recorder. This leaves a trace of the files opened for input and output in a file with extension .IR .fls . .TP -.B -shell-escape +.B \-shell-escape Enable the .RI \ewrite18{ command } construct. The @@ -262,23 +262,24 @@ construct. The can be any shell command. This construct is normally disallowed for security reasons. .TP -.B -no-shell-escape +.B \-no-shell-escape Disable the .RI \ewrite18{ command } construct, even if it is enabled in the .I texmf.cnf file. .TP -.B -shell-restricted +.B \-shell-restricted Enable restricted \ewrite18{}, as explained in the ``Shell escapes'' section of the Web2c Texinfo manual. .TP -.B -src-specials -In DVI mode, insert source specials into the DVI file. This option is -ignored in PDF mode. +.B \-src-specials +In DVI mode, insert source specials into the DVI file. +This option is ignored in PDF mode. .TP -.BI -src-specials \ where -In DVI mode, insert source specials in certain places of the DVI file. The +.BI \-src-specials \ where +In DVI mode, insert source specials in certain places of the DVI file. +The .I where argument is a comma-separated value list: .IR cr , @@ -291,28 +292,29 @@ or .IR vbox . This option is ignored in PDF mode. .TP -.BI -synctex \ NUMBER -generate SyncTeX data for previewers according to bits of NUMBER. See the +.BI \-synctex \ NUMBER +generate SyncTeX data for previewers according to bits of NUMBER. +See the .I synctex manual page for details. .TP -.BI -translate-file \ tcxname +.BI \-translate-file \ tcxname Use the .I tcxname translation table to set the mapping of input characters and re-mapping of output characters. .TP -.BI -default-translate-file \ tcxname +.BI \-default-translate-file \ tcxname Like -.B -translate-file +.B \-translate-file except that a .I %& line can overrule this setting. .TP -.B -version +.B \-version Print version information and exit. .TP -.B -8bit +.B \-8bit make all characters printable by default. .\"===================================================================== .SH ENVIRONMENT @@ -324,9 +326,8 @@ utility can be used to query the values of the variables. .PP One caveat: In most pdf\*(TX formats, you cannot use ~ in a filename you give directly to pdf\*(TX, because ~ is an active character in \*(TX, -and hence is expanded, not taken as part of the filename. Other -programs, such as \*(MF, do not have this problem. -.PP +and hence is expanded, not taken as part of the filename. +Other programs, such as \*(MF, do not have this problem. .TP .B TEXMFOUTPUT Normally, pdf\*(TX puts its output files in the current directory. If @@ -414,7 +415,7 @@ Predigested pdf\*(TX format (.\|fmt) files. This version of pdf\*(TX fails to trap arithmetic overflow when dimensions are added or subtracted. Cases where this occurs are rare, but when it does the generated -DVI or PDF file will be invalid. +DVI or PDF file will be invalid. .\"===================================================================== .SH AVAILABILITY pdf\*(TX is available for a large variety of machine architectures @@ -429,8 +430,8 @@ pdf\*(TX mailing list for all discussion: https://lists.tug.org/pdftex. .\"===================================================================== .SH "SEE ALSO" This manual page is not meant to be exhaustive. The complete -documentation for this version of pdf\*(TX can be found in the -.IR "pdf\*(TX user manual" +documentation for this version of pdf\*(TX can be found in the +.I "pdf\*(TX user manual" and the Texinfo manuals .IR "Kpathsea library" , .IR "Web2C: A TeX implementation" . @@ -447,10 +448,11 @@ Some related programs: .BR mf (1). .\"===================================================================== .SH AUTHORS -The primary authors of pdf\*(TX are Han The Thanh, Petr Sojka, -Jiri Zlatuska, and Peter Breitenlohner (e\*(TX). +The primary author of pdf\*(TX is Han The Thanh, with major +contributions from Petr Sojka, Jiri Zlatuska, and Peter Breitenlohner +(e\*(TX). .PP -\*(TX was designed by Donald E. Knuth, +\*(TX was designed by Donald E.\& Knuth, who implemented it using his \*(WB system for Pascal programs. It was ported to Unix at Stanford by Howard Trickey, and at Cornell by Pavel Curtis. diff --git a/Master/texmf-dist/doc/man/man1/updmap.1 b/Master/texmf-dist/doc/man/man1/updmap.1 index de409b33f3d..bb17e99872a 100644 --- a/Master/texmf-dist/doc/man/man1/updmap.1 +++ b/Master/texmf-dist/doc/man/man1/updmap.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. -.TH UPDMAP "1" "February 2023" "TeX Live" "User Commands" +.TH UPDMAP "1" "February 2024" "TeX Live" "User Commands" .SH NAME updmap \- manage TeX font maps .br diff --git a/Master/texmf-dist/doc/web2c/web2c.pdf b/Master/texmf-dist/doc/web2c/web2c.pdf Binary files differindex c0c449dd216..275e222ac8c 100644 --- a/Master/texmf-dist/doc/web2c/web2c.pdf +++ b/Master/texmf-dist/doc/web2c/web2c.pdf |