Wednesday, March 29, 2006

non PhD: How do you export highlighted syntax source files

Someone was asking me how you export a highlighted-syntaxed file to a word document. This is something I have never thought of in all the years I have programmed and created reports. Anyways, there is a solution. It happens that one of the editors out there has an export function that enables you to export its highlighted content to various formats such as PDF, RTF (works in Word), XML, etc.
The editor's called SciTE and here's the link to their page.

1 comment:

Sjoerd said...

Sure you could use an export, but why not use a package like highlight? It is easy in use, being able to export syntax highlighted java, c++, c and other languages to html/rtf/latex/...