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? Vikas