From billlinux at rogers.com Fri Jun 5 20:20:04 2015 Content-Type: multipart/mixed; boundary="===============4216912704173945534==" MIME-Version: 1.0 From: Bill Case To: users at lists.fedoraproject.org Subject: Re: Converting html to text ?!? [SOLVED] -- but me or a bug. Date: Sat, 06 Mar 2010 12:22:21 -0500 Message-ID: <1267896141.1867.14.camel@CASE> In-Reply-To: 1267800679.1787.26.camel@CASE --===============4216912704173945534== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi; On Fri, 2010-03-05 at 09:51 -0500, William Case wrote: = > Hi; > = > I have been using Notecase for a couple of years. I would like to keep > it but it seems it is no longer being maintained as open source. > = > =E2=88=B4 I would like to use Lyx as my large note taker or draft writer > application. The problem is Notecase uses an *.ncd suffix which is > unrecognized by Lyx. When I examine the files I want to import from > Notecase to Lyx they are designated in the header as: > = > > > > > http-equiv=3D"Content-Type"> > > > ... etc. > = > The markup is almost certainly html. > = > How can I convert these files into *.txt? I have tried several > variations of: > = > ]$ html2text -o ~/UMLC.txt file:///home/bill/NoteCaseDocs/UMLC.txt > *Cannot open input file "file:///home/bill/NoteCaseDocs/UMLC.*". > = > Any suggestions greatly appreciated on how to import these (I have > several) *.ncd files into Lyx. > = The real solution was: ]$ html2text ~/NoteCaseDocs/UMLC.ncd >> ~/NoteCaseDocs/UMLC.txt Then importing .txt files into LyX. Worked like a charm! However, shouldn't have = ]$ html2text ~/NoteCaseDocs/UMLC.ncd -o ~/NoteCaseDocs/UMLC.txt worked as well. Or, have I misunderstood the use of the '-o' option ?!? -- = Regards Bill Fedora 12, Gnome 2.28 Evo.2.28, Emacs 23.1.1 --===============4216912704173945534==--