星火微课系统客户端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536
  1. /* $Id: eps2eps.cmd 6300 2005-12-28 19:56:24Z giles $ */
  2. /*
  3. * This file is maintained by a user: if you have any questions about it,
  4. * please contact Mark Hale (mark.hale@physics.org).
  5. */
  6. /* "Distill" Encapsulated PostScript. */
  7. parse arg params
  8. gs='@gsos2'
  9. if params='' then call usage
  10. options='-dNOPAUSE -dBATCH -dSAFER'
  11. /* extract options from command line */
  12. i=1
  13. param=word(params,i)
  14. do while substr(param,1,1)='-'
  15. options=options param
  16. i=i+1
  17. param=word(params,i)
  18. end
  19. infile=param
  20. if infile='' then call usage
  21. outfile=word(params,i+1)
  22. if outfile='' then call usage
  23. gs '-q -sDEVICE=epswrite -sOutputFile='outfile options infile
  24. exit
  25. usage:
  26. say 'Usage: eps2eps ...switches... input.eps output.eps'
  27. exit