Package: unrtf Version: 0.19.3-1.1 Severity: normal
In a horrible rtf document I got via e-mail, I used unrtf to render html, and then piped that to w3m to display the output in my mailer (mutt). Here's the first few lines of the html that unrtf generated [EMAIL PROTECTED]:/tmp$ unrtf --html MTIRBS.rtf | less <html> <head> <!--- Translation from RTF performed by UnRTF, version 0.19.2 ---> <!--- For information about this marvellous program, ---> <!--- please go to http://www.gnu.org/software/unrtf/unrtf.html ---> <!--- document uses ANSI character set ---> <!--- font table contains 2 fonts total ---> <!--author: Crystal Reports---> </head> <body><font face="Courier New"><b><span style="font-size:9pt"><font color="#000000">For:</font></span></b></font><br> <font face="Courier New"><b><font size=2><font color="#000000">March 13, 2006</font></font></b></font><br> <font face="Courier New"><b><span style="font-size:9pt"><font color="#000000">WILLIAM LUECKE 440044,130000 </font></span></b></font><br> <font face="Courier New"><b><span style="font-size:9pt"><font color="#000000">,</font></span></b></font><br> <!--- Drawn Shape (ignored--not implemented yet)<!--- <br> <font face="Courier New"><b><span style="font-size:9pt"><font color="#000000">To:</font></span></b></font><br> ... Notice the line <!--- Drawn Shape (ignored--not implemented yet)<!--- <br> which should be <!--- Drawn Shape (ignored--not implemented yet) ---> <br> The end result is that w3m, which I was using to render the html, interprets everything that follows as a comment. When you render the file as text (unrtf --text ), instead of html you get ### Translation from RTF performed by UnRTF, version 0.19.2 ### For information about this marvellous program, ### please go to http://www.gnu.org/software/unrtf/unrtf.html ### document uses ANSI character set ### font table contains 2 fonts total AUTHOR: Crystal Reports ----------------- For: March 13, 2006 WILLIAM LUECKE 440044,130000 , ### Drawn Shape (ignored--not implemented yet)### It looks like it closes and opens comments with the same character "<!---" in html and "###" in text In LaTeX mode unrtf produces % Drawn Shape (ignored--not implemented yet)% \par where the comment character is the LaTeX comment: % -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.8.050310b Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages unrtf depends on: ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an unrtf recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]