On Thu, Jul 22, 2010 at 8:21 PM, Alok Singh Mahor <[email protected]> wrote:
>
>
> On Wed, Jul 21, 2010 at 12:34 PM, Naresh Babu <[email protected]> wrote:
>>
>> HI...
>> Is there any IDE or command( in UBUNTU) to export C or C++ files to .rtf so 
>> that the code colors will remain and will be copied into the MS Word.
>>
>> Thanks in advance....
>>
>>
>> --
>> l...@iitd - http://tinyurl.com/ycueutm
>
> you can get colored formated source code in pdf file.
> open/write your source file in any good graphical editor (like gedit or kate 
> etc) or in IDE (like eclipse) and print page to a file. that will give you a 
> pdf/ps/svg file of source code.
>
>
> --
> Alok Singh Mahor
> CSE, IIT Delhi
> www.alokmahor.tk
>
> Join the next generation of computing, Open Source, and Linux/GNU!

Really? I don't think so. It will print it as a plain text file.
You need to use some application which highlights the code- like geshi
which will produce a colored page in HTML out of the source code.

--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://j.mp/arHk5e

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to