On Wed, 8 Feb 2012, Dag Wieers wrote:
On Wed, 8 Feb 2012, Lex Trotman wrote:
On 8 February 2012 11:22, Stuart Rackham <[email protected]> wrote:
>
> I've attached a patch:
>
> - The line_break.py filter is no longer necessary (handled by
> replacements3
> substittion).
>
http://code.google.com/p/asciidoc/source/detail?r=05257f9b440922e8971a1e313df036b2d3a629c4
>
> - strip() backend_opts in a2x.conf.
It worked for me for the limited testing I was able to do. At the
moment I am not able to do much more, you know, that pesky real life
stuff.
I certainly would not call the results definitive until Dag has tried it.
It does not work. Except for the first line, every subsequent line starts
with a space. (Every text:linebreak is continued by a text:s)
I now tried using:
[replacements3]B
(\n|$)=<text:line-break/>
\s{8}=<text:s text:c="8"/>
\s{2}=<text:s text:c="2"/>
Which works better (the newline is removed from the output !), but there's
still the issue that a listingblock always has an empty line at the end.
So we should avoid trailing newlines.
--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.