Re: xdvi's buttons are missing

2000-10-02 Thread Mate Wierdl

 
 xdvi +expert
 the 'x' keystroke
  
  No buttons with xdvik. Or, more precise, the place for the buttinlist
  is there, but it is empty.
 
 Is this different from what you were reporting earlier?

If we are talking about xdvik: using the `x' keystroke while xdvi open
or opening xdvi with 

xdvi +expert

makes no difference: there is margin on the right of the window, but
no buttons in either cases.

I ran 

$ strace -o xdvi-strace.txt xdvi konyorges/2000/proposal.dvi 

and put  xdvi-strace.txt  at

http://moni.msci.memphis.edu/~mw/xdvi-strace.txt

Mate



xdvik and XFree86-4 update

2000-10-05 Thread Mate Wierdl

OK, so I recompiled teTeX-1.07 against XFree86-4.0.1, and the buttons
are back.  But what a pain.

This also means that RH 7.0 users will not complain since they get a
tetex package which is compiled against the new XFree86.

Mate



problems with bookman.sty

2000-11-22 Thread Mate Wierdl

I am trying to compile

\documentclass{article}
\usepackage{bookman}

\begin{document}
Hello

\end{document}

In fact, compilation goes fine, but then when I try to preview, and I get

$ xdvi a
$ kpathsea: Running mktexpk --mfmode ljfivemp --bdpi 600 --mag 1+0/600
--dpi 600 pbkl7t
mktexpk: Running mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input
pbkl7t
This is METAFONT, Version 2.7182 (Web2C 7.3.1)

kpathsea: Running mktexmf  pbkl7t
! I can't find file `pbkl7t'.
* ...mp; mag:=1+0/600; nonstopmode; input pbkl7t
  
Please type another input file name
! Emergency stop.
* ...mp; mag:=1+0/600; nonstopmode; input pbkl7t
  
Transcript written on mfput.log.
grep: pbkl7t.log: No such file or directory
mktexpk: `mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input pbkl7t'
failed to make pbkl7t.600pk.
kpathsea: Appending font creation commands to missfont.log.
xdvi.bin: can't find font pbkl7t; using cmr10 instead at 600 dpi.

I have 

$ find /usr/local/teTeX/texmf -name "*pbkl7t*"
/usr/local/teTeX/texmf/fonts/tfm/adobe/bookman/pbkl7t.tfm
/usr/local/teTeX/texmf/fonts/vf/adobe/bookman/pbkl7t.vf

What search paths should I look at?

I have the latest stable version of teTeX.

Thx

Mate



Re: problems with bookman.sty

2000-11-22 Thread Mate Wierdl

On Wed, Nov 22, 2000 at 10:38:41PM +0100, Thomas Esser wrote:
  $ xdvi a
  $ kpathsea: Running mktexpk --mfmode ljfivemp --bdpi 600 --mag 1+0/600
  --dpi 600 pbkl7t
  mktexpk: Running mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input
  pbkl7t
 
 The problem is that xdvi does not find pbkl7t.vf. Does some environment
 variable force xdvi to use a wrong search path? Use KPATHSEA_DEBUG to
 find out more about this problem if your environment is ok...

So I set  KPATHSEA_DEBUG="-1", and ran

xdvi a  xdvi-out 

I put xdvi-out on the web as

http://moni.msci.memphis.edu/~mw/xdvi-out.txt

I see the weird

kdebug:Search path for vf files (from texmf.cnf)
kdebug:  = 
.:/home/mw/texmf/fonts/vf//:!!/usr/local/teTeX/bin/texmf.local/fonts/vf//:!!/usr/local/teTeX/bin/texmf/fonts/vf//

This is puzzling since texconfig confall has 

kdebug:Search path for vf files (from texmf.cnf)
kdebug:  =
.:/home/mw/texmf/fonts/vf//:!!/usr/local/teTeX/texmf.local/fonts/vf//:!!/usr/local/teTeX/texmf/fonts/vf//

One more thing from `texconfig confall'

kdebug:Search path for cnf files (from compile-time paths.h)
kdebug:  =
/usr/local/teTeX/bin:/usr/local/teTeX:/usr/local:/usr/local/teTeX/bin/share/texmf.local/web2c:/usr/local/teTeX/share/texmf.local/web2c:/usr/local/share/texmf.local/web2c:/usr/local/teTeX/bin/texmf.local/web2c:/usr/local/teTeX/texmf.local/web2c:/usr/local/texmf.local/web2c:/usr/local/teTeX/bin/share/texmf/web2c:/usr/local/teTeX/share/texmf/web2c:/usr/local/share/texmf/web2c:/usr/local/teTeX/bin/texmf/web2c:/usr/local/teTeX/texmf/web2c:/usr/local/texmf/web2c::/usr/local/teTeX/texmf/web2c:/usr/local/teTeX/texmf/web2c

