summaryrefslogtreecommitdiff
path: root/support/tex-it/texitrc.os2
diff options
context:
space:
mode:
Diffstat (limited to 'support/tex-it/texitrc.os2')
-rw-r--r--support/tex-it/texitrc.os259
1 files changed, 59 insertions, 0 deletions
diff --git a/support/tex-it/texitrc.os2 b/support/tex-it/texitrc.os2
new file mode 100644
index 0000000000..267d254df3
--- /dev/null
+++ b/support/tex-it/texitrc.os2
@@ -0,0 +1,59 @@
+# This is my .texitrc for OS/2 using emTeX
+
+# I like to delete a lot more files...
+#
+@cleanup_latex = ('dvi', 'aux','log','blg','ilg','ind','idx','bbl');
+
+# emTeX returns error code 1 for overfull boxes and other non-fatal
+# errors, so set $TEXERROR to 2.
+#
+$TEXERROR = 2;
+
+# Prompt me to delete files when I'm done using TeXit...
+#
+$CLEANONEXIT = 1;
+
+$TEX = "tex386"; # The emTeX executables...
+$MAKEINDEX = "makeindx";
+$VIEW = "v.cmd"; # Batch file to view DVI with DVISCR
+
+$TEXCMD{"default"} = '$TEX %F %o \\input{%s}';
+$TEXCMD{"plain"} = '$TEX %F %o \\input %s';
+$TEXCMD{"texinfo"} = '$TEX %F %o \\input %s';
+$VIEWCMD = '$VIEW %D %o';
+
+$DEFAULTFORMAT = "plain"; # Run Plain TeX by default
+
+%PRQUEUE = (); # Delete all default printers
+
+$PRQUEUE{"Local"} = "pcl"; # Add Local PCL printer (LaserJet)
+$PRQUEUE{"File"} = "pcl"; # Print to file is a PCL printer too
+
+$DVICMD{"pcl"} = 'lj3.btm %D %o'; # lj3.btm is a batch file to run dvihplj
+$DVIOPT{"pcl"} = "";
+
+$PRINTCMD{"Local"} = 'copy /b %S.pcl %o lpt1';
+$PRINTOPT{"Local"} = "";
+
+$PRINTCMD{"File"} = "";
+$PRINTOPT{"File"} = "";
+
+# Delete Ghostview...
+delete $CMDPROMPT{$GhostviewReply};
+delete $CMDTEST{$GhostviewReply};
+
+# Default action when hitting Enter after TeXing is Viewing...
+$DEFAULTCMD{$TeXReply} = $ViewReply;
+
+# Add a new command which runs TeX and then automatically runs View...
+$TeXandViewReply = "[T]eX & View";
+$CMDPROMPT{$TeXandViewReply} = $CMDPROMPT{$TeXReply};
+$CMDTEST{$TeXandViewReply} = $CMDTEST{$TeXReply};
+$AUTOCMD{$TeXandViewReply} = $ViewReply;
+$AUTOOPT{$TeXandViewReply} = "";
+
+# Add a run-any-command option...
+$RunCommand = "[!] run command";
+$CMDPROMPT{$RunCommand} = '&run("$opts",""); $REASK;';
+$CMDTEST{$RunCommand} = "";
+