* PATCH: antiword completion update
@ 2005-06-10 14:07 Doug Kearns
0 siblings, 0 replies; 2+ messages in thread
From: Doug Kearns @ 2005-06-10 14:07 UTC (permalink / raw)
To: zsh-workers
Here's an update for antiword 0.36
Regards,
Doug
Index: Completion/Unix/Command/_antiword
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_antiword,v
retrieving revision 1.3
diff -u -r1.3 _antiword
--- Completion/Unix/Command/_antiword 29 Feb 2004 01:47:24 -0000 1.3
+++ Completion/Unix/Command/_antiword 10 Jun 2005 11:06:33 -0000
@@ -1,17 +1,23 @@
#compdef antiword
-# Version: 0.35 (14 Nov 2003)
+# Version: 0.36.1 (09 Dec 2004)
+
+local papersizes
+
+papersizes=( 10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid )
_arguments -s -S \
- '(-i -L -p -x)-t[text output (default)]' \
- '(-t -w -x)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \
- '(-i -L -p -t -w)-x[XML output]:DTD:(db)' \
- '-m+[character mapping file]:mapping file:_files' \
- '(-i -L -p -x)-w+[width in characters of text output]:line width:' \
- '(-t -w -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
- '(-t -w -x)-L[use landscape mode (PostScript only)]' \
+ '( -w -f -p -t -x)-a+[Adobe PDF output]:paper size:(${papersizes[@]})' \
+ '(-i -L -a -p -t -x)-f[formatted text output]' \
+ '( -w -a -f -t -x)-p+[PostScript output]:paper size:(${papersizes[@]})' \
+ '(-i -L -a -f -p -x)-t[text output (default)]' \
+ '(-i -L -m -w -a -f -p -t )-x+[XML output]:DTD:(db)' \
+ '(-x)-m+[character mapping file]:mapping file:_files' \
+ '(-i -L -a -p -x)-w+[width in characters of text output]:line width:' \
+ '(-w -f -t -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
+ '(-w -f -t -x)-L[use landscape mode (PostScript only)]' \
'-s[show hidden (by Word) text]' \
- '(* -)-h[give a help message]' \
+ '(- *)-h[display help information]' \
'*:MS Word file:_files -g "*.doc(-.)"' && return
return 1
^ permalink raw reply [flat|nested] 2+ messages in thread
* PATCH: antiword completion update
@ 2004-02-29 1:39 Doug Kearns
0 siblings, 0 replies; 2+ messages in thread
From: Doug Kearns @ 2004-02-29 1:39 UTC (permalink / raw)
To: zsh-workers
This updates antiword completion for version 0.35
Regards,
Doug
Index: Completion/Unix/Command/_antiword
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_antiword,v
retrieving revision 1.2
diff -u -r1.2 _antiword
--- Completion/Unix/Command/_antiword 21 Jan 2004 13:53:29 -0000 1.2
+++ Completion/Unix/Command/_antiword 29 Feb 2004 01:33:04 -0000
@@ -1,14 +1,15 @@
#compdef antiword
-# Version: 0.33 (05 Jul 2002)
+# Version: 0.35 (14 Nov 2003)
_arguments -s -S \
- '(-p)-t[text output (default)]' \
- '(-t -w)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \
+ '(-i -L -p -x)-t[text output (default)]' \
+ '(-t -w -x)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \
+ '(-i -L -p -t -w)-x[XML output]:DTD:(db)' \
'-m+[character mapping file]:mapping file:_files' \
- '(-p)-w+[width in characters of text output]:line width:' \
- '(-t -w)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
- '(-t -w)-L[use landscape mode (PostScript only)]' \
+ '(-i -L -p -x)-w+[width in characters of text output]:line width:' \
+ '(-t -w -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
+ '(-t -w -x)-L[use landscape mode (PostScript only)]' \
'-s[show hidden (by Word) text]' \
'(* -)-h[give a help message]' \
'*:MS Word file:_files -g "*.doc(-.)"' && return
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-10 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-10 14:07 PATCH: antiword completion update Doug Kearns
-- strict thread matches above, loose matches on Subject: below --
2004-02-29 1:39 Doug Kearns
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).