Hello,

Sebastien Vauban <sva-news-D0wtAvR13HarG/idocf...@public.gmane.org>
writes:

> Alan Schmitt wrote:
>> I've continued looking into this, and it seems that what I want is use
>> `fill-nobreak-predicate'. This is what I ended up doing:
>>
>> #+begin_src emacs-lisp
>> (add-hook 'org-mode-hook
>>           (lambda ()
>>             (add-hook 'fill-nobreak-predicate 'org-in-verbatim-emphasis)))
>> #+end_src
>>
>> All the pieces were already there, it just took me a while to put them
>> together ;-)
>
> Shouldn't this be standard in Org, as it breaks LaTeX compilation
> otherwise?

This is not an Org problem, as verbatim objects can span over lines.

OTOH, `latex' back-end could remove newline characters from verbatim and
code contents.


Regards,

-- 
Nicolas Goaziou


Reply via email to