[Mac OS X TeX] custom format files?

Joachim Kock kock at math.unice.fr
Thu Feb 21 11:20:56 EST 2002



>I.e. the latex command now is:
>
>#!/bin/sh
>test -f "`kpsewhich latex.fmt`" || fmtutil --byfmt latex
>exec tex -fmt=latex ${1+"$@"}
>
>So, you can link to latex, but the use of latex.fmt is hard coded in 
>the script. Workaround: instead of linking, copy the latex script 
>and edit it. That is the TeX Live way.

Thanks a lot! it solved the problem. I'm very happy I got my
custom format back.

My hitex command is now defined as

#!/bin/sh
test -f "`kpsewhich hitex.fmt`" || fmtutil --byfmt hitex
exec tex -fmt=hitex ${1+"$@"}


Now concerning the pdf version (hiptex):  I tried to do

#!/bin/sh
test -f "`kpsewhich hiptex.fmt`" || fmtutil --byfmt hiptex
exec pdftex -fmt=hiptex -progname=hiptex ${1+"$@"}

but as predicted this takes me back to the other problem:

[prompt]: hiptex foo
This is pdfTeX, Version 3.14159-1.00b-pretest-20020204 (Web2C 7.3.7)
(./foo.tex
Error: pdftex (file pdftex.cfg): cannot open config file
[prompt]:

(And concerning this config file, it is there allright because usual
pdflatex reads it:

[prompt]: pdflatex foo
This is pdfTeX, Version 3.14159-1.00b-pretest-20020204 (Web2C 7.3.7)
(./foo.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,

etc

But kpsewhich can't find any pdftex.cfg
(I don't know if it is supposed to find any...)

Thanks a lot, once again,

Joachim.

-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------




More information about the MacOSX-TeX mailing list