Do all these `bin' components look normal?

I get

$ grep bin /usr/local/teTeX/texmf/web2c/texmf.cnf 
% a program that uses the 'other text files' or 'other binary files'

This is it.

Finally, these are my installation notes:

Unpack, compile:

mkdir -p /usr/local/teTeX/texmf
tar zxvfp  teTeX-texmf-1.0.tar.gz -C /usr/local/teTeX/texmf
tar zxvf teTeX-src-1.0.tar.gz
cd teTeX-1.0

Edit texk/kpathsea/texmf.in and 

texk/kpathsea/mktex.cnf:
: ${MT_FEATURES=appendonlydir:varfonts}
: ${MODE=ljfivemp}

./configure --disable-multiplatform
sh -c 'make world world.log 21' 

Thx for any suggestions,

Mate



Re: problems with bookman.sty

2000-11-23 Thread Mate Wierdl

On Thu, Nov 23, 2000 at 08:55:32AM +0100, Thomas Esser wrote:
 Hi Mate,
 
 is xdvi installed in the same directory as kpsewhich? I guess not and
 I guess that this is the problem. Please, check that the location is ok
 and that the right programs are found along $PATH.

I have 

which xdvi
/usr/local/teTeX/bin/xdvi

which kpsewhich
/usr/local/teTeX/bin/kpsewhich

Anyways, I will just recompile/reinstall.

Mate



still problems with bookman

2000-12-08 Thread Mate Wierdl

About two weeks ago I reported this problem.  I now recompiled and
reinstalled teTeX---and still get the exact same errors.

So here is the problem:

I create a brand new user, tetex; I do

su - tetex

and create the file try.tex as:

\documentclass{article}
\usepackage{bookman}
\begin{document}
Hi
\end{document}

Then I do

latex try
xdvi try

and I get 

 kpathsea: Running mktexpk --mfmode ljfivemp --bdpi 600 --mag 1+0/600
 --dpi 600 pbkl7t
mktexpk: Running mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input
pbkl7t
This is METAFONT, Version 2.7182 (Web2C 7.3.1)

kpathsea: Running mktexmf  pbkl7t
! I can't find file `pbkl7t'.
* ...mp; mag:=1+0/600; nonstopmode; input pbkl7t
  
Please type another input file name
! Emergency stop.
* ...mp; mag:=1+0/600; nonstopmode; input pbkl7t
  
Transcript written on mfput.log.
grep: pbkl7t.log: No such file or directory
mktexpk: `mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input pbkl7t'
failed to make pbkl7t.600pk.
kpathsea: Appending font creation commands to missfont.log.
xdvi.bin: Can't find font pbkl7t.600pk
xdvi.bin: Not all pixel files were found

Of course, I have 

find /usr/local/teTeX/ -name "*pbkl7t*"
/usr/local/teTeX/texmf/fonts/tfm/adobe/bookman/pbkl7t.tfm
/usr/local/teTeX/texmf/fonts/vf/adobe/bookman/pbkl7t.vf

Here are my exact installation notes:

-
URL: 

ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/

Unpack, compile:

mkdir -p /usr/local/teTeX/texmf
tar zxvfp  teTeX-texmf-1.0.tar.gz -C /usr/local/teTeX/texmf
tar zxvf teTeX-src-1.0.tar.gz
cd teTeX-1.0

./configure --disable-multiplatform
sh -c 'make world world.log 21' 

-

Then I changed texmf.cnf; the diff from the original is at 

http://thales.memphis.edu/~tetex/texmf.cnf.diff.txt

The output of 

texconfig confall 

is at 

http://thales.memphis.edu/~tetex/texconfig.confall.txt

The output of 

strace xdvi try  xdvi.strace.out  21

is at

http://thales.memphis.edu/~tetex/xdvi.strace.out.txt

I have

[tetex@thales tetex]$ echo $PATH
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/clockspeed/bin:/usr/local/sbin:/var/qmail/bin:/usr/local/teTeX/bin:/home/tetex/bin

[tetex@thales tetex]$ which xdvi
/usr/local/teTeX/bin/xdvi

My system is a RedHat 7.0 Linux (kernel-2.2.16). 

Thx for any help.
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



Re: still problems with bookman

2000-12-10 Thread Mate Wierdl

On Sat, Dec 09, 2000 at 10:00:50AM +0100, Thomas Esser wrote:
 Hi Mate,
 
 I just have noticed, that you have unsuccessfully tried to extend the
 TEXMF list. You did uncomment
   TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME}
 but you did not comment
   TEXMF = !!$TEXMFMAIN
 
 (the same problem for TEXMFDBS I guess).
 
 In the kpathsea world, the first match wins...

Indeed, this was an error on my part.  So now I copied back the
original texmf.cnf (created by the installation), ran texhash,

# texhash
texhash: Updating /usr/local/teTeX/texmf/ls-R... 
texhash: Updating /var/tmp/texfonts/ls-R... 
texhash: Done.

 but I still get the same errors from xdvi.  The texmf.cnf I am using
is now

http://thales.memphis.edu/~tetex/texmf.cnf.txt

I also have a brand new strace output at 

http://thales.memphis.edu/~tetex/xdvi.strace.out.txt

and I put /usr/local/teTeX/texmf/ls-R on the web as 

http://thales.memphis.edu/~tetex/ls-R.texmf.txt

though I do see 

./fonts/tfm/adobe/bookman:
[...]
pbkl7t.tfm

./fonts/vf/adobe/bookman:
[...]
pbkl7t.vf

in /usr/local/teTeX/texmf/ls-R.

Just in case, I  put /var/tmp/texfonts/ls-R as

http://thales.memphis.edu/~tetex/ls-R.var.txt

Finally, find the output of 

texconfig confall 

as

http://thales.memphis.edu/~tetex/texconfig.confall.txt

I'd like to point out that the problem seems to be a general one: if
instead of bookman, I try to use the times package:

\documentclass{article}
\usepackage{times}
\begin{document}
Hi
\end{document}

I get similar errors:

xdvi try
kpathsea: Running mktexpk --mfmode ljfivemp --bdpi 600 --mag 1+0/600
--dpi 600 ptmr7t
mktexpk: Running mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input
ptmr7t
This is METAFONT, Version 2.7182 (Web2C 7.3.1)

kpathsea: Running mktexmf  ptmr7t
! I can't find file `ptmr7t'.
* ...mp; mag:=1+0/600; nonstopmode; input ptmr7t
  
