2006-02-15 10:22:28 +08:00
|
|
|
|
|
|
|
function __fish_complete_tex -d "Common completions for all tex commands"
|
|
|
|
|
2007-01-16 09:18:28 +08:00
|
|
|
complete -c $argv -o help --description "Display help and exit"
|
|
|
|
complete -c $argv -o version --description "Display version and exit"
|
2006-02-15 10:22:28 +08:00
|
|
|
complete -c $argv -x -a "(
|
|
|
|
__fish_complete_suffix (commandline -ct) .tex '(La)TeX file'
|
|
|
|
)"
|
|
|
|
|
2012-06-16 08:30:10 +08:00
|
|
|
complete -c $argv -o file-line-error -d "Show errors in style file:line"
|
|
|
|
complete -c $argv -o no-file-line-error -d "Show errors not in style file:line"
|
|
|
|
complete -c $argv -o halt-on-error -d "Stop processing at the first error"
|
2013-04-02 01:49:02 +08:00
|
|
|
complete -c $argv -o interaction=batchmode -d "Set interaction mode"
|
|
|
|
complete -c $argv -o interaction=nonstopmode -d "Set interaction mode"
|
|
|
|
complete -c $argv -o interaction=scrollmode -d "Set interaction mode"
|
|
|
|
complete -c $argv -o interaction=errorstopmode -d "Set interaction mode"
|
2012-11-18 18:23:22 +08:00
|
|
|
complete -c $argv -o output-directory= -x -a "(__fish_complete_directories (commandline -ct))" -d "Output directory"
|
2012-06-16 08:30:10 +08:00
|
|
|
complete -c $argv -o shell-escape -d "Enable \write18{SHELL COMMAND}"
|
|
|
|
complete -c $argv -o no-shell-escape -d "Disable \write18{SHELL COMMAND}"
|
|
|
|
complete -c $argv -o src-specials -d "Insert source specials into the DVI file"
|
2006-02-15 10:22:28 +08:00
|
|
|
end
|