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

Re: TL2012 and paper config



Hi Frank,

On Fr, 02 Mär 2012, Frank Küster wrote:
> > The code is quite easy, from tlmgr.pl:
> [...]
> >     } else { # tlmgr paper {a4|letter} => do it.
> >       return if !check_on_writable();
> >       TeXLive::TLPaper::paper_all($texmfsysconfig,$newpaper);
> >     }
> [...]
> > I can easily create a very simple perl script that does the same without
> > tlmgr, actually only the use ... statements are missing.
> >
> > Would that be integrable into this?
> 
> There is only one "problem": It's a regression that only a4 and letter
> are available.  

I know ... but ...

> However, I'm inclined to say:  Let's do it like this.  If people start
> actually complaining that they want other paper sizes to be
> configurable, we can always add more complex code.

Or jsut tell them: Sorry, this is not supported.

> If we have to do that, I'd adapt TLPaper.pm - it has all the information
> already for xdvi and it shouldn't be hard to change that into a hash
> list and cat the strings together for xdvi, pdftex etc. from that list. 

tex-common v3 will install all the perl modules into
	/usr/share/texlive/tlpkg/TeXLive
I am not sure if we should install it somewhere else, (too?), but
this is a good place I think ;-) I need the modules for updmap,
and if I ever include user-mode tlmgr then we need anyway all the stuff.

Do you want me to create some mini-perl program that does only the
paper stuff?  Or is it enough clear what should happen?

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
------------------------------------------------------------------------
SCREMBY (n.)
The dehydrated felt-tip pen attached by a string to the 'Don't Forget'
board in the kitchen which has never worked in living memory but which
no one can be bothered to throw away.
			--- Douglas Adams, The Meaning of Liff


Reply to: