about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tex
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-16 20:37:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-16 20:37:32 +0000
commit6e95fc96020f9d32cae7e48b65c180b9a6263b6e (patch)
tree788e45a21d06af671671719bd31e42459c1b97d7 /Completion/Unix/Command/_tex
parent4f9ee790e0d9f0b3915c2769e0e48c6a7cd8f353 (diff)
downloadzsh-6e95fc96020f9d32cae7e48b65c180b9a6263b6e.tar.gz
zsh-6e95fc96020f9d32cae7e48b65c180b9a6263b6e.tar.xz
zsh-6e95fc96020f9d32cae7e48b65c180b9a6263b6e.zip
28631: gi1242+zsh@gmail.com (as in 28633): completion updates
Diffstat (limited to 'Completion/Unix/Command/_tex')
-rw-r--r--Completion/Unix/Command/_tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_tex b/Completion/Unix/Command/_tex
new file mode 100644
index 000000000..9943fe10c
--- /dev/null
+++ b/Completion/Unix/Command/_tex
@@ -0,0 +1,29 @@
+#compdef tex latex slitex pdftex pdflatex jadetex pdfjadetex xetex=tex xelatex=latex latexmk
+
+_arguments : \
+    '-enc[enable encTeX extensions]' \
+    '(-no-file-line-error -file-line-error)'{-no,}'-file-line-error[enable/disable file\:line\:error style messages]' \
+    '-fmt=-[use FMTNAME instead of program name or a %& line]:FMTNAME:' \
+    '-halt-on-error[stop processing at the first error]' \
+    '-ini[be initex, for dumping formats]' \
+    '-interaction[set interaction mode]:STRING:(batchmode nonstopmode  scrollmode errorstopmode)' \
+    '-ipc[send DVI output to a socket as well as the usual output file]' \
+    '-ipc-start[as -ipc, and also start the server at the other end]' \
+    '-jobname=-[set the job name]:STRING:' \
+    '-kpathsea-debug=-[set path searching debugging flags according to the bits of NUMBER]:NUMBER:' \
+    '(-no-mktex -mktex)'{-no,}'-mktex=-[enable/disable mktexFMT generation]:FMT:(tex tfm)' \
+    '-mltex[enable MLTeX extensions]' \
+    '-output-comment=-[DVI file comment]:STRING:' \
+    '-output-directory=-[directory to write files to]:DIR:' \
+    '(-no-parse-first-line -parse-first-line)'{-no,}'-parse-first-line[disable/enable parsing of the first line of the input file]' \
+    '-progname=-[set program (and fmt) name]:STRING:' \
+    '-recorder[enable filename recorder]' \
+    '(-no-shell-escape -shell-escape)'{-no,}-shell-escape'[enable/disable \\write18{SHELL COMMAND}]' \
+    '-shell-restricted[enable restricted \\write18]' \
+    '-src-specials[insert source specials into the DVI file]' \
+    '-src-specials=-[insert source specials in certain places of the DVI file]:WHERE:_values -s , WHERE cr display hbox math par parend vbox' \
+    '-translate-file=-[use the TCX file TCXNAME]:TCXNAME:' \
+    '-8bit[make all characters printable by default]' \
+    '-help[display this help and exit]' \
+    '-version[output version information and exit]' \
+    '*:TeX or LaTeX file:_files -g "*.(tex|TEX|texinfo|texi)(-.)"'