is entry for omega in fmtutil.in okay?
Hi, I noticed that generated fmtutil.cnf in teTeX-src-beta-20021022.tar.gz contained the entry omega omega -.dat omega.ini It seemed fmtutil complained about -.dat to me. Is -.dat really intentional or typo ? My system is Debian GNU/Linux of unstable (i.e. the latest) version. Best regards, 2002/10/24 -- Debian Developer Debian JP Developer - much more I18N of Debian Atsuhito Kohda [EMAIL PROTECTED] Department of Math., Univ. of Tokushima
Re: is entry for omega in fmtutil.in okay?
From: Thomas Esser [EMAIL PROTECTED] Subject: Re: is entry for omega in fmtutil.in okay? Date: Thu, 24 Oct 2002 13:14:12 +0200 It seemed fmtutil complained about -.dat to me. Hm... I can run fmtutil --all or fmtutil --byfmt omega without any error. What did you do to get a complaint? Well, I am not sure if I could say this as fmtutil complained but it displayed as follows and I guessed it was caused by -.dat for omega. Running initex. This may take some time. ... kpsewhich: unrecognized option `-.dat' Thanks for your reply. Best regards, 2002/10/25 -- Debian Developer Debian JP Developer - much more I18N of Debian Atsuhito Kohda [EMAIL PROTECTED] Department of Math., Univ. of Tokushima
Re: is entry for omega in fmtutil.in okay?
From: Thomas Esser [EMAIL PROTECTED] Subject: Re: is entry for omega in fmtutil.in okay? Date: Fri, 25 Oct 2002 01:11:40 +0200 Well, I am not sure if I could say this as fmtutil complained but it displayed as follows and I guessed it was caused by -.dat for omega. Running initex. This may take some time. ... kpsewhich: unrecognized option `-.dat' I don't know what you are doing. The strings Running initex and This may take some time are not contained anywhere in the sources of teTeX. What action causes this error? Ah, sorry for my insufficient explanation. I made Debian packages and installed them. The action above was done with their post-installation scripts. In this case, it was done as follows(excerpt); TEXCONFIG_P=/usr/bin/texconfig echo Running initex. This may take some time. ... $TEXCONFIG_P init $TEMPFILE echo Output of initex is in $TEMPFILE so its main action was texconfig init, I believe. I hope this explanation is useful enough for you. Best regards, 2002/10/25 -- Debian Developer Debian JP Developer - much more I18N of Debian Atsuhito Kohda [EMAIL PROTECTED] Department of Math., Tokushima Univ.
Re: is entry for omega in fmtutil.in okay?
so its main action was texconfig init, I believe. Ah, yes. And that calls fmtutil --all. I was not aware of the fact that fmtutil --all tries to locate all hyphen setup files using kpsewhich. This does not make sense and I have fixed this now in fmtutil (even though the real bug was in fmtutil.cnf). I hope this explanation is useful enough for you. Yes, thanks. Thomas PS: if anybody is interested, here is the patch. --- teTeX-src-beta-20021022/texk/tetex/fmtutil Tue Oct 22 23:50:27 2002 +++ teTeX-src-beta/texk/tetex/fmtutil Fri Oct 25 02:29:37 2002 -20,6 +20,7 ### # program history: +# Fri Oct 25 02:29:06 CEST 2002: now more careful about find_hyphenfile() # Tue Oct 22 22:46:48 CEST 2002: -jobname, oft extension # Fri Oct 4 22:33:17 CEST 2002: add more cli stuff: enablefmt # disablefmt listcfg -259,6 +260,7 cnf_file=# global variable: full name of the config file cmd= # desired action from command line needsCleanup=false + need_find_hyphenfile=false # mktexfmtMode: if called as mktexfmt, set to true. Will echo the generated # filename after successful generation to stdout then (and nothing else). -503,7 +505,10 find_hyphenfile() { format=$1; hyphenation=$2 - kpsewhich -progname=$format -format=tex $hyphenation + case $hyphenation in +-) ;; +*) kpsewhich -progname=$format -format=tex $hyphenation;; + esac } ### -593,7 +598,9 ### check_match() { - this_hyphenfile=`find_hyphenfile $format $hyphenation` + $need_find_hyphenfile \ +this_hyphenfile=`find_hyphenfile $format $hyphenation` + eval $match_cmd setmatch true } -638,6 +645,7 { hyphenfile=$1 + need_find_hyphenfile=true match_cmd=test x\$this_hyphenfile = x$hyphenfile # No match before the loop: