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

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



Hi Frank,

On Mo, 16 Apr 2012, Frank KÃŒster wrote:
> > * these paper specific config files are located in /var/lib/texmf/...
> >   by the libpaper hook
> 
> Since the file to be changed by the admin is /etc/libpaper, this sounds
> fine.  However, what will happen if someone puts a copy of one of the
> configuration files into /etc/texmf?  I guess it must include the same

Then he can do whatever he want, that is not our problem.
If he decides to include the paper config he can, if not he
can set it by hand, all fine with me.

> reference to the fil ein /var, or the libpaper integration will fail?

Well, the paper will not be set for this program, but this is the
admins responsability. I have actually added comments to this respect
to the main config files, so that if someone copies he will read
a notice that he should take care for that.

> We should document this.

Maybe, but then, if someone puts a copy of fmtutil.cnf into 
/etc/texmf/web2c and puts rubbish there, all our system will also
break down. It is *to*be*expected*.

> Formally, /var is not guaranteed to be still there after a reboot, is

I know, but in this case we don't have ls-R file either, and nothing
will work at all ...

> it?  But that would spoil our complete approach, and it doesn't fit to
> reality I guess.  If anyone files a bug report, let's add a rc.d script
> that checks for existence and otherwise calls paperconfig...

same with mktexlsr, updmap.cfg, fmtutil.cnf, .... many files ....
if /var goes down the river, many things go down the river in tex.

> > 	dvips:		cconfig-paper.ps
> > 	dvipdfmx:	i dvipdfmx-paper.cfg
> > 	XDvi:		#include XDvi-paper (???)
> 
> What do you mean with the question mark? 

Becasue I do not know if xdvi actually evaluates these #include 
statements. It is documented in the X man pages that it works, but
I don't know how xdvi parses, and I don't want to go into that details
now ;-)

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
------------------------------------------------------------------------
ROYSTON (n.)
The man behind you in church who sings with terrific gusto almost tree
quarters of a tone off the note.
			--- Douglas Adams, The Meaning of Liff



Reply to: