[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Trouble with autofill mode
From: |
Nick Dokos |
Subject: |
Re: [O] Trouble with autofill mode |
Date: |
Mon, 03 Aug 2015 21:12:02 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Vikas Rawal <address@hidden> 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,
>>
>
>
> 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.
>
So put it as close as possible to the keywords:
--8<---------------cut here---------------start------------->8---
This section needs to index some
#+INDEX: multi word term
multi word terms.
--8<---------------cut here---------------end--------------->8---
--
Nick
- [O] Trouble with autofill mode, Vikas Rawal, 2015/08/02
- Re: [O] Trouble with autofill mode, Nicolas Goaziou, 2015/08/02
- Re: [O] Trouble with autofill mode, Vikas Rawal, 2015/08/02
- Re: [O] Trouble with autofill mode,
Nick Dokos <=
- Re: [O] Trouble with autofill mode, Vikas Rawal, 2015/08/03
- Re: [O] Trouble with autofill mode, Ken Mankoff, 2015/08/03
- Re: [O] Trouble with autofill mode, Vikas Rawal, 2015/08/04
- Re: [O] Trouble with autofill mode, John Kitchin, 2015/08/04
- Re: [O] Trouble with autofill mode, Eric S Fraga, 2015/08/04
- Re: [O] Trouble with autofill mode, Sebastien Vauban, 2015/08/05
- Re: [O] Trouble with autofill mode, Eric S Fraga, 2015/08/05