teTeX-2.0.2: another texconfig fix

2003-03-01 Thread Thomas Esser
texconfig should no longer try to call "fmtutil --byfmt mfw". Doing
so gives
  fmtutil: no info for format `mfw'
(but does not cause any harm).

The following patch fixes this.

Thomas

--- 2.0.2/texk/tetex/texconfig  Sat Mar  1 10:13:18 2003
+++ texk/tetex/texconfigSat Mar  1 16:05:23 2003
@@ -443,7 +443,6 @@
 {
   echo "Running mf to create plain base ..."
   fmtutil --byfmt mf
-  fmtutil --byfmt mfw
   echo "Done."; echo
 }
 


teTeX-beta-20030228

2003-02-28 Thread Thomas Esser
Hi,

while I maintain fixes for teTeX-2.0, the development for the next version
has already started. Olaf Weber has released web2c-7.5.[012] and made the
move to libtool, adopted Knuth's latest tex.web and included eomega. Other
than Olaf's changes, this beta is at the level of teTeX-2.0.2.

>From Olaf's announces:

Changes compared to 7.4.6:
- libtool
- new sources from DEK (to merge with e-TeX, I effectively had to back
  out DEK's leaders fix).
- little fixes
- fix bug in kpathsea that caused coredumps during file search.
- picking nits in the confgure stuff
- picking nits in the makefiles _and_ in the *dir/*.mk makefile
  fragments.
- The omega 1.23.4 tree (might be broken now)

Use this beta with caution. There is no texmf tree included; just
use one of teTeX-2.0 or later.

Files:
  ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/tetex-src-beta-20030228.tar.gz
or
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/tetex-src-beta-20030228.tar.gz

Thomas


Re: teTeX-2.0.1

2003-02-17 Thread Thomas Esser
> --- texk/etc/autoconf/acspecific.m4.orig  Mon Feb  3 18:47:42 2003
> +++ texk/etc/autoconf/acspecific.m4   Mon Feb  3 18:48:02 2003
> @@ -1754,7 +1754,7 @@
>  #ifdef HAVE_SYS_SOCKET_H
>  #include 
>  #endif
> -extern select 
>($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
> +extern int select 
>($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
>  [ac_not_found=no ; break 3],ac_not_found=yes)
>done
>   done
> @@ -2519,7 +2519,7 @@
># Don't add to $LIBS permanently.
>ac_save_LIBS="$LIBS"
>LIBS="-l$x_direct_test_library $LIBS"
> -AC_TRY_LINK(, [${x_direct_test_function}()],
> +AC_TRY_LINK([#include ], [${x_direct_test_function}(1)],
>  [LIBS="$ac_save_LIBS"
>  # We can link X programs with no special library path.
>  ac_x_libraries=],

I applied that patch "by hand" for teTeX-2.0.1 and I overlooked the
argument to ${x_direct_test_function}:
  AC_TRY_LINK([#include ], [${x_direct_test_function}()],

Sorry...

Thomas



teTeX-2.0.1

2003-02-15 Thread Thomas Esser
===
   teTeX 2.0.1
===

  This is the announce of teTeX-2.0.1, a TeX distribution for UNIX
  compatible systems.


===
  General disclaimer:
===

This is a bugfix release, with only a few changes. See the file 
ANNOUNCE-2.0 for more information.

===
  Changes in this release:
===

In the src tarball:
* fix a bug that I introduced in dvipdfm (in my attempt to
  stop using the return value of sprintf)
* fix a configure bug in texinfo
* add dvipdft script to dvipdfm
* \usepackage{palatcm} for TETEXDOC
* fix a bug in texdoctk related to calling a web browser
* texk/kpathsea/Makefile.in: use % instead of @ (AFS fix)
* "fmutuil --enablefmt" no longer returns error code if format is
  already enabled
* mv tcdialog support files from texmf to src tarball
* remove DO_TEXLINKS variable from texconfig
* update texk/etc/texinfo.tex
* make usre that mf-nowin works without mf
* additions to INSTALL by Harald Harders (thanks!)
* texinfo update: 4.4 + bugfix -> 4.5
* fix minor typo in texconfig
* use "tex --parse-first-line" in makempx.in
* small fixes to texk/etc/autoconf/acspecific.m4
* fix updmap for CM-Super fonts
* portability fix for libs/t1lib/t1lib.ac
* small updates to texk/tetex/doc

In the texmf tarball:
* was package added
* update Catalogue
* update tex/texinfo/texinfo.tex
* mv tcdialog support files from texmf to src tarball
* add afm files for tx/pxfonts
* update endnotes.sty
* update tocbibind, wrapfig, uktug-faq
* updatex doc/help/tds.dvi
* remove ragged2e.bug

===
  The files / installation
===

  You can get teTeX-2.0.1 from the following server:
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/   (UK)

  Other servers will follow shortly:
ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/ (GER)
ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/   (US)

  A full list of mirrors is available here:
ftp://cam.ctan.org/tex-archive/CTAN.sites

  From these servers, you need the following files for teTeX-2.0:

  sources of the programs (required):
==> tetex-src-2.0.1.tar.gz

  support tree with fonts / macros (required):
==> tetex-texmf-2.0.1.tar.gz

  sources for parts of the texmf tarball (optional):
==> tetex-texmfsrc-2.0.1.tar.gz

  The installation instructions are included in the tetex-src-2.0.1.tar.gz
  archive as files INSTALL (complete instructions) and QuickInstall
  (short version).


Thomas Esser, February 2003



Re: texinfo configure bug

2003-02-15 Thread Thomas Esser
> I found a bug in the texinfo configure script, causing the test for
> for library with termcap variables always to fail.  Here's a patch.

I don't get it. How can this work without ; after UP++ ?

So, after adding that ; and the [...] in configure.ac and running
  ./configure; make; make distclean; rm -rf autom4te.cache
I get the following diff (against texinfo-4.5 BTW). Finally, it has
properly detected my curses lib.

Thomas

diff -ru /build/texinfo-4.5/configure ./configure
--- /build/texinfo-4.5/configureWed Feb  5 01:43:10 2003
+++ ./configure Sun Feb 16 01:29:51 2003
@@ -6462,7 +6462,12 @@
 #endif
 #endif
 /* Make sure all variables actually exist.  AIX 4.3 has ospeed but no BC.
-   --Andreas Ley <[EMAIL PROTECTED]>
+   --Andreas Ley <[EMAIL PROTECTED]>, 24 Aug 2000.  */
+BC++;
+UP++;
+PC++;
+return ospeed != 0;
+
   ;
   return 0;
 }
@@ -6479,17 +6484,11 @@
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  24 Aug 2000.  */
-BC++;
-UP++
-PC++;
-return ospeed != 0;
-
+  ac_cv_var_ospeed=$trylib; break
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
-ac_cv_var_ospeed=$trylib; break
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 done
diff -ru /build/texinfo-4.5/configure.ac ./configure.ac
--- /build/texinfo-4.5/configure.ac Wed Feb  5 01:40:19 2003
+++ ./configure.ac  Sun Feb 16 01:29:26 2003
@@ -105,7 +105,7 @@
  LIBS="$oldLIBS -l$termlib"
fi
AC_TRY_LINK(, 
-#ifdef HAVE_NCURSES_TERMCAP_H
+[#ifdef HAVE_NCURSES_TERMCAP_H
 #include 
 #else
 #ifdef HAVE_TERMCAP_H
@@ -121,10 +121,10 @@
 /* Make sure all variables actually exist.  AIX 4.3 has ospeed but no BC.
--Andreas Ley <[EMAIL PROTECTED]>, 24 Aug 2000.  */
 BC++;
-UP++
+UP++;
 PC++;
 return ospeed != 0;
-, ac_cv_var_ospeed=$trylib; break)
+], ac_cv_var_ospeed=$trylib; break)
 done
 LIBS=$oldLIBS
 )
diff -ru /build/texinfo-4.5/doc/stamp-1 ./doc/stamp-1
--- /build/texinfo-4.5/doc/stamp-1  Wed Feb  5 01:44:46 2003
+++ ./doc/stamp-1   Sun Feb 16 01:30:22 2003
@@ -1,4 +1,4 @@
-@set UPDATED 5 November 2002
+@set UPDATED 6 November 2002
 @set UPDATED-MONTH November 2002
 @set EDITION 4.5
 @set VERSION 4.5
diff -ru /build/texinfo-4.5/doc/version-stnd.texi ./doc/version-stnd.texi
--- /build/texinfo-4.5/doc/version-stnd.texiWed Feb  5 01:44:46 2003
+++ ./doc/version-stnd.texi Sun Feb 16 01:22:03 2003
@@ -1,4 +1,4 @@
-@set UPDATED 5 November 2002
+@set UPDATED 6 November 2002
 @set UPDATED-MONTH November 2002
 @set EDITION 4.5
 @set VERSION 4.5



Re: mpost problem

2003-02-04 Thread Thomas Esser
> and changing this to:
>parse_first_line = t
> would make things work again.

Sure, but I suggest to give the user a real "TeX" by default. If he
wants to change this default, that's his decision...

> Further, he advised to add to the beginning of /usr/bin/makempx 
>parse_first_line=t
>export parse_first_line
> to prevent this going wrong for other people.

A better fix was suggested by Olaf Weber:

--- orig/texk/web2c/mpware/makempx.in   Fri Oct 26 15:22:46 2001
+++ texk/web2c/mpware/makempx.inTue Feb  4 18:31:57 2003
@@ -15,7 +15,7 @@
 : ${MPTOTEX="mpto -tex"}
 : ${MPTOTR="mpto -troff"}
 : ${NEWER=newer}
-: ${TEX=tex}
+: ${TEX=tex --parse-first-line}
 : ${TROFF='eqn -d\$\$ | troff -Tpost'}
 
 # convert relative path to absolute in $MAKEMPX_BINDIR:

Thomas



updmap + cm-super

2003-02-03 Thread Thomas Esser
Bob Tennent notified by, that updmap (in teTeX-2.0) generates wrong
output for the map files of cm-super for dvipdfm. The following patch
should fix this (and other cases where the name of the .enc file contains
characters other than [A-Za-z0-9]).

Thomas

--- updmap-2.0  Sat Feb  1 18:57:18 2003
+++ updmap  Tue Feb  4 06:25:31 2003
@@ -734,9 +734,9 @@
 {
   sed -e 's@$@ %@' \
   -e 's@^\(\([^ ]*\).*\)@\1\2@' \
-  -e 's@\(.*[^A-Za-z0-9]\([^ ]*\)\.enc\(.*\)\)@\1 \2@' \
+  -e 's@\(.*<\[* *\([^ ]*\)\.enc\(.*\)\)@\1 \2@' \
   -e '/%[^ ]*$/s@$@ default@' \
-  -e 's@\(.*[^A-Za-z0-9]\([^ ]*\)\.pf[ab].*\)@\1 \2@' \
+  -e 's@\(.*<<* *\([^ ]*\)\.pf[ab].*\)@\1 \2@' \
   -e '/%[^ ]* [^ ]*$/s@\( \([^ ]*\).*\)$@\1 \2@' \
   -e 's@\(.* \([.0-9-][.0-9-]*\) *ExtendFont.*\)@\1 -e \2@' \
   -e 's@\(.* \([.0-9-][.0-9-]*\) *SlantFont.*\)@\1 -s \2@' \



Re: teTeX-2.0

2003-02-03 Thread Thomas Esser
> what's the reason that you changed file names of the archives and
> of the toplevel directory from teTeX-src-2.0 to tetex-src-2.0 
> only about two days before release in rc2 ?

A challenge for people who depend on these names :-)

> I really like and try seeing TeX not being spelled "tex" -- and even worse,
> it broke my scripts for automated builds... ;-)

There is no really good reason. Axel Thimm told me something about
standars in rpm names and that made me think about my archive names
(don't get me wrong: Axel has not suggested that I change the naming
convention; it was my own idea).

Thomas



teTeX-2.0

2003-02-02 Thread Thomas Esser
Well, a long time has been around since teTeX-1.0 ... I hereby proudly
presend:

===
   teTeX 2.0
===

  This is the announce of teTeX-2.0, a TeX distribution for UNIX
  compatible systems.


===
  Main features of teTeX-2.0:
===

- included files reviewed for license problems; teTeX now is free software!
- program packages: web2c 7.4.5, pdfTeX 1.10a, e-TeX 2.1,  Omega 1.23.2.1,
  xdvik 22.40v, dvipsk 5.92b, dviljk 2.6p2, dvipdfm 0.13.2c, ps2pk 1.5,
  makeindex 2.14, texinfo 4.4, texconfig 2.0, updmap 2.0, texdoctk
- main TeX formats:
  plain.tex 3.14159265, LaTeX2e <2001/06/01>, ConTeXt 2003.1.31
- TDS (TeX Directory Structure) compliant support tree
  with fonts / macros / documentation: 150 MB, >11000 files
- easy to install and to customize, even for a multi-platform setup
- ready for producing resolution independent (bitmap free) postscript or
  pdf documents (including thumbnails, hyperlinks and bookmarks)

For release notes, please look at ./NEWS inside the tetex-src tarball.


===
  Legal notice / license
===

  teTeX is free software. Individual files and sub-packages are copyright
  by different authors, but I have taken care that everything is free
  software as defined by the free software foundation:
  http://www.gnu.org/philosophy/free-sw.html


===
  The files / installation
===

  You can get teTeX-2.0 from the following server:
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/   (UK)

  Other servers will follow shortly:
ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/ (GER)
ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/   (US)

  A full list of mirrors is available here:
ftp://cam.ctan.org/tex-archive/CTAN.sites

  From these servers, you need the following files for teTeX-2.0:

  sources of the programs (required):
==> tetex-src-2.0.tar.gz

  support tree with fonts / macros (required):
==> tetex-texmf-2.0.tar.gz

  sources for parts of the texmf tarball (optional):
==> tetex-texmfsrc-2.0.tar.gz

  The installation instructions are included in the tetex-src.tar.gz
  archive as files INSTALL (complete instructions) and QuickInstall
  (short version).


===
  Windows and MacOS X versions
===

  I don't maintain such ports myself, but you can get them here:
Windows (win32)http://www.fptex.org/
MacOS X (darwin)   http://www.rna.nl/tex.html


===
  Documentation / getting started
===

  teTeX contains a lot of documentation about the packages it includes.
  For a start, please look at
texmf/doc/tetex/TETEXDOC.{ps,pdf,dvi}
  and
texmf/doc/index.html
  texmf means the directory in which you have unpacked the tetex-texmf
  tarball during the installation process


===
  De-support of repacked and binary distribution
===

  Unlike previous releases, I don't plan to make binary releases or
  sub-packges of the texmf tarball. Lots of other projects and people
  provide teTeX in repacked and compiled form and I am willing to maintain
  links to such resources on teTeX's web page. I think that I will do
  a better service to the TeX community by concentrating on the three
  tarballs (src, texmf, texmfsrc) and shorter release cycles, than by
  providing binaries and repacking the distribution.


===
  Mailing lists / web pages:
===

  Mailing lists:
for discussion:[EMAIL PROTECTED]
for announcements: [EMAIL PROTECTED]

  Related web pages:
http://tug.org/teTeX/
http://www.pdftex.org/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
http://www.dante.de/
http://tug.org/
http://www.pragma-ade.com/

Have fun!

Thomas Esser, February 2003



Re: Possible byte-order problems in TeX format files with -rc1

2003-02-02 Thread Thomas Esser
> I'm sharing format, pool and base files between a sparc64 (32-bit
> userspace) box and an i386 box --- or I was; but between 20021225 and
> -rc1, the byte-order independence of these files has broken, even
> without NO_DUMP_SHARE; all .base, .fmt. .efmt and .mem files differ
> between those platforms now.

Do you get error messages when trying to use a format file from platform
x on platform y? If yes, can you provide a testcase for me?

> This could be due to the hanging instance of NO_FMTBASE_SHARE (which
> should be NO_DUMP_SHARE) in config.h, but since I don't have 64-bit

That really looks like a bug.

I have just successfully used a i366-linux generated format file
(tex.fmt and latex.fmt) on a sparc-solaris. So, I don't see anything
wrong...

Thomas



Re: texmfsrc LICENSE

2003-02-01 Thread Thomas Esser
> fixed the problem. I recommend upgrading all config.guess/config.sub
> files in the tree.

Done, thanks.

> I'm also testing on Solaris, HP-UX, IRIX, Redhat Linux, and AIX. I'm
> out for the rest of the day but will continue tomorrow.

Good. omega is known to be broken due to obsolete files in the texmf tree.
Anybody who wants to test it should get
  http://www-b.informatik.uni-hannover.de/~te/omega-update.tar.gz
and unpack it in the texmf tree.

On RedHat, please try lambda on the following file (but make sure to get the
omega-update first):
  \documentclass{article}
  \usepackage{trace}
  \begin{document}
  \traceon
  \leavevmode
  X\font\test cmbx10\relax
  X
  \end{document}
and let me know if it works (or loops with outputting [] forever).

Thomas



Re: texmfsrc LICENSE

2003-02-01 Thread Thomas Esser
> I'd like to see it at the toplevel, under a different name. It's
> easier to find this way.

Good idea. I will now name the three license files according to their
tarball: LICENSE.src LICENSE.texmf and LICENSE.texmfsrc.

The file LICENSE.texmfsrc will not start with:
  The files within the source directory are all...
  ...

Thanks for your feedback.

BTW: I wonder if anybody has successfully compiled and/or tested rc2. I
did not get much feetback yet...

Thomas



Re: teTeX-2.0 - second release candidate

2003-01-31 Thread Thomas Esser
> > * texbook.tex / mfbook.tex removed (license, argh!)
> 
> Definitely the right thing to do.  If you have found them on CTAN in a
> location outside of the "nonfree" tree, you should notify the CTAN
> maintainers: it would be definitely not nice to Addison Wesley and
> Knuth to suggest by a bad placement of those files that people were
> allowed to use them freely.

Robin, are you listening?

Thomas



teTeX-2.0 - second release candidate

2003-01-31 Thread Thomas Esser
Hi,

this is the second release candidate for teTeX-2.0. I have put the files to
my server, but they'll soon be available for download at CTAN:

  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-src-2.0-rc1.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmf-2.0-rc1.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmfsrc-2.0-rc1.tar.gz
or
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-src-2.0-rc1.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmf-2.0-rc1.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/2.0/distrib/tetex-texmfsrc-2.0-rc1.tar.gz

All sources and texmf files should be ready for release, except teTeX
specific documentation (which I am still working on). xdvik is 22.40v-RC2,
but only the documentation will change for the 22.40v release.

If all is good, I'll make the teTeX-2.0 release this weekend.

ChangeLog entries:

src tarball:
* new version number for Omega
* fix texconfig for ULTRIX' /bin/sh5
* merge updates from web2c 7.4.5 (from Olaf)
* fix bugs in pdftosrc (by Olaf Weber)
* irgnore error in libs/ncurses/Makefile.in; for ULTRIX
* boundig-box bugfix in dvips
* help string and doc bugfix in dvips
* texconfig --help fix
* portability fixes: strdup -> xstrdup in omega, pdftex and xdvi
* xdvi update to 22.40v-RC1
* libwww: disable appkit header
* update config.sub / config.guess from ftp.gnu.org
* add missing \ in install-exec target (top-level Makefile)
* distclean now removes libs/xpdf/config.cache and
  libs/config.cache
* make -> $(MAKE) in texk/web2c/pdftexdir/pdftex.mk

texmf tarball:
* LICENSE added
* texinfo.tex updated
* uktug-faq updated
* aliases file updated for lucida bright metrics
* texbook.tex / mfbook.tex removed (license, argh!)
* update texinfo.tex
* update Catalogue
* update koma-script
* updated platex docs, mimulcol.tex, verbatim.tex
* plain tex support for mathtime removed (license problem)
* update koma-script
* update Catalogue
* ConTeXt documentation is back: ms-cb-en.pdf
* update wrapfig
* update context
* update texinfo.tex
* update ragged2e
* update footmisc
* update support files for lucida bright
* update fontname maps
* update Catalogue
* update hyperref
* update CTAN.sites
* plain.tex version 3.14159265 (from Knuth)
* updated texbook.tex, errata.tex (from Knuth)
* updated tocbibind package
* small update on texdoctk database (texdoc.dat)
* moved epsf.tex to tex/generic/misc
* update tex/plain/misc/fontchart.tex
* update shapepar
* update tocloft package

Thomas



LICENSE for src tarball

2003-01-31 Thread Thomas Esser
The same for the src tarball. The license is somewhat different.
Comments welcome.

Thomas

--
The files within this directory are all free software. Most of these
files are copyright by some author(s), but I have taken care that
the following conditions are true:
  - all files can be distributed: no license fee is required
  - using these files (even for commercial purpose) is not restricted
  - modification of files is allowed or an existing translation scheme
effectively makes modification unnecessary. E.g. Knuth's WEB files
must not be changed, but the build process allows you to use change
the generated .c files by change files. Please, check the license
of a file befory you do modifications; you might need to mark those
modifications or to rename the program.
  - the distribution of modified files and subsets of these files is
allowed, but please check the licenses if you do that

If you find any file that violates any of these conditions, please report
that to me.

February, 2003, Thomas Esser

[EMAIL PROTECTED]



texmfsrc LICENSE

2003-01-31 Thread Thomas Esser
I plan to put the texmf license into source/LICENSE in the texmfsrc
tarball. I don't want to put the file to the toplevel, because it would
overwrite the texmf LICENSE when unpacked.

Good idea? Comments welcome.

Thomas



suggested license for texmf tree; comments?

2003-01-31 Thread Thomas Esser
I plan to add the following LICENSE to the texmf tarball (will be
unpacked to the top-level of the texmf tree). Comments welcome.

Thomas

--
The files within this directory are all free software. Most of these
files are copyright by some author(s), but I have taken care that
the following conditions are true:
  - all files can be distributed: no license fee is required
  - using these files (even for commercial purpose) is not restricted
  - modification of files is allowed and the distribution of subsets
of these files are allowed; but, please check the individual license
before doing that (you might need to mark changes in some way or
rename modifies files and some files might only be distributed
together with other files)

If you find any file that violates any of these conditions, please report
that to me.

February, 2003, Thomas Esser

[EMAIL PROTECTED]



Re: teTeX-2.0-rc1: make vs. $(MAKE)

2003-01-31 Thread Thomas Esser
> this version does not compile cleanly at least on HP-UX, AIX, AXP OSF1 and FreeBSD
> because sometimes the native "make" will fail for sophisticated makefiles.
> they all break with messages similar to this one

That bug in pdftex.mk was reported before. If is already fixed in
my sources.

> -   (cd ./Ada95/gen ; make html) ;\
> +   (cd ./Ada95/gen ; $(MAKE) html) ;\

teTeX does not have the Ada95 dir. That html target is never called.

> -@MAINT@  cd .. && make Makefile ./configure
> +@MAINT@  cd .. && ($MAKE) Makefile ./configure

That only has to work for the maintainer! :-)

Thanks for your report,

Thomas



Re: teTeX-2.0-rc1: two requests

2003-01-31 Thread Thomas Esser
> 1) Would it be possible to have a "configure" option to use the xpdf libraries
> already installed on the system?  (We package them already in Fink.)

It is quite late for that request (the release is planned for this
weekend). Do you mean that you have libxpdf.a (resp. .so) and libGoo.a
(resp. so) and the header files installed at standard places? If I manage
to implement this, can you check if this works ok within a few hours?

> 2) Would it be possible to include the License statement inside the tarball,
> instead of separately as in v.1.0?  This would make it much easier for me
> to document the license within the Fink system.

That's easier form me to do. Which tarball do you mean (src tarball or
texmf tarball)?

> Aside from that, I can verify that teTeX-2.0-rc1 compiles and runs just
> fine on Darwin/Mac OS X.

Oh, that's just good news.

> P.S. It looks like Knuth is getting ready to release his new versions of
> TeX and MetaFont just in time for teTeX-2.0 !

It would have been in time if there had not been non-trivial dependencies
to eTeX and Omega. We have decided not to defer teTeX-2.0 for Knuth'
changes. I did include all the updates to the texmf tree, however,
so we have plain.tex version 3.14159265.

Thomas



Re: epsf.tex

2003-01-26 Thread Thomas Esser
> epsf.tex is in texmf/tex/plain/dvips but I think that it should be in
> texmf/generic.

Right. I don't think that it is less "generic" than epsfx.tex :-)

Thanks,

Thomas



texinfo pretest

2003-01-24 Thread Thomas Esser
Hi,

Karl Berry plans a new pretest of texinfo and a new release just in
time for teTeX-2.0. There will be an announce (by Karl) about that new
texinfo-pretest very soon.

If you have the possibility/time, please, test this texinfo pretest and
report any bug / problem.

Thomas



Re: teTeX-2.0-rc1: Small compilation gotcha under Irix and gnu make

2003-01-21 Thread Thomas Esser
> with the "make" hardcoded in. Unfortunately, the environment variables being

Thank's bad. Thanks for reporting.

Thomas



teTeX-2.0-rc1

2003-01-19 Thread Thomas Esser
Hi,

this is the first release candidate for teTeX-2.0. I have put the files to
my server, but they'll soon be available for download at CTAN:

  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/teTeX-src-2.0-rc1.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/teTeX-texmf-2.0-rc1.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/teTeX-texmfsrc-2.0-rc1.tar.gz
or
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/2.0/distrib/teTeX-src-2.0-rc1.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/2.0/distrib/teTeX-texmf-2.0-rc1.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/2.0/distrib/teTeX-texmfsrc-2.0-rc1.tar.gz

I know that I need to put some decent info into the files in doc/tetex
(texmf tarball) and README / RELEASE (src tarball). Still, I hope
that everything is stable now and that I can release teTeX-2.0 later
this month!

ChangeLog entries:

src tarball:
* make texdoctk work again; remove auto-detection for database
  file
* work-around for configure problem: common cache used by
  different autoconf versions caused problems
* dvips update:
 no longer "." in TEXCONFIG
 T1_BUF_SIZE increased
 always allow the output pipe
* no longer use tmp file in updmap which does not get removed
* update to xdvik-22.40u
* final pdftex-1.10a!
* web2c-7.4.4
* bugfix in top-level configure: needs_xpdf -> needs_libxpdf
* revert dvips fix (Tomas is looking for a better "real" fix)
* texk/xdvik/configure.in: fix a silly bug

texmf tarball:
* update updates.dat (claim to be teTeX-2.0), adjust texdoctk's
  database file
* update hyperref
* update doc/programs
* update koma-script
* update texinfo.tex
* update endnotes.sty
* texnansi.enc texnansx.enc: remove ^M at end of lines
* updates docs for Polish TeX users (from Staszek)
* added pcrr8rn.map (for reference)

Thomas



Re: 20030112 breaks dvips -o "|lpr"

2003-01-19 Thread Thomas Esser
Dear Akira,

> I have understood you. Sorry for my ignorance!

You are welcome. I never felt offended by what you have said.  It was
good that you have given a precise example. That showed me that we were
not speaking about the same thing (you about backquote specials in dvi
files, me about .gz files referenced in the dvi).

Let me add the following:

The backquote way of including compressed graphics was replaced by the
direct reference to the compressed graphics in LaTeX's dvips.def some
time ago. The new scheme has been teTeX's default even some time before
that switch was made (teTeX has had a custimized graphics.cfg), because
dvipsk and xdvik have had support for this.

Thomas



Re: 20030112 breaks dvips -o "|lpr"

2003-01-19 Thread Thomas Esser
> \DeclareGraphicsRule{.eps.gz}{eps}{.bb}{`gunzip -c #1} 

