Hi!

Am Donnerstag 10 Juni 2010, um 13:54:53 schrieb Andreas Hermann Braml:
> [...]
> But the following strips all newlines outside the content of | :
> 
> some text
> 
> some text
> 
> And the following does the same:
> 
> some text
> 
> 
> 
> some text
> 
> 
> This seems to be a feature built in with XML-like backend output in mind
> (to not get accidetal spaces before/after tags). Unfortunately - in some
> special but important cases - with LaTeX this is a bug that can't be
> hacked around (as in my case with verbatim).

Well, it can.

There are several packages that improve LaTeX's built-in verbatim environment. 
The big difference: most don't support anything on the same line as 
\begin{<package's verbatim equivalent>}, but one does: verbatim. So for now I 
moved away from package listings, which was used before. That means: no more 
frames around verbatim blocks, but at least it works. We can get some of the 
other features back by using package moreverb, which hooks into package 
verbatim.

Still I'd like to know if there's a way to get newlines directly from AsciiDoc 
:)


Yours
Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to