emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Trouble with autofill mode


From: Vikas Rawal
Subject: Re: [O] Trouble with autofill mode
Date: Mon, 3 Aug 2015 05:35:45 +0530

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]