This does not work and this is ok in secure mode.

I have written, that compressed graphics work *if the inclusion is done
in the right way*.

---
$ cat x.tex
\documentclass{article}
\usepackage{graphicx}
\DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{}%
\begin{document}
\includegraphics{foo.eps.gz}
\end{document}

$ latex x
This is TeX, Version 3.14159 (Web2C 7.4.4)
(./x.tex
LaTeX2e <2001/06/01>
Babel  and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/base/size10.clo))
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/graphics/graphicx.sty
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/graphics/keyval.sty)
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/graphics/graphics.sty
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/graphics/trig.sty)
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/config/graphics.cfg)
(/software/oss/Text/teTeX-1.0/share/texmf/tex/latex/graphics/dvips.def)))
(./x.aux) 
Overfull \hbox (56.44374pt too wide) in paragraph at lines 5--6
[][] 
[1] (./x.aux) )
(see the transcript file for additional information)
Output written on x.dvi (1 page, 276 bytes).
Transcript written on x.log.

$ dvips -R1 x -o
This is dvips(k) 5.92a Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2003.01.19:1644' -> x.ps
. [1] 
---

In this example, foo.eps.gz is the name of the graphic file in the
dvi file and dvips knows to handle it using gzip -d. Since this is a
predefined command (compiled into the executable), the dvi file cannot
override it. The situation is completely differnte with backticks in
the dvi file (which does not work and should not work).

