> >> I am inserting LaTeX \index{} commands in an org document to create an >> index. Almost everything works fine. But I am having trouble with >> auto-fill-mode. It often puts a line break in the middle of an index >> entry, and then it does not work. >> >> That is, \index{my name} is sometimes broken into \index{my >> name}. This creates a problem for LaTeX. >> >> I have disabled auto-fill-mode for now, but that is clearly >> a sub-optimal thing to do. Is there a way to tell it not to put line >> breaks in the middle of \index{} entries? > > Have you tried > > #+INDEX: my name > > Regards, >
I am sorry for not being clear. \index{} may have to be used inline in a para since the index has to pick up the right page where a term appears. So you want to put it as close as possible to the keywords. Vikas