diff options
Diffstat (limited to 'Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl')
-rw-r--r-- | Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl b/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl index 55f4f6d9d18..1a091d38aa1 100644 --- a/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl +++ b/Master/tlpkg/tlpostcode/ptex2pdf-tlpost.pl @@ -152,16 +152,16 @@ my %original = ( }, ); -if ($::lang ne 'ja') { - # not adjusting TeXworks for ptex2pdf - exit(0); -} - $::lang = "C"; require TeXLive::TLWinGoo; require("TeXLive/trans.pl"); #use Data::Dumper; +if ($::lang ne 'ja') { + # not adjusting TeXworks for ptex2pdf + exit(0); +} + if ($mode eq 'install') { do_install(); } elsif ($mode eq 'remove') { @@ -186,6 +186,7 @@ sub do_install { } else { $toolsdir = $ENV{'HOME'} . "/.TeXworks/configuration"; } + # print "toolsdir = $toolsdir\n"; my $tools = "$toolsdir/tools.ini"; my $highest_entry = 0; if (-r $tools) { |