| 1 |
$Id: change-files.txt 55874 2020-07-19 15:42:51Z karl $ |
| 2 |
Public domain. |
| 3 |
How change files are applied for pdftex/pdfetex? |
| 4 |
|
| 5 |
============================= pdftex ============================= |
| 6 |
|
| 7 |
2) pdftex.ch is essentially generated from (see pdftexdir/am/pdftex.am) |
| 8 |
./tie -c pdftex.ch pdftex.web \ |
| 9 |
$(srcdir)/pdftexdir/tex.ch0 \ |
| 10 |
$(srcdir)/tex.ch \ |
| 11 |
$(srcdir)/pdftexdir/tex.ch1 \ |
| 12 |
$(srcdir)/pdftexdir/tex.pch |
| 13 |
|
| 14 |
There are more feature-specific change files, for synctex, including the |
| 15 |
pool in the binary, etc., many of which are shared between engines. They |
| 16 |
don't alter the basic process described here. |
| 17 |
|
| 18 |
Input: |
| 19 |
pdftex.web: |
| 20 |
pdftex without system-dependent changes |
| 21 |
|
| 22 |
pdftexdir/tex.ch0: |
| 23 |
% Change file to assist in creating the web2c-specific change file. |
| 24 |
% This one comes first, resolves inconsistencies between the |
| 25 |
% generated pdftex.web and tex.ch |
| 26 |
|
| 27 |
change the pdftex banner to tex banner, so tex.ch can be applied |
| 28 |
|
| 29 |
tex.ch: |
| 30 |
the main web2c-specific (or other system-dependent) change file |
| 31 |
|
| 32 |
pdftexdir/pdftex.ch: |
| 33 |
|
| 34 |
% Change file to assist in creating the web2c-specific change file. |
| 35 |
% This one resolves inconsistencies between tex.ch and tex.pch. |
| 36 |
|
| 37 |
change the tex banner to pdftex banner (reverse tex.ch0) |
| 38 |
|
| 39 |
Output: |
| 40 |
pdftex.ch (in the build dir, not pdftexdir/pdftex.ch): |
| 41 |
additional & system-dependent changes |