Create a KTouch lecture from a list of words

[ Thanks to Juan
for this link. ]

“Since I didn’t find any lecture that I liked for
KTouch, at least not one that allowed me to simply practice typing
with a large number of random words, I thought it would be useful
to create one based in random words taken from one of the lists of
words usually located in /usr/share/dict, although this very same
procedure can be use with any list of words. It didn’t take to long
to do it, but nevertheless it was interesting.

First of all, the lectures in KTouch are just XML files. This
XML files contain text divided in lines, and the lines are grouped
by levels. This is how the lectures in KTouch are organized:”

Complete Story