Thomas



Re: 20030112 breaks dvips -o "|lpr"

2003-01-19 Thread Thomas Esser
> > Good to know that the compile-time configuration for running uncompress,
> > gzip -d and bzip2 -d still work in secure mode.
> 
> This does not (and should not) work in secure mode.
> One has to use -R0 option.
> Tomas has allowed "output pipe" in secure mode.

This does work in secure mode. I have tested it. And it is good that it
is like this. We have to assume that the environment is sane, otherwise
you cannot even call open(), because some LD_PRELOAD could remap this
call to something bad.

Thomas



Re: 20030112 breaks dvips -o "|lpr"

2003-01-19 Thread Thomas Esser
> Okay, so if we agree the solution is:
[...]

Great, great!

I just have found the new version in the perforce source tree and updated
teTeX-beta. It is good to see that compressed graphics in secure mode
work, if the inclusion is done in the right way.

Using a teTeX-0.4 setup (for latex, not dvips), where gzip'ed eps graphics
are included via
  \@namedef{Gin@rule@.eps.gz}#1{{eps}{.eps.bb}{`gunzip -c #1}}
I get:
  dvips: Secure mode is 1 so execute  will not run

Whereas the teTeX-1.0 setup is using
  \@namedef{Gin@rule@.eps.gz}#1{{eps}{.eps.bb}{#1}}
