From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: verbatim/code text and line breaks with auto fill mode Date: Fri, 07 Mar 2014 11:45:12 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLsHM-0004LE-Eu for emacs-orgmode@gnu.org; Fri, 07 Mar 2014 05:45:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLsHF-0004Fx-5h for emacs-orgmode@gnu.org; Fri, 07 Mar 2014 05:45:24 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:22133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLsHE-0004Fh-VZ for emacs-orgmode@gnu.org; Fri, 07 Mar 2014 05:45:17 -0500 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: emacs-orgmode Hello, Is there a way to disable line breaks inside verbatim or code text when using auto fill? For instance, if I type the following: --8<---------------cut here---------------start------------->8--- This is an example of a long line when some stuff is code: ~1 + 2 + 3 = 6~. --8<---------------cut here---------------end--------------->8--- The problem is that when exporting to latex, I get something that is not correct (I'm only putting the relevant part of the exported file): --8<---------------cut here---------------start------------->8--- This is an example of a long line when some stuff is code: \verb~1 + 2 + 3 = 6~. --8<---------------cut here---------------end--------------->8--- Indeed compilation fails: ,---- | ! LaTeX Error: \verb ended by end of line. | | See the LaTeX manual or LaTeX Companion for explanation. | Type H for immediate help. | ... | | l.31 ...when some stuff is code: \verb~1 + 2 + 3 = `---- Thanks, Alan