From f589d28556171fbe773abffa0a5d99789fbfd1be Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 16 Jan 2009 00:07:45 +0000 Subject: fix tlmgr2 gui mode, the gui used some things from paper-settings ... git-svn-id: svn://tug.org/texlive/trunk@11882 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPaper.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Master/tlpkg/TeXLive/TLPaper.pm') diff --git a/Master/tlpkg/TeXLive/TLPaper.pm b/Master/tlpkg/TeXLive/TLPaper.pm index 58a2bdd17d7..301d6abb65a 100644 --- a/Master/tlpkg/TeXLive/TLPaper.pm +++ b/Master/tlpkg/TeXLive/TLPaper.pm @@ -124,6 +124,19 @@ my %dvipdfm_papersize = ( + +=item C + +Returns the list of supported paper sizes with the first entry being +the currently selected one. + +=cut + +sub get_paper_list { + my $prog = shift; + return ( &{$paper_sub{$prog}} ( "/dummy", "--returnlist" ) ); +} + =item C Call the paper subroutine for C<$prog>, passing args. Return hash of -- cgit v1.2.3