which leds to
  . [1] 
(even in secure mode).

Good to know that the compile-time configuration for running uncompress,
gzip -d and bzip2 -d still work in secure mode.

I think that font generation, output pipe and compressed images are
what most people are expecting to work in the default configuration (and
this is what we have now). Since the rewritten font generation code no
longer uses system() or popen() and since it does a strict checking on
the characters in its arguments, I think that this is safe enough now.

All in all, I think that the succent situation is a big step forward
where secure mode can be turned on while gaining a lot of security
without loosing much.

I suggest that we update the version number (of dvips) once again if we
see that it all works as it should.

Thomas



Re: updmap temporary files

2003-01-18 Thread Thomas Esser
> the function dvips2dvipdfm() in updmap creates a temporary file
> /tmp/file1-$$ but no attempt is made do delete this file afterwards.

That's just an oversight. I am using $tmp8 now.

Thanks,

Thomas

--- teTeX-src-beta-20030112/texk/tetex/updmap   Thu Jan  2 23:14:59 2003
+++ teTeX-src-beta/texk/tetex/updmapSat Jan 18 10:10:47 2003
@@ -28,6 +28,8 @@
 
 ###
 # program history:
+#   Sat Jan 18 10:10:26 CET 2003
+#  use $tmp8 in dvips2dvipdfm()
 #   Thu Jan  2 23:14:34 CET 2003
 #  add umask 022, so generated files are always world-readable
 #   Sun Oct 27 11:33:04 CET 2002
@@ -764,10 +766,10 @@
   -e 's@.* \([.0-9-][.0-9-]*\) *ExtendFont.*@\0 -e \1@' \
   -e 's@.* \([.0-9-][.0-9-]*\) *SlantFont.*@\0 -s \1@' \
   -e 's@.*%@@' |
-  awk '$1 == $3 && $2 == "default" {$2=""; $3=""} {print}' > /tmp/file1-$$
+  awk '$1 == $3 && $2 == "default" {$2=""; $3=""} {print}' > $tmp8
  
-  egrep '^(cm|eu|la|lc|line|msam|xy)' /tmp/file1-$$ | sed 's@$@ -r@'
-  egrep -v '^(cm|eu|la|lc|line|msam|xy)' /tmp/file1-$$
+  egrep '^(cm|eu|la|lc|line|msam|xy)' $tmp8 | sed 's@$@ -r@'
+  egrep -v '^(cm|eu|la|lc|line|msam|xy)' $tmp8
 }
 
 



Re: 20030112 breaks dvips -o "|lpr"

2003-01-16 Thread Thomas Esser
> Don't see the necessity.  root filters (like in line spoolers) are
> run in separate directories and with command line options specified
> by the filter programmer.

Full ACK. Whoever writes such a filter should know what he is doing and
put something like an explicit -f or -o argument into the commandline
of dvips.

Thomas



Re: pdftosrc and texmf.in problem?

2003-01-16 Thread Thomas Esser
> I am one of tetex maintainers of Debian and we got a bug report
> that "please include pdftosrc in tetex-bin"

I see. pdftosrc was even included in good-old-teTeX-1.0... I have
just added
  @PTEX@pdftosrc = pdftosrc
 ...tie $(ttf2afm) $(pdftosrc) ...
to texk/web2c/Makefile.in. Seems that this is sufficient.

Olaf, any objections?

> XDVIINPUTS = .;$TEXMF/{xdvi,dvips}//
> DVIPDFMINPUTS = .;$TEXMF/{dvipdfm,dvips}//

Olaf just has done this for web2c-7.4.4.

Thomas



Re: 20021225 pretest

2003-01-16 Thread Thomas Esser
> that will make dvips-generated PS files a bit bigger (if the explicit
> encoding is used in dvips map file too) - so just a thought: maybe
> it's possible to have sriver-sprcific source map files (from which
> driver-specific final map files are generated)? e.g. there may be a

Well, sure, such things are always possible. The question is if the
separation is worth the effort. The disadvantage is that the files
might get out of sync which can let to all kind of problems.

Do you have some numbers for me (comparing the filesizes in
a few sample documents)?

Thomas



Re: 20030112 breaks dvips -o "|lpr"

2003-01-16 Thread Thomas Esser
> That's a very good point; if the *user* specifices -o "|..." that
> *should* override the security setting.

Good, we agree here.

> What if the -o option comes from a config file; should that override
> the security setting?

In secure mode, dvips should not trust the dvi file. I don't see why
dvips should stop trusting its configuration files. If these are messed
up by some other security problem, then the user has lost already.

So, I suggest not to disable the output pipe at all (no matter wether
it was set by some config file or the command line).

> very sorry for (possibly) holding up a new release.  I'll make sure
> to spend some time this weekend on it . . .

That would be great, indeed. I plan to release teTeX-2.0, soon (now that
pdftex-1.10a *final* is out).

Thomas



Re: 20030112 breaks dvips -o "|lpr"

2003-01-16 Thread Thomas Esser
[added Tomas Rokicki to the recepients, throwing him into this
 discussion]

Hi,

-o "|lpr" no longer works, because the default config file of dvips now
correctly sets secure mode on. Secure mode can be turned off by putting
z0 into a config file for dvips or by specifying -R0 on the commandline
(that -R0 does not work in the dvips contained in RedHat 8.0 which makes
the problem even worse there).

When I decided to enable secure mode in dvips, I thought it was a good
thing to make sure that command execution via special's is disabled by
default. I was not aware that this includes almost all command execution
of dvips (font generation is controled separately), including output
pipes.

So, I think that many teTeX users will be suprised if teTeX-2.0 comes
with security on by default in dvips.

Tomas, I don't think that the output pipe is a security concern, since
it cannot be set via the dvi file. Do you think that you can change the
implementation of "secure mode" to allow the output pipe?

Thomas



Re: When teTeX 2.0 will be released?

2003-01-13 Thread Thomas Esser
> > Hopefully in some days. My plan is to wait for pdftex-1.10a and that's
> > not yet released.
>
> Do you plan to wait also for knuth TeX Version 3.141592 and METAFONT Version 
> 2.71828 as they are announced as near?

Assuming, that pdftex will be released in a few days, I am not going to
defer teTeX-2.0 for Knuth's changes. These cuase non-tribial changes in
e-TeX and Omega, so this can't be done in a hurry.

So, I am going to release teTeX-2.0 without these. I don't plan to have
such a long "beta phase" for one release again, so hopefully, we'll see
teTeX-2.1 in a few months.

Thomas



20030112 pretest

2003-01-11 Thread Thomas Esser
Hi,

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

A new beta while waiting for the stable pdftex-1.10a ...

ChangeLog entries:

src tarball:
* update to web2c-7.4.3
* update e2pall
* trying to fix xaw3d-configure bug in xdvik
* top-level Makefile more robust

texmf tarball:
* update yfonts, pdfpages, hyperref
* update ConTeXt which now has a new license. With teTeX's
  overload-license, ConTeXt is now free software "by definition"
* updated accent.mf cmbase.mf csc.mf (from Knuth)
* added mfbook.tex texbook.tex trapman.tex tripman.tex webman.tex
  and errata directory from knuth (in texmf/doc/knuth)
* from Knuth (uncopyright notice has changed): plain.mf,
  plain.tex hyphen.tex
* update framed.sty

Thomas



Re: When teTeX 2.0 will be released?

2003-01-07 Thread Thomas Esser
> Sorry to ask this again but is there any rough
> plan when teTeX 2.0 will be released?

Hopefully in some days. My plan is to wait for pdftex-1.10a and that's
not yet released.

> I heard once that it would be near the end of 2002
> but it is 2003 already ;)

The beginning of 2003 is near the end of 2002, isn's it?

Thomas



20030107 pretest

2003-01-07 Thread Thomas Esser
Hi,

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

ChangeLog entries:

