Bug#402994: use new libpaper hook to track system paper size
Ralf Stubner <ralf.stubner@web.de> wrote:
> - editing config.ps is non-trivial; there is readymade ed-code in
> texconfig for this, though
>
> - maybe one could make use of texconfig for editing the files:
>
> . ship files somewhere in /use/share/$packagename
> . copy files to tmpdir in proper TDS structure (see tcfmgr.map)
> . edit files with 'TEXMFCONFIG=$tmpdir texconfig'
> . install files with ucf
Yes, that's a good idea.
> - actually neither 'a4' nor 'letter' as defined in config.ps should not
> be used as default paper sizes; one should use A4size or letterSize;
> see the end of '4.2 Configuration file paper size command' in the dvips
> documentation (texdoc dvips)
I admit that I don't understand the info file at this point. It isn't a
bug in PS to specify the papersize correctly, is it? Then why not map
"a4" onto correct "A4sixe", and the same with letter, or simply define
a4 correctly?
> The latter point might actually be a bug in texconfig and/or the default
> config.ps.
config.ps in tetex-base starts with A4size and letterSize, so this looks
good. texlive-base-bin nearly has the same, but it's lowercase
"a4size".
When calling "texconfig paper a4", it's internally mapped to A4size, and
the same for letter.
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: