Create an index in xetex, which is the same as latex. Both use the makeidx macro package and the makeindex.exe tool. The steps are as follows:
- In the introduction area of the xetex source file \ usepackage {makeidx}, run the \ makeindex command to start the index engine;
- Use \ index in the source file to set indexes, such as RSP device \ index {RSP device. You can use Chinese as the index project name;
- Use \ printindex at the end of the source file to output the index;
- Save the source file and precompile it with xelatex;
- Use makeindex.exe to compile the source file and generate the index file;
- Use xelatex to compile and generate a PDF file containing the index.
For technical books, indexing is one of the most important tools. Unfortunately, many technical books in China are not written using Tex/latex/xetex, so there is no index. It is a pity that many translation technical books Delete the original index, which greatly reduces the practical performance of the book and despise it!