src tarball:
* bugfix for pdftex
* add TEXPSHEADERS.gsftopk to texmf.in (until we have something
better in kpathsea)
* minor texconfig bugfix
* add umask 022 to updmap, so generated files are always
world-readable
* update texinfo.tex
* xdvik 22.40t
* dvipdfm related bugfix (suggested by Willem Jan Palenstijn)
to configure.in

texmf tarball:
* update Catalogue
* update mfpic
* update pdftex documentation
* update texinfo.tex

Thomas



Re: A mislocated tfm?

2002-12-27 Thread Thomas Esser
> why (in the latest tetex texmf) exists the file
> /fonts/tfm/adobe/times/psyro.tfm ?

One character of that font is used by zptmcm7m.

> If it is Adobe Symbol Slanted metrics, why is it
> the times directory?

Maybe, because the metrics of psyro.tfm are just needed for zptmcm7m?

> BTW. Is psyro referenced anywhere in postscript maps?

Yes.

> What is the PS font psyro.tfm describes?

It is a slanted Symbol:
  psyro Symbol ".167 SlantFont"

psyro.tfm comes via CTAN:macros/latex/required/psnfss/lw35nfss.zip
into teTeX.

Thomas



Re: supp-pdf.tex's problem

2002-12-27 Thread Thomas Esser
> and does anyone in the pdftex community have any idea of how ctan
> might keep up-to-date with these files as they develop?  or does the

I think that ctan already mirrors Hans context and context-beta. From
what I have read today, all other copies should be removed.

> (where do you get _your_ copies from, thomas?)

>From macros/context/cont-tmf.zip or macros/context/beta/cont-tmf.zip.
The current teTeX-beta contains the beta version of context.

Thomas



Re: make failed with 20021225 beta

2002-12-26 Thread Thomas Esser
> >   http://www.dbs.uni-hannover.de/~te/configure
> 
> It seemed the above file was a bit broken, it contained 
> many wrong , for example, line #47

No, really. It must be your download utility or whatever. Have you 
tried
  wget http://www.dbs.uni-hannover.de/~te/configure

Thomas



Re: 2 files missing in texmf tree

2002-12-26 Thread Thomas Esser
> I noticed that in teTeX-texmf-beta-20021225.tar.gz
> bsr-interpolated.map bsr.map seemed missing.

$ tar ztvf /t/src/archiv/teTeX-texmf-beta-20021225.tar.gz '*/bsr*.map'
-rw-r--r-- te/users   6958 2002-12-25 15:05:25 ./dvips/tetex/bsr.map
-rw-r--r-- te/users   2315 2002-12-25 15:14:37 ./dvips/tetex/bsr-interpolated.map

> Is this intentional?

These files have been moved into dvips/tetex, because they really belong
there. I have written these files and they have not been supplied by
BSR or anybody else.

Thomas



Re: make failed with 20021225 beta

2002-12-26 Thread Thomas Esser
> sortid.c: In function `sort_idx':
> sortid.c:53: `LC_COLLATE' undeclared (first use in this function)
> sortid.c:53: (Each undeclared identifier is reported only once
...

Willem Jan Palenstijn has found the reason for this and submitted
a patch:

  From what I can tell, it's caused by checks for libz and the C
  preprocessor conflicting with eachother in texk/dvipdfm. The check for
  libz sets CPP to a temp value, and then starts the preprocessor check,
  which then writes the (very broken) temp value to the config.cache,
  which causes the locale.h check to break in texk/makeindexk/configure.
  ...

A possible fix is to invoke AC_PROG_CPP in texk/dvipdfm/configure.in
after AC_PROG_CC. If you have autoconf-1.13 installed, then you
can update your configure script by
  cd texk/dvipdfm; autoconf -m ../etc/autoconf
I just have put a fixed texk/dvipdfm/configure script at
  http://www.dbs.uni-hannover.de/~te/configure

Another possible workaround is to omit --with-system-zlib. 

> I'm not sure this is a bug or a problem of my system
> but I hope this will help anyway.

No, it is not a bug os your system.

Thomas



20021225 pretest

2002-12-25 Thread Thomas Esser
Hi,

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

A new pretest on the way to teTeX-2.0. The main change is added support
for dvipdfm.

ChangeLog entries:

src tarball:
* dvipdfm added
* texconfig support for dvipdfm
* AC_ARG_ENABLE fix for xdvik
* bugfix for localized pool files in fmtutil
* update localized pool files

texmf tarball:
* doc/context/ms-cb-en.pdf removed (silly copyright which Hans
  did not fix)
* update texdoctk's database
* explicit encoding for Knuth's 75 fonts in map files; this
  helps dvipdfm

Thomas



Re: papersize detection in configure

2002-12-25 Thread Thomas Esser
> The test for a4 papersize is not done correctly in these scripts:

Thanks for your report. The reason is the way that AC_ARG_ENABLE is
used in texk/xdvik/withenable.ac:

AC_ARG_ENABLE(a4,
[  --disable-a4set default paper size to letter and default unit to inch],
[if test "$enableval" = no; then
[  echo DISABLED a4/cm, using letter/in instead]
fi],
AC_DEFINE(A4))

The general syntax of AC_ARG_ENABLE is
  AC_ARG_ENABLE (FEATURE, HELP-STRING, [ACTION-IF-GIVEN], [ACTION-IF-NOT-GIVEN])

Inside ACTION-IF-GIVEN, the current check does check if $enableval is
no or not, but it does not AC_DEFINE(A4) which it should if enableval
!= no.

The same bug exists for all other AC_ARG_ENABLE invocations in the same
file. Since configure is generated by GNU autoconf, it does not help
much to patch it directly. The patch I have appended to this mail should
fixes the autoconf macros. If you have GNU autoconf-1.13 installed (no
other version will work), then you can regenerate the configure scripts
by calling
  sh reautoconf

I'll fix this with the next release of teTeX-beta.

Thomas

--- old/texk/xdvik/withenable.acThu Oct 17 21:05:25 2002
+++ texk/xdvik/withenable.acWed Dec 25 13:18:50 2002
@@ -17,6 +17,8 @@
 ,
 [if test "$enableval" = no; then
   echo DISABLED grey
+else
+  AC_DEFINE(GREY)
 fi],
 AC_DEFINE(GREY))
 
@@ -24,6 +26,8 @@
 [  --disable-buttons   disable buttons on the side of the window],
 [if test "$enableval" = no; then
   echo DISABLED buttons
+else
+  AC_DEFINE(BUTTONS)
 fi],
 AC_DEFINE(BUTTONS))
 
@@ -31,6 +35,8 @@
 [  --disable-statuslinedisable statusline at bottom of window],
 [if test "$enableval" = no; then
   echo DISABLED statusline
+else
+  AC_DEFINE(STATUSLINE)
 fi],
 AC_DEFINE(STATUSLINE))
 
@@ -40,6 +46,11 @@
   T1LIB=
   LDT1LIB=
   echo DISABLED t1lib
+else
+  T1LIB=1
+  LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
+  AC_DEFINE(LDT1LIB)
+  AC_DEFINE(T1LIB)
 fi],
 T1LIB=1
 LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
@@ -58,6 +69,8 @@
 [  --disable-a4set default paper size to letter and default unit to inch],
 [if test "$enableval" = no; then
 [  echo DISABLED a4/cm, using letter/in instead]
+else
+  AC_DEFINE(A4)
 fi],
 AC_DEFINE(A4))
 



Re: 20021223 pretest

2002-12-23 Thread Thomas Esser
> are the xdelta files wrong, or they are correct, and you just renamed
> the texms and texmfsrc tarballs after making xdeltas?

Thanks for checking. Yes, I have just renamed the two tarballs after
creating the deltas. So, this time, everything should be ok.

Thomas



20021223 pretest

2002-12-23 Thread Thomas Esser
Hi,

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

A new pretest on the way to teTeX-2.0. The main change is the new
web2c. Olaf wrote about it:

  I've put web2c 7.4.2 sources up on tug.org in ~ftp/tex.  Thus they'll
  appear on CTAN in due course(?)

  The sources contain pdftex 1.10a RC3, Omega 1.23.2, and e-TeX 2.1.

  The difference with 7.4.1 are a few fixes in the Makefiles, and the
  addition of windows-specific code for calling mktex.  MS-DOS-specific
  code is still missing (volunteers?).

  We should be good for release at this point, except that we're waiting
  for Godot^H^H^H^H^Hthe release of pdfTeX 1.10a.

As for pdfTeX, Martin Schroeder just wrote:

  Since nobody has reported any problems with RC3 till now, I expect
  we'll have a release over the christmas holidays.

So, we're really close to the next stable release now. Please, test these
sources if your time permits and report if it works for you (directly
to me if you don't want to annoy other people on the list with boring
'it works for me on system xy using compiler abc' messages).

ChangeLog entries:

src tarball:
* web2c-7.4.2
* added first version of manpage for updmap

texmf tarball:
* localized pool files now in src tarball
* update ConTeXt (2002.12.20)
* update mfpic  
* update pdftex.def

Thomas



20021221 pretest

2002-12-21 Thread Thomas Esser
Hi,

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

This again is another sync point on the way to the next stable release.
You can use these sources with the latest texmf tarball (20021216
pretest). Omega 1.23.2 as in these tarballs is what John Plaice tells
us to release. pdftex is close to a stable release, too.

I expect to be able to release teTeX-2.0 really soon now.

ChangeLog for src tarball:
* update to web2c-7.4.1, pdftex 1.10a-RC3

Thomas



20021219 pretest

2002-12-19 Thread Thomas Esser
Hi,

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

This again is another sync point on the way to the next stable release.
You can use these sources with the texmf tarball from the last pretest
(20021216).

