texconfig from beta-20021017 does not run with system dialog utility

2002-10-22 Thread Michail Vidiassov
Dear Thomas,
if teTeX is compiled without dialog, system dialog is not used
when texconfig is run without arguments.
When checking if it is OK to use dialog,
texconfig checks for tcdialog utility only.
The result of find_dialogtype is ignored.
Thus if tcdialog was not compiled the check fails and argument
help is assumed.
A patch fixing the problem follows.
  Sincerely, Michail
--- texconfig.orig  Mon Oct 21 15:10:52 2002
+++ texconfig   Mon Oct 21 16:33:28 2002
 -1864,8 +1864,12 
 EDIT=${VISUAL-${EDITOR-$std_editor}}
 PAGER=${PAGER-$std_pager}

-check_for_binary tcdialog /dev/null
-dialogok=$?
+if test -n $DIALOG_PROG; then
+  dialogok=0
+else
+  check_for_binary tcdialog /dev/null
+  dialogok=$?
+fi

 # we have called some shellfunctions, so for HP-UX's shell, we need
 # to set the positional parameters this again:



Re: texi2pdf

2002-10-22 Thread Thomas Esser
 Well, I've been trying to create PDF from a .texi document where makeinfo and 
 texi2html work fine.  But, texi2pdf always fails.  I'm attaching the document 
 which is part of the emacs package ESS as an example.  Any help would be 
 appreciated.  Thanks.

That seems to be an invalid texinfo source file. texi2dvi does not run,
either.

The documentation contained in
  ftp://ftp.stat.math.ethz.ch/Software/emacs/ESS/ess-5.1.20.tar.gz
works fine with texi2pdf:
  cd ess-5.1.20/doc
  texi2pdf readme.texi
  texi2pdf ess.texi 

Thomas