On Wednesday, 5 Aug 2015 at 10:17, Sebastien Vauban wrote:
> Eric S Fraga writes:
>> For LaTeX directives that I used to always put in #+latex: lines when
>> I needed these within a paragraph, I now increasingly use
>> @@latex:...@@.
>
> FYI, you could make it smelt to just @@l:...@@ with:
>
>
Eric S Fraga writes:
> For LaTeX directives that I used to always put in #+latex: lines when
> I needed these within a paragraph, I now increasingly use
> @@latex:...@@.
FYI, you could make it smelt to just @@l:...@@ with:
--8<---cut here---start->8---
(ad
I would have thought something like this would work:
(defun nobreak-p ()
(interactive)
(let ((result (if (and (looking-at " ")
(save-excursion
(re-search-forward "[^{]*}" (line-end-position)
'end))
(save-excursion
On Tuesday, 4 Aug 2015 at 09:52, Vikas Rawal wrote:
[...]
> Yes, I have been thinking about this too. visual-line-mode with each
> sentence in a separate line would have many other advantages too. It
> would perhaps be better for git-like version control of documents
> written in orgmode. Isn’t
I turned off auto-fill everywhere many years ago (it messed up my code
blocks in org-mode too much. I usually write them in org-mode, not the
programming mode). I use (global-visual-line-mode 1)
I cannot think of any issues that causes. I even have an
unfill-paragraph to fix what my students do ;)
>
>
> On 2015-08-03 at 23:11, Vikas Rawal wrote:
>> But I guess one has to have some compromise somewhere :)
>
> Another compromise would be to stop using autofill mode and use
> visual-line-mode or something else. I recently made the switch after many
> years of auto-fill. It takes a bit of
On 2015-08-03 at 23:11, Vikas Rawal wrote:
> But I guess one has to have some compromise somewhere :)
Another compromise would be to stop using autofill mode and use
visual-line-mode or something else. I recently made the switch after many years
of auto-fill. It takes a bit of getting used to,
>>
>>
>> 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<--
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,
>>
>> 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...)
>
> Thanks very much. This should work. Let me try to modify it to my use c
> On 03-Aug-2015, at 8:37 am, Vicente Vera wrote:
>
> 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...)
Thanks very much. This shoul
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...)
>
>> 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
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{m
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 \ind
15 matches
Mail list logo