so cool . On Mon, Oct 5, 2009 at 12:31 PM, narendra sisodiya <[email protected]> wrote: > somebody please upload at wiki, > > ---------- Forwarded message ---------- > From: Girish Venkatachalam <[email protected]> > Date: Mon, Oct 5, 2009 at 6:48 AM > Subject: [Ilugc] Great tip to create syntax highlighted color PDF from C files > To: Indian Linux User Group Chennai <[email protected]> > > > Guys, > > This is simply amazing. Try it and then see! ;) > > Fire up vim and open a C file. > > $ vim foo.c > :hardcopy %.ps > > $ps2pdf14 foo.c.ps > > $ xpdf foo.c.pdf > > What do you see? > > In case you don't have syntax highlighting enabled by default, you can > :sy on > > before the :hardcopy step. > > Here is a great sample: > > http://gayatri-hitech.com/Misc/sqlex.c.pdf > > Do you guys know any other way to create color PDF of syntax highlighted code? > > I dunno any. > > Enjoy! > > -Girish > > -- > Gayatri Hitech > web: http://gayatri-hitech.com > > > > -- > ┌─────────────────────────┐ > │ Narendra Sisodiya ( नरेन्द्र सिसोदिया ) > │ Web : http://narendra.techfandu.org > │ Twitter : http://tinyurl.com/dz7e4a > └─────────────────────────┘ > > > >
--~--~---------~--~----~------------~-------~--~----~ Do you have another question? Click here - http://groups.google.com/group/iitdlug/post Read archive - http://www.mail-archive.com/[email protected]/ l...@iitd community mailing list -- http://groups.google.com/group/iitdlug -~----------~----~----~----~------~----~------~--~---
