Compile AddTOC.java
by executing ant (see build.xml
) in the samples/add_toc/
directory.
Run AddTOC
by executing ant run in the samples/add_toc/
directory. This adds a Table Of Contents to samples/tests/in/sample1.html
and saves modified document to samples/tests/out/sample1.html
. You may want to open the generated file in a browser to check what was done.