Please type another input file name
! Emergency stop.
* ...mp; mag:=1+0/600; nonstopmode; input ptmr7t
  
Transcript written on mfput.log.
grep: ptmr7t.log: No such file or directory
mktexpk: `mf \mode:=ljfivemp; mag:=1+0/600; nonstopmode; input ptmr7t'
failed to make ptmr7t.600pk.
kpathsea: Appending font creation commands to missfont.log.
xdvi.bin: Can't find font ptmr7t.600pk
xdvi.bin: Not all pixel files were found

I'd like to emphasize I do not have any problems printing since I have
a PostScript printer.

Thx for any help.  In particular, it would be great if somebody would
try my config on a RH 7.0 system (without a modified kpathsea.a):

mkdir -p /usr/local/teTeX/texmf
tar zxvfp  teTeX-texmf-1.0.tar.gz -C /usr/local/teTeX/texmf
tar zxvf teTeX-src-1.0.tar.gz
cd teTeX-1.0

./configure --disable-multiplatform
sh -c 'make world world.log 21' 

Finally, let me know if I should take this off the list.

Mate




now I think this is a bug

2000-12-10 Thread Mate Wierdl

So I decided to reinstall teTeX without doing any configuration:

# rm -rf  /usr/local/teTeX/
# mkdir -p /usr/local/teTeX/share/texmf
# gzip -dc teTeX-texmf-1.0.tar.gz | (umask 0; cd /usr/local/teTeX/share/texmf; tar xf 
-)
# gzip -dc teTeX-src-1.0.tar.gz | tar xvf -
# cd teTeX-1.0
# sh -c './configure configure.log 21' 
# sh -c 'make world world.log 21' 

Then I set 

export PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH

and get

latex try
This is TeX, Version 3.14159 (Web2C 7.3.1)
I can't find the format file `latex.fmt'!

OK, so I try to run texconfig, but I get 

# texconfig 
Error: file texmf.cnf not found in
``/usr/local/teTeX/bin/i686-pc/share/texmf/web2c''.
TEXMFMAIN ``/usr/local/teTeX/bin/i686-pc/share/texmf'' seems to have
the wrong value from a texmf.cnf file.

This is weird since the binaries are installed in 

/usr/local/teTeX/bin/i686-pc-linux-gnu

