Changing the banner is hardly possible
Hi, I just tried to change the banner for our Debian-specific changes in teTeX's pdftex 1.21a, but that doesn't work well. --- tetex-bin-3.0.orig/texk/web2c/pdfetexdir/pdfetexextra.in 2005-07-20 12:28:21.000000000 +0200 +++ tetex-bin-3.0/texk/web2c/pdfetexdir/pdfetexextra.in 2006-03-24 10:17:29.000000000 +0100 @@ -26,7 +26,7 @@ (generated from ../lib/texmfmp.c). */ -#define BANNER "This is pdfeTeX, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION" +#define BANNER "This is pdfeTeX using libpoppler, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION" #define COPYRIGHT_HOLDER "Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)" #define AUTHOR NULL #define PROGRAM_HELP PDFETEXHELP leads to the funny output # pdftex --version pdfeTeX using libpoppler 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea version 3.5.4 Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfeTeX using libpoppler copyright and the GNU General Public License. For more information about these matters, see the files named COPYING and the pdfeTeX using libpoppler source. Primary author of pdfeTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Kpathsea written by Karl Berry and others. Appending something after the version number doesn't seem to work, either. If this is still the same in the 1.40 betas, I'll report a bug... Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)
� wrote:
Hi,
I just tried to change the banner for our Debian-specific changes in teTeX's pdftex 1.21a, but that doesn't work well.
--- tetex-bin-3.0.orig/texk/web2c/pdfetexdir/pdfetexextra.in 2005-07-20 12:28:21.000000000 +0200 +++ tetex-bin-3.0/texk/web2c/pdfetexdir/pdfetexextra.in 2006-03-24 10:17:29.000000000 +0100 @@ -26,7 +26,7 @@ (generated from ../lib/texmfmp.c). */
-#define BANNER "This is pdfeTeX, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION" +#define BANNER "This is pdfeTeX using libpoppler, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION" #define COPYRIGHT_HOLDER "Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)" #define AUTHOR NULL #define PROGRAM_HELP PDFETEXHELP
how are we going to deal with different libraries in pdftex? pdfetex (using xpdf) pdfpoppleretex (using poppler) or will the poppler variant generate exactly the same output as the xpdf variant (which is the cross platform lib)? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen
� wrote:
Hi,
I just tried to change the banner for our Debian-specific changes in teTeX's pdftex 1.21a, but that doesn't work well.
--- tetex-bin-3.0.orig/texk/web2c/pdfetexdir/pdfetexextra.in 2005-07-20 12:28:21.000000000 +0200 +++ tetex-bin-3.0/texk/web2c/pdfetexdir/pdfetexextra.in 2006-03-24 10:17:29.000000000 +0100 @@ -26,7 +26,7 @@ (generated from ../lib/texmfmp.c). */ -#define BANNER "This is pdfeTeX, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION" +#define BANNER "This is pdfeTeX using libpoppler, Version 3.141592-PDFTEX-VERSION-ETEX-VERSION" #define COPYRIGHT_HOLDER "Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)" #define AUTHOR NULL #define PROGRAM_HELP PDFETEXHELP
how are we going to deal with different libraries in pdftex?
pdfetex (using xpdf) pdfpoppleretex (using poppler)
or will the poppler variant generate exactly the same output as the xpdf variant (which is the cross platform lib)?
I think until somebody joins the poppler developers to code actual improvements, the parts of poppler that affect pdftex won't change, and the created PDF files will be identical. But that's not my concern here; it's just a coincidence that I made that particular change. I could as well experiment with including some of XeTeX's opentype code, or whatever - the GPL (2a) requires to change the message that is displayed upon startup, or at least it is reasonable to read it like this, when I made changes to the sources. So there should be a way to add some information in the banner (ideally, also in the banner that's printed when pdftex is invoked without the version switch) without making the whole text a mess. Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX)
participants (2)
-
Frank Küster
-
Hans Hagen