!
! Texchan customization example
!

!
! terminal shell
!
Texchan*dtb_main_mainwindow_mainwin*termpane.subprocessCmd:	/bin/tcsh

!
! PostScript filename same to tex filename mode
!
Texchan*dtb_main_mainwindow_mainwin*checkbox_pssamename.On_item.set:	false
Texchan*dtb_main_mainwindow_mainwin*checkbox_pssamename.Off_item.set:	true

!
! Default PostScript filename, temporary file not at same tex filename mode
!
Texchan*dtb_main_mainwindow_mainwin*textfield_psfile.value:	texchan.ps

!
! compile tex, view dvi, print dvi, dvi->ps, view ps and print ps commands
!
Texchan*dtb_main_dialog_commands_shellform*textfield_command_compiletex.value:\
	$T `basename $F .tex`
Texchan*dtb_main_dialog_commands_shellform*textfield_command_viewdvi.value:\
	xdvi -paper `echo $S|sed s/landscape/r/` `basename $F .tex` &
Texchan*dtb_main_dialog_commands_shellform*textfield_command_printdvi.value:\
	dvi2ps -o $S `basename $F .tex`.dvi > $P; lp $P
Texchan*dtb_main_dialog_commands_shellform*textfield_command_dvitops.value:\
	dvi2ps -o $S `basename $F .tex`.dvi > $P
Texchan*dtb_main_dialog_commands_shellform*textfield_command_viewps.value:\
	ghostview $P &
Texchan*dtb_main_dialog_commands_shellform*textfield_command_printps.value:\
	lp $P
Texchan*dtb_main_dialog_commands_shellform*textfield_command_edittexfile.value:\
	mule $F >& /dev/null &

!
! compile tex command
!
Texchan*defaultTeXcommand:	jlatex

!
! paper size
!
Texchan*defaultPaperSize:	a4
