| 1 |
.TH ETEX 1 "15 January 2026" "Web2C @VERSION@" |
| 2 |
.\"===================================================================== |
| 3 |
.if t .ds TX \fRT\\h'-0.10m'\\v'0.17v'E\\v'-0.17v'\\h'-0.06m'X\fP |
| 4 |
.if n .ds TX TeX |
| 5 |
.el .ds OX TeX |
| 6 |
.\" LX definition must follow TX so LX can use TX |
| 7 |
.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX |
| 8 |
.if n .ds LX LaTeX |
| 9 |
.\"===================================================================== |
| 10 |
.SH NAME |
| 11 |
etex \- extended (plain) TeX |
| 12 |
.SH SYNOPSIS |
| 13 |
.B etex |
| 14 |
.RI [ options ] |
| 15 |
.RI [ \fB&\fPformat ] |
| 16 |
\h'.25' [ \fIfile\fP [ \fImore-input\fP ] \h'.5'|\h'.5' [ \fB\e\fP\fImore-input\fP ] |
| 17 |
.\"===================================================================== |
| 18 |
.SH DESCRIPTION |
| 19 |
Run the e-\*(TX typesetter on |
| 20 |
.IR file , |
| 21 |
usually creating |
| 22 |
.IR file.dvi . |
| 23 |
If the file argument has no extension, ".tex" will be appended to it. See |
| 24 |
.BR tex (1) |
| 25 |
for details of command-line parsing. |
| 26 |
.PP |
| 27 |
The e-\*(TX extensions include both macro programming and typesetting |
| 28 |
features. They are described in the e-\*(TX manual, included in |
| 29 |
distributions and linked from the CTAN package page: |
| 30 |
https://ctan.org/pkg/etex. |
| 31 |
.PP |
| 32 |
When a format (\fI.fmt\fP) file is created, the e-\*(TX extensions are |
| 33 |
enabled by prefixing the source filename with an asterisk (*), as in |
| 34 |
"etex *etex.ini". The standard \fIfmtutil.cnf\fP in \*(TX Live sets this |
| 35 |
up for all relevant formats, not included original \*(TX. |
| 36 |
.PP |
| 37 |
If extended mode is not enabled, e-\*(TX operates in a so-called |
| 38 |
.I compatibility mode |
| 39 |
with all extensions disabled; this is intended to be indistinguishable |
| 40 |
from standard \*(TX. |
| 41 |
.PP |
| 42 |
As of version 1.40 (around 2007), pdf\*(TX incorporated the e-\*(TX |
| 43 |
extensions (along with its own extensions), and the \fBetex\fP |
| 44 |
executable became a symlink to \fBpdftex\fP. The e-\*(TX and some of the |
| 45 |
pdf\*(TX extensions have been required by \*(LX since about 2020. |
| 46 |
.\"===================================================================== |
| 47 |
.SH OPTIONS |
| 48 |
See |
| 49 |
.BR pdftex (1). |
| 50 |
.\"===================================================================== |
| 51 |
.SH ENVIRONMENT |
| 52 |
See |
| 53 |
.BR tex (1). |
| •54 |
.TP |
| 55 |
.B SOURCE_DATE_EPOCH |
| 56 |
If set, its value, taken to be in epoch-seconds, will be used for the |
| 57 |
timestamps in the PDF output, such as the CreationDate and ModDate keys. |
| 58 |
This is useful for making reproducible builds. |
| 59 |
.TP |
| 60 |
.B FORCE_SOURCE_DATE |
| 61 |
If set to the value "1", the time-related \*(TX primitives |
| 62 |
.RI ( \eyear , |
| 63 |
.IR \emonth , |
| 64 |
.IR \eday , |
| 65 |
.IR \etime ) |
| 66 |
are also initialized from the value of SOURCE_DATE_EPOCH. This is not |
| 67 |
recommended if there is any viable alternative. |
| 68 |
.\"===================================================================== |
| 69 |
.SH BUGS |
| 70 |
See |
| 71 |
.BR tex (1). |
| 72 |
.\"===================================================================== |
| 73 |
.SH FILES |
| 74 |
See |
| 75 |
.BR tex (1). |
| 76 |
Also: |
| 77 |
.TP |
| 78 |
.I $TEXMFMAIN/tex/plain/config/etex.ini |
| 79 |
The driver file that builds the e-\*(TX format file, \fIetex.fmt\fP, in |
| 80 |
\*(TX Live; the engine used is pdf\*(TX (in dvi mode). |
| 81 |
.TP |
| 82 |
.I $TEXMFMAIN/tex/plain/etex/etex.src |
| 83 |
.br |
| 84 |
The main \*(TX source for the e-\*(TX format. |
| 85 |
.TP |
| 86 |
.I $TEXMFMAIN/tex/plain/etex/etex.src |
| 87 |
A small variant of etex.src needed for the Lua\*(TX-based formats. |
| 88 |
.TP |
| 89 |
.I $TEXMFMAIN/tex/plain/etex/etexdefs.lib |
| 90 |
Additional definitions for the e-\*(TX format. |
| 91 |
.\"===================================================================== |
| 92 |
.SH "SEE ALSO" |
| 93 |
.BR pdftex (1), |
| 94 |
.BR tex (1). |
| 95 |
.PP |
| 96 |
e-\*(TX package page on CTAN: https://ctan.org/pkg/etex |
| 97 |
.br |
| 98 |
e-\*(TX manual: https://mirror.ctan.org/systems/doc/etex/etex_man.pdf |
| 99 |
.br |
| 100 |
Web2c manual: https://tug.org/web2c |
| 101 |
.br |
| 102 |
Kpathsea manual: https://tug.org/kpathsea |
| 103 |
.\"===================================================================== |
| 104 |
.SH AUTHORS |
| 105 |
\*(TX was created by Donald E. Knuth. e-\*(TX was a result of the NTS |
| 106 |
Project, established under the aegis of DANTE e.V. (https://dante.de) in |
| 107 |
1992. NTS also released an independent implementation of \*(TX, in Java, |
| 108 |
was released in 2001: https://ctan.org/pkg/nts |
| 109 |
.PP |
| 110 |
e-\*(TX was developed by Peter Breitenlohner and the NTS team; Peter |
| 111 |
later continued its development outside of the team. |
| 112 |
.PP |
| 113 |
Public discussion list and bug reports: https://lists.tug.org/tex-k |