From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Trouble with autofill mode Date: Sun, 02 Aug 2015 22:18:30 +0200 Message-ID: <87si818mw9.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLzgo-0002px-9G for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 16:16:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLzgn-0001jC-Au for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 16:16:58 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:53094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLzgn-0001iP-45 for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 16:16:57 -0400 In-Reply-To: (Vikas Rawal's message of "Mon, 3 Aug 2015 00:24:50 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vikas Rawal Cc: org-mode mailing list Hello, Vikas Rawal writes: > 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