diff options
author | Norbert Preining <preining@logic.at> | 2008-04-22 21:18:41 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-04-22 21:18:41 +0000 |
commit | ccd8c1bf5413a4219db2f14c67c70c64eef7a7ff (patch) | |
tree | 299ea2c6516babeb0f1f76cdad036b1d6e7bd460 /Master | |
parent | 48adac9674fc15cba32e347d960d105f3f5473af (diff) |
do not support XDvi on windows when setting paper size
git-svn-id: svn://tug.org/texlive/trunk@7601 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/texconf.tlu | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/texmf/scripts/texlive/texconf.tlu b/Master/texmf/scripts/texlive/texconf.tlu index e1e62baca80..16776dcfb2f 100755 --- a/Master/texmf/scripts/texlive/texconf.tlu +++ b/Master/texmf/scripts/texlive/texconf.tlu @@ -259,13 +259,12 @@ function set_xdvi_papersize(papersize) -- Read the file. local filename if os.type == 'windows' then - texmfmain=kpse.var_value('TEXMFMAIN') - filename = texmfmain.."\\xdvi\\XDvi" - else - kpse.set_program_name('xdvi') - filename=kpse.find_file('XDvi', 'other text files') + return end + kpse.set_program_name('xdvi') + filename=kpse.find_file('XDvi', 'other text files') + -- print ('< '..filename) local infile=assert(io.open(filename, 'r')) local lines={} |