1

Is there a offline application that allows you to create coding tutorials (with code syntax styling)? I am trying to find an application that will allow you to export the document to PDF. Preferably this application will also be able to run on OS X.

Is there anything out there for this?

1
  • 1
    Can't you create it as one may normally in an editor, then "print" to a pdf file? Commented Aug 28, 2014 at 17:02

1 Answer 1

2

You can use an editor with syntax highlighting that allows export of RTF, export the colorized text, and import that into your document editing program.

For OS you can use e.g. Sublime Text and install the SublimeHighLight package.
But if you search around for os x editor syntax highlighting and then for the found editors search their name + rtf output or export rtf for you may come across other candidates.

For Windows such an editor is Notepad++.

Then use an additional style like in this Word example to color the background or maybe change the font. I think Word is no longer much used in the Mac world, but you can do this in practically any document processor.

From there printing to PDF should be easy. I'm not a Mac man, in Windows one could use PDF995.

For details about how others solved this in Windows see e.g. this StackOverflow post.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.