is there any easy way (Iʼm not a programmist) how to build and print Czech-sorted index in document which contains more \include files? I donʼt know how to put here a minimal example. so Iʼm working with this:
\documentclass[10pt]{article} \usepackage{geometry} \usepackage{ebgaramond} \usepackage{polyglossia} \setmainlanguage{czech} \usepackage[xindy={language=czech, codepage=utf8}, style=altlist]{glossaries} \usepackage[xindy]{imakeidx} \makeglossaries \def\xindylangopt{-M lang/czech/utf8-lang} \makeindex[title=Jmenný rejstřík,options=\xindylangopt] \begin{document} \include{lahodova} %. %. %. \printglossary \printindex \end{document} and compiling and building index with this:
lualatex sample.tex makeglossaries sample lualatex -shell-escape sample.tex without \include files everything works perfectly
here are some lines in Lahodova file:
Generační zasazení je dle Mannheima\index{Mannheim, Karl} dáno (stejně jako demografické vytyčení pojmu) především biologickými aspekty. Literární historik Vlastimil Válek\index{Válek, Vlastimil} memoárovou literaturu označil jako literaturu. Silvia Nürneberger\index{Nürneberger, Silvia} na příkladu holokaustu uvádí. 


\inputrather thaninclude? I always\inputrather than\includechapters or sections and find it fast enough. It also reduces auxiliary file clutter.\inputor\include, and does not happen if the content of the included files in inlined? Do you have thelatexpandscript installed? If so, you can use it to inline all the included files. If you do so (latexpand main.tex > expanded.tex) and compile the expanded file, does that suppress the error?