Re: [NTG-pdftex] pdftex.cfg (was: pdfetex as the only engine)
On 2004-03-09 22:00:55 +0100, Fabrice Popineau wrote: So we simply drop the cfg?
How then to set the default pk resolution, if no Type1 fonts are found and .pk fonts are to be generated? E. g. it's 600 dpi at work and 1200 dpi at home, all time constant but system dependent. Handled by texconfig... Same for this image resolution flag (which i never use). Regards, Hartmut -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
At 09:05 10/03/2004, Hartmut Henkel wrote:
On 2004-03-09 22:00:55 +0100, Fabrice Popineau wrote: So we simply drop the cfg?
How then to set the default pk resolution, if no Type1 fonts are found and .pk fonts are to be generated? E. g. it's 600 dpi at work and 1200 dpi at home, all time constant but system dependent. Handled by texconfig...
hm, that's not so much an issue for pdftex, but for the pk generator, so it should be in texmf.cnf
Same for this image resolution flag (which i never use).
i set these things in context Hans
On 2004-03-09 22:00:55 +0100, Fabrice Popineau wrote: So we simply drop the cfg?
How then to set the default pk resolution, if no Type1 fonts are found and .pk fonts are to be generated? E. g. it's 600 dpi at work and 1200 dpi at home, all time constant but system dependent. Handled by texconfig...
You can completely replace pdftex.cfg with \input pdftexconfig.tex : \pdfoutput=... ... \pdfpkresolution=1200 \pdfimageresolution=... and these will be dumped into your format. I agree that the whole tex thing lacks a model for a central configuration tool. But I don't think it will be solved either by pdftex.cfg. Fabrice
At 12:21 10/03/2004, Fabrice Popineau wrote:
You can completely replace pdftex.cfg with \input pdftexconfig.tex : \pdfoutput=... ... \pdfpkresolution=1200 \pdfimageresolution=...
and these will be dumped into your format.
I agree that the whole tex thing lacks a model for a central configuration tool. But I don't think it will be solved either by pdftex.cfg.
actually, that file you mentioned is the concept, which is why context has cont-sys.tex -) Hans
You can completely replace pdftex.cfg with \input pdftexconfig.tex :
Ok, I just have done this in my tree. The name I have chosen was pdfconfig.tex, and I have put that file to tex/generic/config. Content: % Set pdfTeX parameters for pdf mode (replacing pdftex.cfg file). % Thomas Esser, 2004. public domain. \pdfoutput=1 \pdfcompresslevel=9 \pdfdecimaldigits=3 \pdfpagewidth=210 true mm \pdfpageheight=297 true mm \pdfhorigin=1 true in \pdfvorigin=1 true in \pdfpkresolution=600 \pdfoptionpdfminorversion=4 \endinput And I have changed all pdf*.ini file to "\input pdfconfig" instead of "\pdfoutput=1", e.g. pdflatex.ini: % Thomas Esser, 1998, 2004. public domain. \input pdfconfig \scrollmode \input latex.ltx \endinput Having set up everything "pdfetex" based via fmtutil.cnf, some things not work. But, I doubt that this can be release to public unless at least the most important macro packages are fixed for the situation that \pdfoutput is defined but pdfetex is working in dvi mode... I am quite sure that everything from Hans and Heiko gets this right, but most other people's code that deals with that has to be fixed. Even texinfo.tex has: \ifx\pdfoutput\undefined ... \else \pdftrue \pdfoutput = 1 \input pdfcolor ... \fi Argh... Thomas
At 18:00 10/03/2004, Thomas Esser wrote:
You can completely replace pdftex.cfg with \input pdftexconfig.tex :
Ok, I just have done this in my tree. The name I have chosen was pdfconfig.tex, and I have put that file to tex/generic/config. Content:
% Set pdfTeX parameters for pdf mode (replacing pdftex.cfg file). % Thomas Esser, 2004. public domain. \pdfoutput=1 \pdfcompresslevel=9 \pdfdecimaldigits=3
make that 4 or 5, esp since tex does a log of back/forward transforms and we don't want to loose precission
\pdfpagewidth=210 true mm \pdfpageheight=297 true mm \pdfhorigin=1 true in \pdfvorigin=1 true in \pdfpkresolution=600 \pdfoptionpdfminorversion=4
actually you can add: \pdfmapfile{psfonts.map} which solves the map file specification problem as well Hans
On 2004-03-12 00:15:02 +0100, Hans Hagen wrote:
\pdfmapfile{psfonts.map}
s/psfonts/pdftex/ Best regards Martin -- Martin Schröder, ms@artcom-gmbh.de ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany Voice +49 421 20419-44 / Fax +49 421 20419-10 http://www.artcom-gmbh.de
On Fri, 12 Mar 2004, Hans Hagen wrote:
At 18:00 10/03/2004, Thomas Esser wrote:
\pdfdecimaldigits=3
make that 4 or 5, esp since tex does a log of back/forward transforms and we don't want to loose precission
No big risk there. Max. sensible value is 4, larger values are clipped to 4, and these transforms seem to be only translations (1 0 0 1 x y cm) which are exact (same shift values in forward/back transform lines). Regards, Hartmut
On 2004-03-10 18:00:07 +0100, Thomas Esser wrote:
Ok, I just have done this in my tree. The name I have chosen was pdfconfig.tex, and I have put that file to tex/generic/config.
Can we have that somewhere for people to download? I fear that the new pdftex will be useless without it. Best regards Martin -- Martin Schröder, ms@artcom-gmbh.de ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany Voice +49 421 20419-44 / Fax +49 421 20419-10 http://www.artcom-gmbh.de
On 2004-03-10 18:00:07 +0100, Thomas Esser wrote:
Ok, I just have done this in my tree. The name I have chosen was pdfconfig.tex, and I have put that file to tex/generic/config.
Can we have that somewhere for people to download? I fear that the new pdftex will be useless without it.
People will also need these reworked .ini files that make use of this new file. BTW: since texlive has named my file pdftexconfig.tex, I have just done the same. I don't know how these files should be distributed. They will be part of the next TeX Live / teTeX release. If you make a stand-alone pdftex distribution, you might want to add these files, there, too. You can download my tarball (with just the .ini files and pdftexconfig.tex) from http://www.dbs.uni-hannover.de/~te/pdftexconfig.tar.gz Maybe, you want to make this tarball available via http://tug.org/applications/pdftex/ Thomas
participants (5)
-
Fabrice Popineau
-
Hans Hagen
-
Hartmut Henkel
-
Martin Schröder
-
Thomas Esser