Prepare a CP2K executable. It does not matter which type of CP2K executable (e.g.
sopt) you are using.
Run the CP2K executable with the flag --xml like:
cp2k.sopt --xml
which will generate a file named cp2k_input.xml with a XML dump of the CP2K input
structure in the same directory.
Copy the XSLT file cp2k_input.xsl from cp2k/web/manual/ to
your working directory, if needed.
Transform the XML output in cp2k_input.xml to HTML using a XML 2.0 compliant
translator like SAXON.
If you have the SAXON package already installed, then just run:
saxon -o index.html cp2k_input.xml cp2k_input.xsl
Alternatively, you may employ the platform independent Java version of SAXON
which can be downloaded from
http://sourceforge.net/projects/saxon.
The latter choice might be more convenient, if you have the Java Runtime Environment
1.5 or higher installed anyway.
You may check your installed Java version with:
java -version
Launch your favorite web browser and load the index.html file generated in the
previous step.