emacs-orgmode
[Top][All Lists]

## Re: [O] Trouble with autofill mode

 From: Nicolas Goaziou Subject: Re: [O] Trouble with autofill mode Date: Sun, 02 Aug 2015 22:18:30 +0200

Hello,

> 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,

--
Nicolas Goaziou