Index of /public/downloads/software/Syntax_highlighter

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[TXT]README.html12-Nov-2014 22:32 32K 
[   ]java2html.7z07-Aug-2011 22:34 535K 
[   ]java2html.exe07-Aug-2011 22:34 672K 
[DIR]java2html/12-Nov-2014 22:32 -  

Syntax highlighter

This is a slightly patched version of Markus Gebhards syntax highlighting library java2html.

It renders java UTF-8 input files. Output is html.

This patched version of java2html produces html output which can be imported by OpenOffice. It is open source and published under GPL.

Installation

copy the file java2html-patch_1.1.jar into

linux:

/usr/local/whereever/

or windows:

c:\program files\java-deployment\

COMMANDLINE USAGE (linux)

java -jar /usr/local/whereever/java2html-patch_1.1.jar -srcfile /home/me/src/Année.java2html

COMMANDLINE USAGE (Windows)

java -jar c:\program files\java-deployment\java2html-patch_1.1.jar -srcfile c:\src\Année.java2html

GET HELP

java -jar c:\program files\java-deployment\java2html-patch_1.1.jar -?

ADVANCED COMMANDLINE USAGE
  • To convert a directory including subdirectories:

    java -jar java2html.jar -srcdir d:/src [-targetdir d:/src/output] [-filemask *.java] [-converter html | xhtml11 | xhtml | tex | rtf | xml] [-tabs 4] [-copytotargetunprocessedfiles] -style [ Eclipse | Kawa | Monochrome ]
  • To convert a single file:

    java -jar java2html.jar -srcfile d:/src/test.java [-targetfile d:/src/output/target.java]  [-converter html | xhtml11 | xhtml | tex | rtf | xml] [-tabs 8] -style [ Eclipse | Kawa | Monochrome ]