so I do not see where `i686-pc' is coming from.
Indeed,

# ls /usr/local/teTeX/bin/
i686-pc-linux-gnu/


Since somebody asked:

# rpm -q glibc
glibc-2.2-5

I'll be glad to debug this---if you give me some pointers.

Mate



Re: now I think this is a bug

2000-12-11 Thread Mate Wierdl

On Mon, Dec 11, 2000 at 07:47:50AM +0100, Thomas Esser wrote:
  export PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH
 ...
  TEXMFMAIN ``/usr/local/teTeX/bin/i686-pc/share/texmf'' seems to have
 
 Whow. Cool. Can you please
   $ kpsewhich -expand-var='$SELFAUTOLOC -- $SELFAUTODIR -- $SELFAUTOPARENT'
 
 I, for example, get the following output:
   /x/t/i/teTeX/bin/i586-pc-linux-gnu -- /x/t/i/teTeX/bin -- /x/t/i/teTeX
 
 You should get
   /usr/local/teTeX/bin/i686-pc-linux-gnu -- /usr/local/teTeX/bin -- /usr/local/teTeX

# kpsewhich -expand-var='$SELFAUTOLOC -- $SELFAUTODIR -- $SELFAUTOPARENT' 
/usr/local/teTeX/bin/i686-pc-linux-gnu --   /usr/local/teTeX/bin/i686-pc-linux -- 
/usr/local/teTeX/bin/i686-pc

 
  # rpm -q glibc
  glibc-2.2-5
  
  I'll be glad to debug this---if you give me some pointers.
 
 This glibc is a very recent version. So, the rest of your system is
 likely to be very "bleeding edge", too?

This glibc is the official update of RH to their 7.0 distro.  I have
absolutely nothing on my system which is not official RH (except tetex).

 
 Well, I suspect that we run into some compiler bug here...
 

I have 

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 2731 (Red Hat Linux 7.0)

Mate



Re: now I think this is a bug

2000-12-11 Thread Mate Wierdl

On Mon, Dec 11, 2000 at 12:51:38PM +, Joao Palhoto Matos wrote:
 On Mon, 11 Dec 2000, Thomas Esser wrote:
 
  This glibc is a very recent version. So, the rest of your system is
  likely to be very "bleeding edge", too?
 
  Well, I suspect that we run into some compiler bug here...
 
  Thomas
 
 
 Hi again:
 
 This is the same problem I had reported on some time ago. It's probably a
 gcc 2.96 bug and simply affects libkpathsea.a (and any binaries dependent
 on this). Probably one can bypass it by replacing libkpathsea.a by a
 version compiled on a RH 6.2 system (egcs-2.91.66) and "make clean; make"
 in the affected directories. For me it worked for xdvi. I don't have the
 time or knowledge to investigate this further.

But I reported a bug in xdvi (compiled on my RH 6.2 system) when tried
to run it on my RH 7.0 system.

Mate



Re: now I think this is a bug

2000-12-11 Thread Mate Wierdl

On Mon, Dec 11, 2000 at 09:58:13AM +0100, Harald Hanche-Olsen wrote:
 + Mate Wierdl [EMAIL PROTECTED]:
 
 | So I decided to reinstall teTeX without doing any configuration:
 | 
 | # rm -rf  /usr/local/teTeX/
 | # mkdir -p /usr/local/teTeX/share/texmf
 | # gzip -dc teTeX-texmf-1.0.tar.gz | (umask 0; cd /usr/local/teTeX/share/texmf; tar 
xf -)
 | # gzip -dc teTeX-src-1.0.tar.gz | tar xvf -
 | # cd teTeX-1.0
 | # sh -c './configure configure.log 21' 
 | # sh -c 'make world world.log 21' 
 
 To me, this indicates that you ran make world without waiting for the
 configure run to complete.  If so, it's a miracle the make even got
 off the ground, let alone the miracle it would be to have a working
 setup afterwords.  And if you did wait, why this convoluted way of
 running the commands?
 

I just wrote down the exact commands as I executed them.  I did have
other commands (like `tail -f configure.log) which I did not write
down in the email.  In particular, I did wait for the configure script
to finish.


Mate



Re: now I think this is a bug

2000-12-11 Thread Mate Wierdl

If I turn off optimization, all is well (xdvi is working fine too).
So I just did

env CC=cc  CFLAGS='-g' \
sh -c './configure --prefix=/usr/local/teTeX configure.log 21' 

Mate
On Mon, Dec 11, 2000 at 10:28:46PM +0100, Thomas Esser wrote:
  # kpsewhich -expand-var='$SELFAUTOLOC -- $SELFAUTODIR -- $SELFAUTOPARENT' 
  /usr/local/teTeX/bin/i686-pc-linux-gnu --   /usr/local/teTeX/bin/i686-pc-linux -- 
/usr/local/teTeX/bin/i686-pc
 
 Looks very broken. This sould be impossible. Look at the kpathsea code
 (progname.c, I think). Must be a compiler bug.
 
  This glibc is the official update of RH to their 7.0 distro.  I have
  absolutely nothing on my system which is not official RH (except tetex).
 ...
  # gcc -v
  Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
  gcc version 2.96 2731 (Red Hat Linux 7.0)
 
 And still: I think that your compiler is broken.
 
 Thomas

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis