bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeinfo --docbook should include a newline in @docbook


From: Aharon Robbins
Subject: Re: makeinfo --docbook should include a newline in @docbook
Date: Sun, 30 Mar 2014 21:03:21 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi Karl.

>     Current makeinfo when processing @docbook ... @end docbook leaves off
>     the trailing newline.
>
> I can't tell you how much hassle that the trailing newline before @end is.
> In some cases it is absolutely neeeded.  In other cases it absolutely
> needs to be ignored.  I see no way to get it right.  (It's even worse
> with @macro.)

OK. I didn't appreciate the depth of the problem.

> It seems that, in practice, newlines are not ignored at the end of
> @if... conditionals, but are ignored at the end of raw conditionals.

I guess so.  But for my uses of @docbook, I need the newline.

> <span></span> would be a true no-op, if that's what you want.
>
> Another approach is apparently to use an empty comment:
> @docbook
> stuff where you want the newline...
> @c
> @end docbook

OK, I'll try some of these kinds of things and see what I end up with.

>       peformance, while
>
> peformance -> performance 

Thanks! (This may have been a manual typo, I'll check.)

Thanks for the feedback.

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]