User Tools

Site Tools


howto:generate_manual

This is an old revision of the document!


Howto generate the Input Reference Manual

Step 1: Download an XSTL processor

We use the Saxon-HE (home edition) version 9 . It can be downloaded from http://saxon.sourceforge.net/

Step 2: Compile CP2K

This is explained in detail elsewhere.

Step 3: Generate an intermediated XML file

$ cp2k.popt --xml 

This generates the file cp2k_input.xml which contains the entire input description.

Step 4: Goto cp2k/tools/manual

$ cd cp2k/tools/manual
$ java -jar saxon9he.jar  -o:index.html cp2k_input.xml cp2k_input.xslcp2k.popt

This will create the actual HTML files, which we make available http://manual.cp2k.org/

howto/generate_manual.1409242775.txt.gz · Last modified: 2020/08/21 10:15 (external edit)