ChangeLog for src tarball:
* update pdftex to version 3.14159-1.10a-RC2
* bugfix for texk/kpathsea/tex-make.c

Thomas



bugfix for tex-make.c (20021216 pretest)

2002-12-18 Thread Thomas Esser
We have the following bugfix for the 20021216 pretest. I don't want to
make a new release just because of that (on the other hand, I don't want
to let you be uninformed about this bug, too). The file exists in the
texk/kpathsea directory.

Thomas

diff -u -r1.13 -r1.14
--- tex-make.c  14 Dec 2002 12:31:17 -  1.13
+++ tex-make.c  17 Dec 2002 07:09:36 -  1.14
@@ -230,6 +230,7 @@
 }
 close(childerr);
   }
+  /* FIXME: We could/should close all other file descriptors as well. */
   /* exec -- on failure a call of _exit(2) it is the only option */
   if (execvp(args[0], args))
 perror(args[0]);
@@ -283,6 +284,8 @@
   /* Free the name if we're not returning it.  */
   if (fn != ret)
 free (fn);
+} else {
+  ret = NULL;
 }
   }
 #endif





Re: 20021216 pretest

2002-12-16 Thread Thomas Esser
Vladimir, thanks for reporting this so quickly.

Thomas



Re: 20021216 pretest

2002-12-16 Thread Thomas Esser
> Could you please regenerate xdeltas to upgrated to 20021216?

Oops, I am verry sorry. I just have fixed this on my server. Robin,
can you please force the mirrors again?

Thomas



20021216 pretest

2002-12-16 Thread Thomas Esser
Hi,

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

This again is another sync point on the way to the next stable release.

src tarball:
* merge web2c 7.4.0 changes

texmf tarball:
* update hyperref
* update lshort doc
* update fancyhdr
* fontname maps + tcx files now in texmf tree

Thomas



Re: Makefile bug

2002-12-16 Thread Thomas Esser
> make.  Patch attached.

I don't understand your patch. The line you changed ends up with
   ...; true
How can this ever fail?

Thomas



20021210 pretest

2002-12-10 Thread Thomas Esser
Hi,

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

This just fixes the image inclusion problem of pdftex and the compile
problems when --with-system-zlib is used:
* libpng + zlib: revert win32 changes
* updated pdftex to version 1.10a-RC1

Use these sources with yesterday's texmf tarball.

Thomas



Re: Problems with 20021209 pretest

2002-12-10 Thread Thomas Esser
> "--with-system-zlib". Even though both the system version of zlib and 
> the version distributed with teTeX claim to be 1.1.4 two typedefs in 

Thanks. I know where this change comes from and it was done to improve
the win32 support for these libraries. It all works if you choose both
png and zlib from the modified source (or none of them). The modification
should be done in a better way. After all, the modifications are not
clearly marked as such (which violates the copyright), so I just have
reverted that in my sources.

Thomas



20021209 pretest

2002-12-09 Thread Thomas Esser
Hi,

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

This again is another sync point on the way to the next stable
release. ChangeLog entries:

src tarball:
* sync with TeX Live: xpdf + pdftex updates
* update config.guess / config.sub
* changed the mfw-split implementaion, hoping that Olaf adopts it
* update xdvik to version 22.40s (includes fix for gs 8.00)
* update texinfo from 4.3 to 4.3a
* merge from TeX Live: win32 changes, pdftex updates

texmf tarball:
* update hyperref
* cbgreek fonts
* added cwebman.dvi, cwebmac.tex
* added lettrine package
* listings package removed for copyright reason. The copyright
  first claims to be lppl, but incompatible terms follow. Somebody
  should contact [EMAIL PROTECTED]
* update texinfo.tex
* config.ps for dvips now *really* defaults to secure mode
* update threeparttable.sty
* update eso-pic
* update Catalogue

Thomas



Re: Font selection in Metapost broken

2002-12-07 Thread Thomas Esser
> Please, Thomas, include ptmr8a.tfm in tetex.

I suggest to change the last few files in texfonts.map instead:

% Allow people to use PostScript font names.
rpagk AvantGarde-Book
rpagko AvantGarde-BookOblique
rpagd AvantGarde-Demi
rpagdo AvantGarde-DemiOblique
rpbkd Bookman-Demi
rpbkdi Bookman-DemiItalic
rpbkl Bookman-Light
rpbkli Bookman-LightItalic
rpcrr Courier
rpcrb Courier-Bold
rpcrbo Courier-BoldOblique
rpcrro Courier-Oblique
rphvr Helvetica
rphvb Helvetica-Bold
rphvbo Helvetica-BoldOblique
rphvro Helvetica-Oblique
rpncb NewCenturySchlbk-Bold
rpncbi NewCenturySchlbk-BoldItalic
rpncri NewCenturySchlbk-Italic
rpncr NewCenturySchlbk-Roman
rpplb Palatino-Bold
rpplbi Palatino-BoldItalic
rpplri Palatino-Italic
rpplr Palatino-Roman
psyr Symbol
rpsyr Symbol
sy Symbol
rptmb Times-Bold
rptmbi Times-BoldItalic
rptmri Times-Italic
rptmr Times-Roman
rpzcmi ZapfChancery-MediumItalic
pzdr ZapfDingbats
rpzdr ZapfDingbats
zd ZapfDingbats

Thomas



Re: metapost labels in groff

2002-12-07 Thread Thomas Esser
> Thomas, will you pay attention to detailed bug reports
> and/or patches addressing this issue?

Metapost is written and maintained by John Hobby
<[EMAIL PROTECTED]>. The web2c port of it is maintained by
Olaf Weber <[EMAIL PROTECTED]>. I'd prefer that you'd adress these
questions to them. My aim with teTeX is to follow upstream packages as
closely as possible.

Thomas



Re: teTeX-src-beta-20021114: logo fonts

