This is a program to convert java source files into printable, syntax highlighted pdf files..
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
html2pdf
lib
src2html
src2pdf
testfiles
.GITIGNORE
README.md

README.md

WORK IN PROGRESS !! THIS PROJECT ISN'T ALREADY FINISHED !!

WHAT IS SourceToPdf?

As the name says, this is a program to render your source code form various programming languages for example java,c,c++,phyton to a printable pdf.

USAGE

In order to get usage information just start the jar by executing the following terminal command:

java -jar sourcetopdf.jar

WHY DID YOU CODE THIS?

Yesterday I wanted to print my "satellitesystem" project as an pdf, to be able to have a full copy of my code for creating a book.
But as I started printing ( piping it to an pdf ) it just created the text without the syntax highlighting.
So I looked around if there's a program which can do this, but I didn't found one, so I started my developing my own program.

LIMITS

At the moment the program is not capable of highlighting other syntax than java, but it is a big point on my todo-list.

COPYRIGHT

© Tobias Ršding 2011
CreativeCommons BY NC SA 3.0
cc-by-nc-sa

RESOURCE

http://code.google.com/p/flying-saucer/
http://www.itextpdf.com/itext.php
http://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html
http://alexgorbatchev.com/SyntaxHighlighter/