On 10-Sep-21 1:13 PM, Andreas Plihal wrote:
If I choose the index processor "Makeindex" explicitly, I don't get a
subject index.
If I choose "Standard" as the index processor instead (but also uses
Makeindex according to the LYX user manual), I get a subject index.
However, this is sorted in English.
See attached examples.
To force a German sorting, I would have to specify the -g option.
But where can I do that?
If I enter it as RET code in the text, I get the request that the
instruction should be made in the preamble.
If I write in the preamble
\makeindex[-g]
I get the error message:
\makeindex[
-g]
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Can you please help me with this?
Andreas
Dear Andreas,
I am not an expert of makeindex, but according to this
<https://tex.stackexchange.com/questions/111062/how-does-makeindex-sort-alphabets-of-a-language>
post, it is a luck that makeindex works for German. Couple of
suggestions here:
-g option is entered at Tools-> Preferences -> Output -> Latex -> Index
Generation -> Options
At preamble use ( I am not sure if this is done automatically by LyX):
\usepackage{imakeidx}
\makeindex
Note that because I have Windows, I do not have the Linux font;
therefore I selected the default fonts and unchecked the "Use non-Tex
fonts" option.
For indices use the commands given here
<https://www.overleaf.com/learn/latex/German>. For examples use \"a
instead of ä. To enter \"a, you need to open a TeX code inset (done by
ctrl-L in Windows)
And finally, read the manual of makeindex, where how you can sort things
manually is explained (page 4). See attached.
Some of the above suggestions worked for me. See attached image.
Since this package is quite old, it requires some research to make it work.
Good Luck!
Baris
--
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
Please bottom-post. Start your reply here:
--
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users