2002-12-07 Thread Thomas Esser
> BTW, wouln't it be practical to have dvi files of the standard TeX
> programs (Knuth's tangle, weave (webman), dvitype,...) in the
> /usr/local/teTeX/share/texmf/doc directory for reference?

I can recommend everyone who really wants to read the weave-output to
run pdftex instead of tex on these files. Due to pdfwebmac.tex, the
output has wonderful references in the pdf file.

But, I think that I am not going to distribute the typeset documentation
of these files (neither dvi nor pdf). People get teTeX always with source
code and generating these files is easy.

Thomas



Re: is listing.sty free ?

2002-12-01 Thread Thomas Esser
> "I'd like to encourage you to .." might be acceptable but
> "please send me a copy .." is very doubtful, I feel.
> 
> Is this license okay for teTeX distribution ?

No.

Btw.: it is not listing.sty
(CTAN:macros/latex/contrib/other/misc/listing.sty) but listings.sty
from the listings package (CTAN:macros/latex/contrib/supported/listings)
that we are talking about.

Thomas



20021116 pretest

2002-11-15 Thread Thomas Esser
Hi,

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

This one fixes a few bugs, the most important one is the pdf inclusion
bug of pdftex. It also updates texinfo to version 4.3.

src tarball:
* merge pdftex fixes from TeX Live
* texinfo-4.3
* bugfix to updmap: now *really* run sort | uniq on the map lines

texmf tarball:
* update hyperref
* logo*.pfb are used from Taco, so remove them from in bsr.map
* update texinfo.tex
* new graph.mp, boxes.mp, plain.mp from John Hobby

Thomas



Re: teTeX-src-beta-20021114: logo fonts

2002-11-15 Thread Thomas Esser
> ...there is a vertical bar missing in the shell file updmap, function
> normalizeLines(), end of line 751, in the pipe between sed and sort |
> uniq. So sort | uniq doesn't work, reason for doubled font entries.

Yes, indeed. It is a combination with another bug which is that the logo*
lines should not be in bsr.map.

Thomas



Re: teTeX-src-beta-20021114: mf.ch mp.ch, End of file on the terminal

2002-11-15 Thread Thomas Esser
> mf and mpost behave differently from the *tex programs, when quit by ^D
> on the command line: They do not give a linefeed.

I don't think this is intentional. Thanks for your report.

Thomas



Re: Yesterday's teTeX

2002-11-15 Thread Thomas Esser
> When I attempt to typeset my document with pdflatex, it fails to include 
> pdf files when \includegraphics{} is issued. The same document gets typeset 

Martin Schroeder has just fixed it. The next (i.e. today's) teTeX-beta
will have a fix for that.

Thomas



Re: 20021112 pretest on DEC Alpha OSF1 V4.0

2002-11-15 Thread Thomas Esser
> Unresolved:
> snprintf

Today's teTeX-beta (will be release, soon) has Stefan's fix of
xdvik-22.40r.

Thomas



20021114 pretest

2002-11-13 Thread Thomas Esser
Hi,

in 20021113 the dependencies for xdvi are broken. I have regenerated
them and put a 20021114 pretest (only src tarball) to my server. The
archive should appear e.g. on
  ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021114.tar.gz
or
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021114.tar.gz

Thomas



20021113 pretest

2002-11-13 Thread Thomas Esser
Hi,

Olaf Weber has fixed a few things in web2c and released 7.3.11.
I have merged his fixes and fixed two other bugs:
  * fix mkstemp problem in libxpdf
  * snprintf fix for xdvik (until Stefan provides "his" solution)

Only the src tarball is changed. It is/will be available in the usual
places.

Thomas



Re: 20021112 pretest on SunOS 5.5.1

2002-11-13 Thread Thomas Esser
> SunOS 5.5.1 (Solaris 2.5.1) libc supports mkstemp, but stdlib.h doesn't have
> a prototype for that function.  so  the configure in libs/xpdf/ sets HAVE_MKSTEMP 

Our autoconf support for xpdf was not properly updated for xpdf-2.0
(my fault). The original xpdf-2.0 distribution has a proper check and
I just have adopted it.

Thanks for the report.

Thomas



Re: texx2 ?

2002-11-10 Thread Thomas Esser
> i was ask about texx2 (see ctan). The project is long
> abandom but i tried to compile it and failed.

Don't try to compile texx2 alone. As far as I understand the package,
texx2 needs to be compiled as part of the umddvi. I don't think that this
will be easy unless you have some knowledge about how to troubleshoot
usual build / porting problems.

Thomas



Re: format files

2002-10-25 Thread Thomas Esser
Olaf Weber wrote:
> I'm not sure to what extent this is really tex-k specific.  However, I
> do have an idea of what to change so that TeX will "adapt" its search
> paths to the name of the format it is trying to load, pretty much
> regardless of how this was specified.

This does change the existing behaviour and users might already depend
on it, e.g. LaTeX users who use the mylatex package:

  latex \&mylatex foo

There is no TEXINPUTS.mylatex and users will get the default TEXINPUTS
setting instead of TEXINPUTS.latex.

> Thomas, WDYT?

Before you do that change, get some other opinions.

Thomas



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



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:



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: is entry for omega in fmtutil.in okay?

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

Thomas



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

2002-10-24 Thread Thomas Esser

> I noticed that generated fmtutil.cnf in teTeX-src-beta-20021022.tar.gz
> contained the entry 
> 
> omega omega   -.dat   omega.ini

That's a bug, thanks for the report. "-.dat" should just be "-".

> 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?

Thomas



Re: checksum failure on 20021022 beta

2002-10-23 Thread Thomas Esser
> I got a different MD5 sum when I downloaded
> teTeX-src-beta-20021022.tar.gz from dante.
> I got 3de059.. instead of e1330...

3de059a6e7cdfe10f003574bcf20c89e is the right checksum. I had upladed a
new version of teTeX-src-beta-20021022.tar.gz without changing the name
(hoping that nobody had already downloaded the old file). The same for
teTeX-texmf-beta-20021022.tar.gz. The right md5 checksums are:

  3de059a6e7cdfe10f003574bcf20c89e  teTeX-src-beta-20021022.tar.gz
  e83049d7fc2db730e2eb7539fbecf90b  teTeX-texmf-beta-20021022.tar.gz

Thomas



20021022 pretest

2002-10-22 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-20021022.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021022.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021022.tar.gz
or
  ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021022.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021022.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021022.tar.gz

This release contains the just released web2c-7.3.9 and I quote from
Olaf Weber's announcement about it:

I've put web2c 7.3.9 sources up on tug.org in ~ftp/tex.  Thus they'll
appear on CTAN in due course.

The sources contain preliminary versions of pdftex and omega.  Omega
has been hacked to use a different extension for its format files:
 .oft instead of .fmt, as the latter clashes with TeX's default.  I'd
much prefer to use .ofmt, but am not convinced that would be a good
idea, as truncating that extension gives .ofm, which is already
in use.  On the other hand, feel free to convince me otherwise.

These sources are especially meant to allow Thomas and Fabrice and
me to sync up with each other, and may be of limited interest to
anyone else (though they should be fully functional).  Expect this
release to be superceded "soon".

As always, I'd be glad to hear reports about successful builds (especially
if you use non-GNU compilers / tools).

The ChangeLog entries:
* merge with web2c-7.3.9
* texconfig: sometimes, we don't need tcdialog...
* clean up ranlib stuff / remove library before recreating it
* fix typo in texconfig
* add support files for win32

texmf tarball:
* update custom-bib
* update ccaption

Thomas



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



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

2002-10-22 Thread Thomas Esser
> +if test -n "$DIALOG_PROG"; then
> +  dialogok=0
> +else
> +  check_for_binary tcdialog >/dev/null
> +  dialogok=$?
> +fi

I just have fixed it by the following (somewhat more compact):

  check_for_binary tcdialog >/dev/null || test -n "$DIALOG_PROG"
  dialogok=$?

Thanks for reporting that and the suggested fix.

Thomas



Re: texi2pdf

2002-10-22 Thread Thomas Esser
> Hi.  I've been using teTeX for a couple of years and I love it.  However,
> texi2pdf seems to be broken in every version that I have tried including
> 10/13.

Can you please give some more information on this? I just have tried
  cd bison-1.75/doc
  texi2pdf bison.texinfo
and it worked quite nicely.

> Am I in the right place to discuss this problem?  

Yes, you are welcome to report such kind of things here.

Thomas



20021017 pretest

2002-10-17 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-20021017.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021017.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021017.tar.gz
or
  ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021017.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021017.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021017.tar.gz

Main differences from previous release are the updated xdvik (portability
fixes) and small corrections to the texmf tree. In my last announce,
I wrote that it includes a *prerelease* version of web2c-7.3.8, which
is not true (we have in the last teTeX-beta as well as in this one the
*real* web2c-7.3.8). Nevertheless, there will be a bew web2c release at
about the end of this month.

The ChangeLog entries:

src tarball:
* update xdvik
* merge Omega + dvips changes from TeX Live

texmf tarball:
* update Catalogue
* update chapterbib.sty
* Adobe Utopia fonts + support files removed; the fonts are not
free software
* listings updated
* fmtutil.cnf: replaced language.dat by - for formats that don't
load language.dat
* new b*.ini files (introduced in last pretest) have loaded
plain.tex instead of bplain.tex
* adobe.map / typeface.map updated

Thomas



Re: 20021013 pretest

2002-10-14 Thread Thomas Esser

> texk/dviljk/Makefile.in and texk/web2c/omegafonts/Makefile.in
> need a .NOTPARALLEL: target.

These are not as complicated as the Makefile in texk/web2c. Can you point
out what the problematic rules are? Maybe, we can make the Makefiles
compatible with parallel make.

I have just done a "make clean; make -j" in these directories and did
not notice any problem (on a single-processor machine, however).

Thomas



Re: 18 less binaries built

2002-10-13 Thread Thomas Esser

> teTeX-src-beta-20020922
> teTeX-texmf-beta-20021006
...
> The following are missing from the list given in INSTALL:
> 
> cont-en
> metafun

These should no longer be called directly. texexec supports them better.
The list in INSTALL is wrong and I'll fix that.

> iniomega lambda mkocp mkofm odvicopy odvitype ofm2opl omega omfonts
> opl2ofm otangle otp2ocp outocp ovf2ovp ovp2ovf viromega

Omega was temporarily removed from teTeX-beta. It is now back (with the
20021013 pretest).

With the 20021013 pretest, the list in INSTALL is much less wrong (because
Omega is back), but still:
  listed, but non-existing: cont-en metafun
  existing, but not listed: mktexfmt updmap

I just have fixed that for the next pretest.

Thomas



20021013 pretest

2002-10-13 Thread Thomas Esser

Hi,

dante does not yet have the new files (uploaded today at about 4:20
a.m. local time). They are, however, available at the cam.ctan.org:

  ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021013.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021013.tar.gz
  
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021013.tar.gz

Thomas



Re: dvii

2002-10-13 Thread Thomas Esser

> CTAN. It compiled here under debian Linux/Pentium II without problems.

The package does not automatically work on 64bit platforms.  Anyway,
this is easy to fix using GNU autoconf. In short: I'll think about
including it, but no promisse now...

Thomas




20021013 pretest

2002-10-12 Thread Thomas Esser
Hi,

I just have uploaded a new teTeX-beta release:
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20021013.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20021013.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20021013.tar.gz

Main differences from previous release:

Thsi time, there are quite some changes. We have a prerelease of the new
web2c (a stable version is expected very soon), a new pdftex version
(1.10a-devel) and: omega is back (ver 1.23.1). I expect to be able to
release a stable teTeX release shortly after the "final" web2c release
is out (to give me some time to update the documentation).

So, you can really, really help me if you test this extensively: the most
valuable portability tests are, if you use the native tools of your system
(most developers use GNU C, GNU make and Linux, so if you can test with
something different, that would be great).

src tarball:
* merge web2c-7.3.8; BIG CHANGE!
(new pdftex; omega is back; banner change etc.)
* fix C++ runtime hack in texk/web2c/configure.in
* new cli stuff for fmtutil
* dvips updated from TeX Live (5.92a)
* updated libpng (to version 1.2.5)

texmf tarball:
* Omega added back
* changebar updated
* supertabular updated
* a4 updated (ntgclass)
* update ConTeXt (2002.10.11)
* update lshort (3.22)
* update eso-pic
* uk-tug faq updated
* babel updated
* tocloft updated
* texinfo.tex updated
* pdfpages updated
* eurosym + extsizes added

Thomas



Re: Thai Support in MakeIndex?

2002-10-02 Thread Thomas Esser

> I'm a Thai LaTeX user, and a contributor to thailatex development at
> Thai Linux Working Group. Now I've hacked MakeIndex for Thai support,
> and would like the feature to be available in upstream source.

I think that makeindex is no longer being actively maintained, so I
try the best with the version I distribute with teTeX.

I just have accepted your patch, but I have also added a few preprocessor
defines to make sure that makeindex still works on systems without
locale.h or setlocale() call. In addition, I have added the new options
to the manpage and usage message.

Thanks for the patch,

Thomas



20020922 pretest

2002-09-22 Thread Thomas Esser

Hi,

I just have uploaded a new teTeX-beta release which will soon be
available at CTAN, e.g.
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20020922.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20020922.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20020922.tar.gz

Main differences from previous release:

src tarball:
* xdvik 22.40n
* fix xdvi shrink sizes in texconfig
* buildin -> builtin in updmap
* changed [EMAIL PROTECTED] -> [EMAIL PROTECTED]
* updated libwww (to version 5.4.0)

texmf tarball:
* koma-script updated
* comments in updmap.cfg corrected / improved
* mfpic updated
* custom-bib updated
* clean up a few files / directories

Thomas



20020911 pretest

2002-09-11 Thread Thomas Esser

Hi,

I just have uploaded a new teTeX-beta release:
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20020911.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20020911.tar.gz

Differences from previous release:

src tarball:
* changed [EMAIL PROTECTED] -> [EMAIL PROTECTED]
* updated libwww (to version 5.4.0)

texmf tarball:
* clean up a few files / directories

For those, who are curious about the frequency of new teTeX-beta releases:
DANTE has announced to produce CTAN CDs that are send to its members,
so I try to provide the best possible teTeX-beta for it (data from CTAN
will be taken "about mid of September") and I make new releases even
with just a few changes.

Thomas



Re: Stack size limit?

2002-09-11 Thread Thomas Esser

Dear David,

> I found that the following ditty which in earlier incarnations of my
> system just died almost immediately with a Segmentation Fault, will
> under current 2.4 Linux kernels under, say, RedHat's (null) beta,
> cause the machine to more or less freeze:
> 
> tex '\def~{\if~}~'

My system (linux with 2.4.19 kernel) get slower, but tex is stopped with
  ! TeX capacity exceeded, sorry [main memory size=251].
after a few seconds.

> That's bad.  So perhaps one should let TeX automatically set a stack
> size limit, roughly what
> ulimit -s 1024 or so would do.

There are always ways to do weired things and to bring the system down
unless you set up limits that make the system unusable. I don't think
that adding such a system dependency is worth the trouble. Anyway,
the maintainer of web2c should decide that (since I aim to follow him
as closely as possible), so I'll forward him your request.

Thomas



Re: eusm10/teTeX-20020906

2002-09-07 Thread Thomas Esser

Hi Reinhard,

> running "make world" I got the message
...
> Error: `tex -ini  -fmt=dklatex -progname=dklatex dklatex.ini' failed
...
> The message says that I have to update my format file but what I do
> not understand is why "texconfig init dklatex" works without any error
> messages.
> 
> And the LaTeX version is the same as in 20020530.  What has been
> changed? 

I have added a TEXMFCNF=$(texmf)/web2c setting to the top-level
Makefile.in, but I don't think that this was really necessary.  So,
for now, I'll only pass TEXMFMAIN and PATH for the final mktexlsr,
fmtutil and texlinks calls.

I think that if you change
test -f $(scriptdir)/fmtutil && \
  TEXMFCNF=$(texmf)/web2c TEXMFMAIN=$(texmf) 
PATH=$(scriptdir):$(bindir):$(PATH) \
$(scriptdir)/fmtutil --all
test -f $(scriptdir)/texlinks && \
  TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
$(scriptdir)/texlinks
to
test -f $(scriptdir)/fmtutil && \
  TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
$(scriptdir)/fmtutil --all
test -f $(scriptdir)/texlinks && \
  TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
$(scriptdir)/texlinks
it'll work.

Thomas



Re: beta-20020905 No rule to make target `../klibtool.config'

2002-09-06 Thread Thomas Esser

> This works. Thanks.

Good to know.

> Does make -j2 work?

Yes. When compiling in texk/web2c, only one CPU will be used, however
(a .NOTPARALLEL prevents "make -j2" from failing there).

Thomas



Re: beta-20020905 No rule to make target `../klibtool.config'

2002-09-06 Thread Thomas Esser

> I tried to install teTeX-src-beta-20020905.
> 
> Compilation stops with ..
> 
> make[2]: Entering directory `/disc1/lsrc/teTeX/teTeX-src-beta-20020905/texk/kpathsea'
> make[2]: *** No rule to make target `../klibtool.config', needed by `tex-file.lo'.  
>Stop.

Maybe, this is caused by the wrong permissions of config.guess /
config.sub?  Try if

  find . \( -name config.guess -o -name config.sub \) -exec chmod 755 '{}' \;

fixes it (the wrong permissions are also fixed in today's pretest).

Thomas



20020906 pretest

2002-09-06 Thread Thomas Esser

Hi,

I just have uploaded a new teTeX-beta release, which will sonn be
available for download at:
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20020906.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20020906.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20020906.tar.gz

Main differences from previous release:

src tarball:
* fixed permissions of config.sub / config.guess

texmf tarball:
* updated koma-script

Thomas



20020905 pretest

2002-09-05 Thread Thomas Esser

Hi,

I just have uploaded a new teTeX-beta release. It will soon be available
for download at:
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20020905.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20020905.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmfsrc-beta-20020905.tar.gz

Main differences from previous release:

src tarball:
* config.sub / config.guess updated
* xdvik updated to 22.40l
* bugfix in updmap (when using Adobe fonts instead of default
  URW fonts)

texmf tarball:
* hyperref updated
* type1cm updated
* eso-pic updated
* footmisc updated
* missing *.lco files for koma-script added
* updated UK-TUG FAQ

Thomas



Re: [PATCH] Wrong font mappings with updmap 20020901 pretest

2002-09-02 Thread Thomas Esser

> when configured to use the Adobe Base 35 fonts updmap erroneously maps 
> the fonts from the phv*8an family to Helvetica-Condensed instead of 
> Helvetica-Narrow. I have included a patch for updmap below.

Whow! Thanks a lot for spotting this one! How silly of me to assume that
simple u <-> p mapping between the urw and adobe fonts ... :-(

Thomas



20020901 pretest

2002-09-01 Thread Thomas Esser

Hi,

I have uploaded a new teTeX-beta release, which will soon appear here:
  ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20020901.tar.gz
  
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-20020901.tar.gz

Main differences from previous release:
* remove libs/libtiff/mkversion binary
* more careful memory settings in texmf.in
* fix cleanup() in fmtutil, texconfig, texlinks, updmap
* new updmap options to allow to download standard fonts
  with dvips and pdftex

The new updmap options allow to set up dvips / pdftex to download the
standard fonts. Downloading the standard fonts gives you bigger files,
but this works around bugs where badly broken fonts would be used
instead of the original Adobe fonts when using some funny software or
postscript printer.

updmap generates two map files for pdftex: pdftex_dl14.map and
pdftex_ndl14.map (one with "download" and the other "no download").
pdftex.map will be a symlink to one of the two, depending on what you
choose as pdftexDownloadBase14 (true/false) in your updmap configuration.

The setup for dvips is more user-friendly, because updmap generates
a default configuration for dvips (depending on dvipsDownloadBase35)
plus two additional map files that can be used to override the default
on the dvips commandline: -Pdownload35 resp. -Pbuildin35.

Thomas



Re: Some remarks about pretest 20020825

2002-09-01 Thread Thomas Esser

> It seems that the system managers have restricted the size of allocatable
> memory on all our student HP machines to 64 Mbyte. So in order to run

Ok, I think that I'll make one exception to my "keep it simple" rule
for the array sizes. The extra_mem_top / extra_mem_bot settings are
only needed for ConTeXt, so I'll make them let them default to 0 and
have special settings for ConTeXt.

With these settings, I can "pdflatex small2e" with 35 MB of virtual
memory limit on my linux box.

Thomas



Re: Problems with texlinks and fmtutil

2002-08-31 Thread Thomas Esser

> this problem?  I'd always thought that "exit x" should set $? to x on all
> platforms.

I guess that the systems in question don't show "rc=0" when executing the
following code:
  /bin/sh -c "trap 'echo rc=\$?; exit \$rc' 0; false; exit 0"

On Linux with bash and with the /bin/sh on Sun Solaris 2.7, I get "rc=0",
however.

Anyway, I will use a common way for setting up $tmpdir and cleaning it up
in all my scripts using the technique of the new updmap.

The new way no longer calls the trap on "signal" 0 and needs an explicit
call to cleanup(). A graceful termination of the script will call "true;
cleanup" instead of "exit 0".  The first motivation for the new technique
was to work around a bug on OS/X (where /bin/sh is a broken zsh)...

Thomas

PS: did anybody get any bounces / problem reports when sending to
[EMAIL PROTECTED] (not tetex-pretest!). There has not
been any message on the tetex list since july, 8th.  any I wonder
if there is a technical problem...



Re: "cont-en" format fails to build if --disable-multiplatform set

2002-08-28 Thread Thomas Esser

> but when doing
> ./configure  --disable-a4 --prefix=/usr/local/teTeX-2.0
> --disable-multiplatform
...
> running `pdfetex -ini   -efmt=cont-en -progname=context *cont-en.ini' ...
> 
> (/usr/local/teTeX-2.0/share/texmf/tex/context/base/math-tex.tex
> ! TeX capacity exceeded, sorry [hash size=25000].
> \setvalue ...xpandafter \def \csname #1\endcsname
>
> \dodefinemathcommand ...{\@mt@ \mathcollection #1}
>   {\puremathcomm
> {#2}{#4}}\e...
> l.105 ...athcommand [csc] [nolop] {\mbox{csc}}
>
> No pages of output.
>
> Error: `pdfetex -ini  -efmt=cont-en -progname=context *cont-en.ini' failed

Thanks for the report.

The only explanation that comes into my mind is that different texmf.cnf
files are used (with resp. w/o --disable-multiplatform).

Does it help to add TEXMFCNF=$(texmf)/web2c to Makefile.in as in
test -f $(scriptdir)/fmtutil && \
  TEXMFCNF=$(texmf)/web2c TEXMFMAIN=$(texmf) 
PATH=$(scriptdir):$(bindir):$(PATH) \
  $(scriptdir)/fmtutil --all

Thomas



  1   2   3   >