summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-04-22 05:53:12 +0000
committerNorbert Preining <preining@logic.at>2008-04-22 05:53:12 +0000
commit2dcac6fb9d18ff0552771ad22d435f6d76736731 (patch)
tree82fe1d658b64eb11d3bc033255d566d003c8ad3f /Master/install-tl
parent069a658765e7f97b7f923151911b2811fa1c6166 (diff)
paper support for unix, for win32 in progress
git-svn-id: svn://tug.org/texlive/trunk@7583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 2beb8821e3a..6558dbaf4de 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -916,7 +916,13 @@ sub do_postinst_stuff {
# letter instead of a4
if ($vars{'option_letter'}) {
- tllog($::LOG_NORMAL, "letter option not implemented yet, please wait\n");
+ if (win32()) {
+ tllog($::LOG_NORMAL, "Setting default paper size to letter\n");
+ system("texlua.exe", "$TEXDIR/texmf/scripts/texlive/texconf.tlu", "paper", "letter");
+ } else {
+ tllog($::LOG_NORMAL, "Calling texconfig-sys paper letter\n");
+ system("texconfig-sys", "paper", "letter");
+ }
}
# all formats option