#!/usr/local/bin/wishx -f
# ^ Enter the path of your wishx

set params(ts_dir) /usr/local/lib/ts
# ^ Enter the directory of ts library

set params(icon_dir) $params(ts_dir)
# Directory of the icons (normal equal to TeXShell dir

set hlp(dir) "$params(ts_dir)/help/ger"
# Directory of the help files, eng or ger

set params(showicons) 1
# 0 -> no Icons, 1 -> show Icons beside the command buttons

set params(editfont) 6x13
# font for editor (use a fixed font): fixed, 6x13, 9x15, ...

#PROF profile on

foreach f [glob $params(ts_dir)/*.tcl] {
  source $f
}

# Global variables

set params(version) 1995/07/11
set params(debug) 0     ;# 1 shows debug information
set params(hist_max) 500 ;# after hist_max the first lines will be deleted
set params(hist_min) 100 ;# after deleting hist_min lines will be remaining
set params(Primary_file) ""
set params(Primary_dir) [pwd]
set params(Edit_file) ""
set params(pid) 1
set params(ShowOut) 1
set params(global_options) {}

set params(pr_first) ""
set params(pr_last) ""
set params(pr_copies) ""
set params(pr_xopt) ""
set params(pr_orientation) ""
set params(pr_pages) ""

set hlp(ref_list) ""

set pid {}

main
