is entry for omega in fmtutil.in okay?

2002-10-24 Thread Atsuhito Kohda
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



format files

2002-10-24 Thread Reinhard Kotucha
Hi,
I have a metapost file that begins with %latex.  I could process
this file until teTeX-beta-20021013 (web2c-7.3.8).  Now I have to use
the commandline option --tex=latex.  %latex is ignored and plain
TeX is used.  Is this desired?

I know that sth. like %latex has been problematic in the past, but
it worked for me the last few months even though latex was in fact
elatex.  A year ago that caused trouble, as far as I remember.

BTW, it doesn't work now even with latex=latex.

Another problem is that tex \latex myfile doesn't work properly.
I think that this is a real bug because Knuth said that it should
work.

Is it difficult to scan the commandline for a \format and, unless
there is no --progname option, set --progname=format implicitly?

Regards,
  Reinhard

-- 

Reinhard Kotucha Phone: +49-511-27060390
Marschnerstr. 25
D-30167 Hannover  mailto:reinhard;kammer.uni-hannover.de

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.






Re: format files

2002-10-24 Thread Thomas Esser
 I have a metapost file that begins with %latex.  I could process
 this file until teTeX-beta-20021013 (web2c-7.3.8).  Now I have to use
 the commandline option --tex=latex.  %latex is ignored and plain
 TeX is used.  Is this desired?

texmf.cnf now has parse_first_line = f to ensure that TeX behaves
100% correct in the default setup.

There are several ways to solve your problem:
  - you can set parse_first_line = t in your texmf.cnf
  - you can add parse_first_line.mpost = t in your texmf.cnf
  - you can invoke mpost with parse_first_line=t in the environment
  ...

 Another problem is that tex \latex myfile doesn't work properly.

What exactly is the problem? I just have successfully tried
  $ tex \latex small2e
  This is TeX, Version 3.14159 (Web2C 7.3.9)
  (/usr/share/texmf/tex/latex/base/small2e.tex
  LaTeX2e 2001/06/01
  ...
  Transcript written on small2e.log

Thomas



Re: format files

2002-10-24 Thread Reinhard Kotucha
 Thomas == Thomas Esser [EMAIL PROTECTED] writes:

 Another problem is that tex \latex myfile doesn't work
 properly.

 What exactly is the problem? I just have successfully tried $
 tex \latex small2e This is TeX, Version 3.14159 (Web2C 7.3.9)
 (/usr/share/texmf/tex/latex/base/small2e.tex LaTeX2e
 2001/06/01 ...  Transcript written on small2e.log

The problem is that the plain TeX search path is used rather the LaTeX
one.  No problem with small2e, but generally you must say
--progname=latex to get the desired result.  And I think that this is
tex-k specific.

Reinhard

-- 

Reinhard Kotucha Phone: +49-511-27060390
Marschnerstr. 25
D-30167 Hannover  mailto:reinhard;kammer.uni-hannover.de

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.






Re: is entry for omega in fmtutil.in okay?

2002-10-24 Thread Atsuhito Kohda
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?

2002-10-24 Thread Atsuhito Kohda
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?

2002-10-24 Thread Thomas Esser
 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:



20021025 pretest

2002-10-24 Thread Thomas Esser
Hi,

I just have uploaded a new teTeX-beta release which will soon appear on ctan, e.g.
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021025.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021025.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021025.tar.gz
or
  ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021025.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021025.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021025.tar.gz

There are a few small fixes and minor improvements, so I thought to make a new pretest:

src tarball:
* fix typo in texk/web2c/fmtutil.in
* don't fail if X11 is not available, just skip xdvik, mfw
* update texinfo.tex, adobe.map, typeface.map
* add parse_first_line.mpost = t to texmf.in
* fix help summary in header of updmap script
* fix omega and pdfamstex entries in fmtutil.in
* fmtutil no longer looks for hyphen setup files in cases where
  that information is irrelevant
* merge Omega changes from TeX Live
* texconfig now copies updmap.cfg to $VARTEXMF

texmf tarball:
* update texinfo.tex
* update hyperref
* remove files that are installed by make install by the
  src tarball
* update ConTeXt (2002.10.16)
* update *-pl.pool files
* update pdftex.def

Thomas