View Full Version : HTML to RTF?


Alexander Turcic
02-09-2007, 04:33 PM
Do you guys know of any free Linux-based tools to convert from HTML to RTF?

rlauzon
02-09-2007, 07:17 PM
OpenOffice

Alexander Turcic
02-10-2007, 06:59 AM
root@debian:~# aptitude install openoffice.org -s
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
bsh fontconfig gcc-3.4-base gcj-4.1-base gij gij-4.1 hicolor-icon-theme lapack3 libasound2 libatk1.0-0 libatk1.0-data
libaudio2 libcairo2 libflac7 libfontenc1 libfs6 libg2c0 libgcj-bc libgcj-common libgcj7-0 libgcj7-awt libgcj7-jar
libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhsqldb-java libice6 libicu36
libjaxp1.3-java libjline-java libmdbtools libneon26 libnspr4-0d libnss3-0d libpango1.0-0 libpango1.0-common libportaudio0
libservlet2.3-java libsm6 libsndfile1 libstartup-notification0 libstlport4.6c2 libtiff4 libufsparse libwpd8c2a libxalan2-java
libxaw7 libxcursor1 libxerces2-java libxfixes3 libxfont1 libxi6 libxmu6 libxrandr2 libxslt1.1 libxt-java libxt6 libxtst6
openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-impress
openoffice.org-java-common openoffice.org-math openoffice.org-writer python-uno refblas3 ttf-opensymbol x-ttcidfont-conf
xfonts-encodings xfonts-utils xutils xutils-dev
The following packages have been kept back:
initscripts libpq4 libx11-6 libx11-data sysv-rc sysvinit sysvinit-utils
The following NEW packages will be installed:
bsh fontconfig gcc-3.4-base gcj-4.1-base gij gij-4.1 hicolor-icon-theme lapack3 libasound2 libatk1.0-0 libatk1.0-data
libaudio2 libcairo2 libflac7 libfontenc1 libfs6 libg2c0 libgcj-bc libgcj-common libgcj7-0 libgcj7-awt libgcj7-jar
libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhsqldb-java libice6 libicu36
libjaxp1.3-java libjline-java libmdbtools libneon26 libnspr4-0d libnss3-0d libpango1.0-0 libpango1.0-common libportaudio0
libservlet2.3-java libsm6 libsndfile1 libstartup-notification0 libstlport4.6c2 libtiff4 libufsparse libwpd8c2a libxalan2-java
libxaw7 libxcursor1 libxerces2-java libxfixes3 libxfont1 libxi6 libxmu6 libxrandr2 libxslt1.1 libxt-java libxt6 libxtst6
openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw
openoffice.org-impress openoffice.org-java-common openoffice.org-math openoffice.org-writer python-uno refblas3
ttf-opensymbol x-ttcidfont-conf xfonts-encodings xfonts-utils xutils xutils-dev
0 packages upgraded, 78 newly installed, 0 to remove and 7 not upgraded.
Need to get 129MB of archives. After unpacking 322MB will be used.
Do you want to continue? [Y/n/?]
Thanks, but I don't feel like installing 322MB just for a simple converter. ;)

rlauzon
02-10-2007, 07:32 AM
You run Linux, but don't have OpenOffice already installed?

Just about any other office package should be able to do that too.

Alexander Turcic
02-10-2007, 09:25 AM
You run Linux, but don't have OpenOffice already installed?

Just about any other office package should be able to do that too.
I need a console-based app to automate the process of converting our newsletter to something like PDF or RTF.

rlauzon
02-10-2007, 09:57 AM
I need a console-based app to automate the process of converting our newsletter to something like PDF or RTF.

Ah, now I understand.

Nope. I don't know about that. Since RTF is basically text-based, you should be able to write something that will convert HTML tags to RTF tags.

Alexander Turcic
02-10-2007, 12:41 PM
Ah, now I understand.

Nope. I don't know about that. Since RTF is basically text-based, you should be able to write something that will convert HTML tags to RTF tags.
That's probably what I should do. Or learn LaTeX for good and use one of the LaTeX to RTF tools out there ;)

wallcraft
02-10-2007, 06:51 PM
DocFrac (http://docfrac.sourceforge.net/index.php) might be worth trying. I have never used it, but I have seen it recommended for rtf2html. Its links page includes a list of other tools that might do the job.

Daft Willie
02-11-2007, 07:58 PM
Not automated, but for small word-processing stuff, abiword's always been good to me.