I'm trying to compile my own version of pdftex which works fine.
However, I must compile my own format file (fmt) for that.
This should be done with mktexfmt. My problem is that I don't know where to find the souce code for mktexfmt (for Linux).
Can anybody give me a hint where to find it?
OK, looks like I need a small crash course in the LaTeX architecture.
This is what I understand now:
- I don't need
mktexfmtto create a format, I can usepdftex -ini -etex - A format is necessary to teach
pdftexto understand latex - When I have "teached"
pdftexhow to understand latex I can parse latex files withpdftexand create pdf files from this
Is this correct?
If so, where do I get a .tex file to create a format? This ctan package looks good, but I cannot download it.
Sorry for beeing so dumb, but until now I only created nice pdfs with latex but I never got that deep into its architecture.
EDIT: I don't see the relevance of why I want to do this. But OK it's because I want to port PDFTeX to Javascript using emscripten. Does this help?
pdftex --ini <file>, maybe with*before the file name if you want the e-TeX extensions enabled. (You don't say which format you are after.) – Joseph Wright Jan 07 '13 at 13:18kpathsealibrary and without an accompanying TeX distribution does not make much sense. – egreg Jan 07 '13 at 22:23I would also be interested in studying them, as this has become a recent development topic for LaTeXML.
– Deyan Jan 25 '23 at 12:21