[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] verbatim/code text and line breaks with auto fill mode
From: |
Alan Schmitt |
Subject: |
[O] verbatim/code text and line breaks with auto fill mode |
Date: |
Fri, 07 Mar 2014 11:45:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
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
- [O] verbatim/code text and line breaks with auto fill mode,
Alan Schmitt <=
- Re: [O] verbatim/code text and line breaks with auto fill mode, Nick Dokos, 2014/03/07
- Re: [O] verbatim/code text and line breaks with auto fill mode, Alan Schmitt, 2014/03/08
- Re: [O] verbatim/code text and line breaks with auto fill mode, Alan Schmitt, 2014/03/08
- Re: [O] verbatim/code text and line breaks with auto fill mode, Sebastien Vauban, 2014/03/10
- Re: [O] verbatim/code text and line breaks with auto fill mode, Nicolas Goaziou, 2014/03/10
- Re: [O] verbatim/code text and line breaks with auto fill mode, Bastien, 2014/03/13
- Re: [O] verbatim/code text and line breaks with auto fill mode, Nicolas Goaziou, 2014/03/13
- Message not available
- Re: [O] verbatim/code text and line breaks with auto fill mode, Alan Schmitt, 2014/03/14
- Re: [O] verbatim/code text and line breaks with auto fill mode, Bastien, 2014/03/21
- Message not available
- Re: [O] verbatim/code text and line breaks with auto fill mode, Alan Schmitt, 2014/03/21