emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Trouble with autofill mode
@ 2015-08-02 18:54 Vikas Rawal
  2015-08-02 20:18 ` Nicolas Goaziou
  0 siblings, 1 reply; 15+ messages in thread
From: Vikas Rawal @ 2015-08-02 18:54 UTC (permalink / raw)
  To: org-mode mailing list

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: Trouble with autofill mode
@ 2015-08-03  3:07 Vicente Vera
  2015-08-03  3:12 ` Vikas Rawal
  0 siblings, 1 reply; 15+ messages in thread
From: Vicente Vera @ 2015-08-03  3:07 UTC (permalink / raw)
  To: vikaslists; +Cc: emacs-orgmode

Hello,
This StackExchange question might help you out:
https://emacs.stackexchange.com/questions/12392/prevent-fill-paragraph-from-breaking-latex-citations-in-org-mode
(Only if I got your question right...)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-08-05  9:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-02 18:54 Trouble with autofill mode Vikas Rawal
2015-08-02 20:18 ` Nicolas Goaziou
2015-08-03  0:05   ` Vikas Rawal
2015-08-04  1:12     ` Nick Dokos
2015-08-04  3:11       ` Vikas Rawal
2015-08-04  3:39         ` Ken Mankoff
2015-08-04  4:22           ` Vikas Rawal
2015-08-04 12:47             ` John Kitchin
2015-08-04 14:08             ` Eric S Fraga
2015-08-05  8:17               ` Sebastien Vauban
2015-08-05  9:31                 ` Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2015-08-03  3:07 Vicente Vera
2015-08-03  3:12 ` Vikas Rawal
2015-08-04  1:04   ` Vikas Rawal
2015-08-04 14:10     ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).