Re: TL2012 status 2012-03-06
On Di, 06 Mär 2012, Frank Küster wrote:
> I would like to filter out the paper size at the end of the output line
> of
>
> TeXLive::TLPaper::do_paper($prg,$texmfsysconfig,undef)
>
> which looks like this:
>
> Current xdvi paper size (from /etc/texmf/xdvi/XDvi): a4
>
> However, something like
>
> my $paperline = TeXLive::TLPaper::do_paper($prg,$texmfsysconfig,undef);
Why don't you read the code I sent you:
# the following actually also *reads* the configuration and returns
# a list where the first item is the one selected.
my ($current_paper, @other_options) = TeXLive::TLPaper::get_paper_list($prg)
Isn't that what you need?
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
------------------------------------------------------------------------
SLUBBERY (n.)
The gooey drips of wax that dribble down the sides of a candle so
beloved by Italian restaurants with Chianti bottles instead of
wallpaper.
--- Douglas Adams, The Meaning of Liff
Reply to: