MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Using Makeindex in a complex environment
Using Makeindex in a complex environment
\documentclass[12pt,b5paper]{book}
\usepackage{latexsym,amssymb}
\usepackage[hebrew, french]{babel}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{makeidx}
\makeindex
% .... contents...
\printindex
I suspect that there is a conflict between packages, since I succeed in using makeindex otherwise in a purely math environment or a single language environment.
What I get is no index at all. The .ind is empty and the .ilg says
This is makeindex.exe, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning input file MYFILE.idx...
!! Input index error (file = MYFILE.idx, line = 1):
-- Illegal space within numerals in second argument.
!! Input index error (file = MYFILE.idx, line = 2):
-- Illegal space within numerals in second argument.
done (0 entries accepted, 2 rejected).
Nothing written in MYFILE.ind.
Transcript written in MYFILE.ilg.
(Above the test for only two entries.)
Any advice would be welcome.
Leo
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Using Makeindex in a complex environment
please post complete and minimal code allowing us to reproduce the error.
Re: Using Makeindex in a complex environment
\documentclass[12pt,b5paper]{book}
\usepackage[hebrew, french]{babel}
\usepackage{makeidx}
\makeindex
\begin{document}
\thispagestyle{empty}
r\'ep\'eter % This is a word with French accents (works well without it).
Un essai \index{essai} d'indexation \index{indexation} dans un
court document \index{document}.
\printindex
\end{document}
Using Makeindex in a complex environment
Can't you use the arabtex package instead od the hebrew option? The following code does produce an index:
Code: Select all
\documentclass[12pt,b5paper]{book}
\usepackage[french]{babel}
\usepackage{makeidx}
\usepackage{arabtex}
\makeindex
\begin{document}
\thispagestyle{empty}
r\'ep\'eter
\selectlanguage{french}
Un essai \index{essai} d'indexation \index{indexation} dans un
court document \index{document}.
\printindex
\end{document}
Re: Using Makeindex in a complex environment
It appears that Arabtex will produce Hebrew only from some ASCII encoding or from an ASCII transliteration. And I have lots of Hebrew text already typeset in Hebrew (directly from a Hebrew Keyboard) in the latex document....