summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/change-files.txt
blob: a435369d052b323bd41aae23029b03062774cdea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$Id$
Public domain.
How change files are applied for pdftex/pdfetex?

============================= pdftex =============================

2) pdftex.ch is essentially generated from (see pdftexdir/am/pdftex.am)
    ./tie -c pdftex.ch pdftex.web \
    $(srcdir)/pdftexdir/tex.ch0 \
    $(srcdir)/tex.ch \
    $(srcdir)/pdftexdir/tex.ch1 \
    $(srcdir)/pdftexdir/tex.pch

There are more feature-specific change files, for synctex, including the
pool in the binary, etc., many of which are shared between engines. They
don't alter the basic process described here.

Input:
    pdftex.web:
        pdftex without system-dependent changes

    pdftexdir/tex.ch0:
        % Change file to assist in creating the web2c-specific change file.
        % This one comes first, resolves inconsistencies between the
        % generated pdftex.web and tex.ch

        change the pdftex banner to tex banner, so tex.ch can be applied

    tex.ch:
        the main web2c-specific (or other system-dependent) change file

    pdftexdir/pdftex.ch:

        % Change file to assist in creating the web2c-specific change file.
        % This one resolves inconsistencies between tex.ch and tex.pch.

        change the tex banner to pdftex banner (reverse tex.ch0)

Output:
    pdftex.ch (in the build dir, not pdftexdir/pdftex.ch):
        additional & system-dependent changes