-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pol Hallen wrote: > Howdy :-) > > #!/bin/sh > convert "$1" "${1/.jpg/.pdf}" > > using this script correctly convert jpg file to pdf (I use it with service > menu in kde). > > Now, I'd like convert any files to pdf (like png, txt, etc.) but I don't how > do.
convert will work on most graphics files; ps2pdf is better for ps and eps files, though. For other files there are various options. txt could be converted to ps by a2ps and then via ps2pdf to pdf. etc. Office documents are probably best converted by opening and exporting to pdf manually. Except for graphic formats, there is now universal tool, as far as I know. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkz3lroACgkQC1NzPRl9qEXbMACggYjWCI78MB8t/iFvgQE4/Rts misAnjfLgOsDTeeZsCVsrSy0eo0kAFFA =JZ4j -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4cf796ba.1010...@physik.blm.tu-muenchen.de