Before you export your ChessTask file into HTML format, make sure that the correct options are set.
If you select "Export"/"Options" you get a small window with the available HTML options:
index.html' and the solutions likewise to `
sol.html'. If "unchecked" (the default), ChessTask generates an own HTML page for each task and each solution. These pages get linked, such that you can step from one task to another.
PNG' images for the display of the board diagrams, the links (from one task to another and to the index) and sometimes also for some special symbols like "capture"---depending on the options you selected. These graphic files are all kept in the directory named `
graphics', which you can find in the ChessTask directory. Now, let us say you created a directory named `
html' on your disk, where you want to put all the HTML files with your tasks. Further, we assume that this directory is situated at `
C:/data/chesstask' so its complete path is `
C:/data/chesstask/html'. The first requirement is: The `
graphics' directory (or a copy of it) and the "top directory" of your tasks, which is the directory `
html' in this case, have to be in the same directory. So, for the given situation you would have to create a copy of the complete `
graphics' directory at `
C:/data/chesstask/graphics' if it does not already exist. Of course, you want to create further subdirectories for dividing up your tasks into categories like `
endings' or `
openings'. Within the `
endings' directory you want to separate `
pawn' endings from `
rook' endings a.s.o. Within your directory `
html' you can set up the directory structure according to your personal needs. Now, we get to the option itself. If you want to export your tasks to a subdirectory of `
C:/data/chesstask/html' you have to set Levels to graphics directory to the number of directory levels upwards to the directory `
graphics'. So, for a directory `
C:/data/chesstask/html/endings/bishops' the correct value would be "3". For the directory `
C:/data/chesstask/html/checkmates/intwo/novar/simple' the value should be "5". Finally, I would like to recommend that you simply use the already existing directory `
html', in the ChessTask directory to store your tasks in HTML format.
Now, you can select "Export"/"HTML files", choose a directory with the help of the file dialog and create the HTML files. If you did everything right, you can inspect the result with your browser immediately.
If ChessTask did not create any files, this can have mainly two reasons: