converting RTF-documents into PDF-format

This is a simple Perl-script which converts a document in Microsofts™ Rich-Text-Format (RTF) into Adobes™ Portable-Document-Format (PDF), using LibreOffice's/OpenOffice.org's "swriter" or GNU's Abiword.

Download here.

Please fork this. I don't have the time to merge patches. Please feel free to seize the project, but it would be nice if you drop me a line.

Usage: rtf2pdf [OPTIONs] [FILEs]
Convert a Microsoft(R) RTF-file into Adobes(R) PDF-format using OpenOffice.org's or LibreOffice's "swriter" or GNU's "abiword".

 -h, --help      display this help and exit
 --verbose       be verbose
 --crop          remove all margins from PDF output ("cropping")
 --abiword       use GNU's abiword for conversion
 --swriter       use OpenOffice.org's or LibreOffice's swriter for conversion

If neither --abiword nor --swriter is specified, any available program is selected (with preference for swriter).

xml2rtf version 0.9. Written & Copyright (C) 2015 by Peer Schaefer (peer@wolldingwacht.de). Licensed under the GNU General Public Licence (GPL), version 2 or later (at your choice). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GPL for more details.

Written and Copyright © 2015 by Peer Schaefer (peer@wolldingwacht.de).