>>To: [EMAIL PROTECTED]
>>From: Georg Baum <[EMAIL PROTECTED]>
>>Subject: Re: verbatim in ERT
>>Date: Tue, 06 Jul 2004 17:49:31 +0200
>>X-Gmane-NNTP-Posting-Host: 137.226.192.187
>>
>>[EMAIL PROTECTED] wrote:
>>
>>> Hi,
>>> 
>>> I have embeded the following in an ERT-block.
>>> \begin{verbatim}
>>> zeile1
>>> zeile2
>>> \end{verbatim}
>>> 
>>> After exporting it ad LaTeX I get the text with an additional newlines.
[]
>>> 
>>> My question is why? And what can I do ?
>>

IMHO, forget verbatim inclusion in ERT:
 - create a .tex file with your lines, e.g.
#cat >v.tex
zeile1
zeile2
C-D 

 - then use Insert->Include File and choose verbatim to \verbatiminput{v.tex}
 
This will load the verbatim package, which hopefully deals correctly
with the verbatim stuff.

Raw verbatim is forbidden in some places (footnotes, e.g) and can lead to
very confusing results if a long verbatim input is split across pages.

-- 
Jean-Pierre

Reply via email to