&Warning("to set your txt2pdf configuration file you can use:\ntxt2pdf.cfg or -configure your_txt2pdf.cfg or TXT2PDFCFG\nElse the program will use the default parameters\n-default to see the default parameters\n")
}
$list and $option{'list'}=$list;
if ($option{'list'}) {
open (LIST, "$option{'list'}") ||
die "txt2pdf: couldn't open list file $option{'list'}\n";
while (<LIST>) {
s/\t/ /g; #replace tabs by space
next if /^ *\#/; #ignore comment lines
next if /^ *$/; #ignore empty lines
push @ARGV,$_;
}
close(LIST);
}
$paper and $option{'paper'}=$paper;
$landscape and $option{'landscape'}=$landscape;
$npage and $option{'npage'}=$npage;
$border and $option{'border'}=$border;
$pdfdir and $option{'pdfdir'}=$pdfdir;
$txtdir and $option{'txtdir'}=$txtdir;
print <<FEE;
This is an UNREGISTERED version of $producer.
Registration fee is \$99.
Register NOW via a SECURE SERVER at
$SECURESERVER
or contact $companyname $SANFACEmail
FEE
if ($stdin) {push @ARGV,"-";}
if (uc($option{'paper'}) =~ /A3/) {$pageWidth=842; $pageHeight=1190;}
{&Warning("the set encoding $typeencoding isn't MacRomanEncoding or MacExpertEncoding or WinAnsiEncoding or default\n$producer will use the default encoding (ISOLatin1Encoding)")}
if ($option{'transition'} =~ /replace/) {$transition=""}