[tlbuild] Patching pdftex
Florian Breitwieser
florian.bw at gmail.com
Tue Dec 17 15:53:55 CET 2013
Great, thank you, it works! Is there any problem with naming the
executables pdftex-patched and pdflatex-patched? Since it defines it
mode of operation through $0.
I tried putting the executable to /usr/bin before, but then it did not
work - probably because of the other issues (old pdftex or
'--without-system-kpathsea'). For the ~/bin installation, I used the
following setup (trying to make the system texmf visible):
TEXMFHOME=`kpsewhich -var-value TEXMFHOME`
mkdir -p ${TEXMFHOME}/{bin,web2c}
cp build-pdftex/texk/web2c/pdftex ${TEXMFHOME}/bin/
cp build-pdftex/texk/web2c/pdftex.pool ${TEXMFHOME}/web2c
ln -sf /etc/texmf/web2c/texmf.cnf ${TEXMFHOME}/web2c/texmf.cnf
ln -sf ${TEXMFHOME}/bin/pdftex ${HOME}/bin/pdftex
ln -sf ${TEXMFHOME}/bin/pdftex ${HOME}/bin/pdflatex
texhash ${TEXMFHOME}
# --> ~/bin/pdftex -ini -etex pdfetex.ini has the same issues
So in the end TEXMFHOME looks like this:
$ tree $TEXMFHOME
/home/fbw/texmf
|-- bin
| `-- pdftex
|-- ls-R
`-- web2c
|-- pdftex.pool
`-- texmf.cnf -> /etc/texmf/web2c/texmf.cnf
Do you know what the problem with this local setup is?
More information about the tlbuild
mailing list