[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#665947: texlive-base: ucf mess with paper sizes



severity 665947 serious
thanks

I am making this RC to prevent testing transition. I want to get a fix
before that goes into testing.

On Di, 27 MÀr 2012, Frank KÌster wrote:
> In the first version of the libpaper code, texconfig was patched to use
> ucf for pdftexconfig.tex, config.ps, XDvi and dvipdfmx.cfg. 
> 
> When we switched to TL 2011/12, I got the impression that, due to the
> new default to read "configuration" files everywhere, we wouldn't need
> _and_install_ those files below /etc/texmf any more.  I understood that
> they would only be created locally when calling tl-paper.
> 
> However, they are still installed by ucf, giving rise to spurious
> warnings (I got a whitespace change) and probably more problems.
> 
> I also think that when those files are generated by tl-paper, they
> should _only_ contain papersize settings and nothing else, to make it
> manageable.  Or in fact we need to use ucf in tl-paper, which would mean
> to patch the Perl modules in /usr/share/texlive/tlpkg/TeXLive/.

On Do, 05 Apr 2012, Norbert Preining wrote:
> Hi Frank,
> 
> any opinion on that ...
> 
> On Fr, 30 MÀr 2012, Norbert Preining wrote:
> > Hi Frank,
> > 
> > On Do, 29 MÀr 2012, Frank KÌster wrote:
> > > > TLPaper.pm. BUt as said, we have two options:
> > > > - we patch TLPaper and continue with ucf (not happy about it)
> > > > - we patch dvipdfmx and dvips to allow for inclusion of other config
> > > >   files, and just include a minimal
> > > > 	config-debian.ps
> > > > 	dvipdfmx-debian.cfg
> > > >
> > > > What do you prefer, Frank?
> > > 
> > > The second option is much better.  Even without our recent
> > > misconceptions, the word "mess" near "ucf" is not badly placed.  It's a
> > > useful tool if you need it, but better avoid it.
> > 
> > Ok, but how do we do that?
> > One idea is to patch the dvipdfmx.cfg in 
> > 	/usr/share/texlive/texmf/dvipdfmx/dvipdfmx.cfg
> > to include
> > 	i dvipdfmx-paper.cfg
> > then remove any old copies of dvipdfmx.cfg in /etc/texmf, and finally
> > use tl-paper to create dvipdfmx-paper.cfg in TEXMFSYSVAR
> > 
> > If an admin copies /u/s/texlive/t/.../dvipdfmx.cfg to /etc/texmf/...
> > and edits it, then it is his responsability to also include the
> > 	i dvipdfmx-paper.cfg
> > line.
> > 
> > -----------------------
> > Another idea is to patch as above for
> > 	i dvipdfmx-debian.cfg
> > and create dvipdfmx-debian.cfg in /etc/texmf/... and keep it under
> > ucf (only the minimal file), and use ucfr to edit it in TLpaper.
> > 
> > ---------------------
> > 
> > Or the same as the second option but without ucf?
> > 
> > 
> > --------------------------
> > 
> > Or....??? Any ideas?
> > 
> > (of course, same for config.ps/dvips; XDvi/xdvi, ......

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
SLOGARIE (n.)
Hillwalking dialect for the seven miles of concealed rough moorland
which lie between what you though was the top of the hill and what
actually is.
			--- Douglas Adams, The Meaning of Liff



Reply to: