تالار گفتگوی پارسیلاتک
ابزارهای جانبی => Xindy => نويسنده: ابوالفضل دیانت در ژانویه 08, 2014, 11:52:51 am
-
با سلام
هنگامی که در داخل دستور index به عنوان نمایه از دستور glspl استفاده میکنم، با این مشکل مواجه میشوم که:
الف) نمایهها به ترتیب وارد نمیشوند
ب) نمایهها در گروههای الفبایی تقسیمبندی نمیشوند.
نکته: ظاهرا نمایهها به ترتیب حروف الفبای انگلیسی مرتب میشوند.
برای اجرا نیز از دستور زیر استفاده میکنم.
xindy -L persian-variant1 -C utf8 -M numeric-sort -M latex -M latex-loc-fmts -M texindy %.idx
باتشکر
-
با سلام
من در این مورد به مولف glossaries ایمیل زدم و ایشان هم این جواب را داد.
If you inspect the .idx file you will see that it contains the following:
\indexentry{\glsentryplural{Absorption}|hyperpage}{1}
\indexentry{\glsentryplural{StrictlyStable}|hyperpage}{1}
\index doesn't expand its argument when writing to the .idx file and since xindy doesn't
understand (La)TeX commands the index won't be correctly sorted.
This is a feature of \index and is not connected with glossaries.
You could try something like
\expandafter\index\expandafter{\glsentryplural{StrictlyStable}}
لذا با این دستور
\expandafter\index\expandafter{\glsentryplural{StrictlyStable}}
مشکل یاد شده حل شد.