I want to create a glossary in my article using Xindy. I run this command in the TeXstudio:

xindy --language persian --codepage variant1-utf8 --input-markup xindy --module main --log-file main.fa.glg --out-file main.fa.gls main.fa.glo | xindy --language english --codepage utf8 --input-markup xindy --module main --log-file main.en.glg --out-file main.en.gls main.en.glo

The command is run without a problem. But when I compile my text, I get this error:

Something's wrong--perhaps a missing \item. \cleardoublepage
Something's wrong--perhaps a missing \item. \PrepareForLatinPages

Here is the section of glossary in main.tex:

% glossaries



I really don't know why I get this annoying error. The template I wrote my article using it, can be found here: Sharif-Thesis

  • 3
    It's really hard to find what is wrong without seeing the code that is producing this error. Please show us a minimal working example (MWE) of your document that shows this error when compiled. Jul 25 '18 at 20:50
  • There is a template which I used it. I edited my post @PhelypeOleinik
    – Richard
    Jul 25 '18 at 21:22
  • You just need to download the template, add my command to TeXstudio, run it and compile the template. This is my MWE. @TeXnician
    – Richard
    Jul 26 '18 at 6:05
  • Sorry, I'll remove my comment. I did not notice it is GitHub, but usually I do not follow arbitrary links to code, because it is mostly not minimal.
    – TeXnician
    Jul 26 '18 at 6:07
  • As you know, I cannot write the whole template here. In this case, be sure that this is minimal. @TeXnician
    – Richard
    Jul 26 '18 at 6:21

Finally, I solved the annoying problem. For the template, I used the command \ترجمه instead of \LTRfootnote or something else for writing footnote:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.