NAME

TeXLive::TLPaper -- TeX Live paper size module

SYNOPSIS

use TeXLive::TLPaper;

DESCRIPTION

get_paper_list($prog)

Returns the list of supported paper sizes with the first entry being the currently selected one.

get_paper($prog)

Returns the currently selected paper size for program $prog.

do_paper($prog,$texmfsysconfig,@args)

Call the paper subroutine for $prog, passing args.

Returns a reference to a list of papers if called with --returnlist, otherwise one of the standard flags (see TeXLive::TLConfig).

paper_all($texmfsysconfig, $newpaper)

Pass all @args to each paper subroutine in turn, thus setting the paper size for all supported programs. Returns the bit-mapped return values of the single subroutine returns.