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 <return>  for immediate help.
|  ...                                              
|                                                   
| l.31 ...when some stuff is code: \verb~1 + 2 + 3 =
`----

Thanks,

Alan

Reply via email to