I solved this. I have a set of files that I copy to a new folder for each new version. The new folder name had an ampersand in it.I checked old sets of files and they were OK.The latest set did not work. I made a new folder name with regular characters and the MiniToc now is created correctly. Is that logical?Did the ampersand in the file name break something in the Help making process?