lout-users
[Top][All Lists]
Advanced

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

Re: Trouble with paragraph duplication


From: Martin Senft
Subject: Re: Trouble with paragraph duplication
Date: Wed, 22 Feb 2012 20:50:10 +0100

That is true, but I am still confused that no paragraph breaking takes
place in this case. Also, when I use the @Wide command inside the
@Lorem definition or around its invocation, It breaks as expected.
However, when I use @Wide around @Lorem @Lorem, I get the same error
as without using @Wide. What is the rule here that decides when to
break lines in the contents of the @Lorem definition?

Martin

2012/2/21 Jeff Kingston <address@hidden>:
> OK, there is also a problem further down:
>
> address@hidden @Begin
> address@hidden
> address@hidden
> address@hidden @Text
>
> The writer of this has treated @Lorem as though it is a macro
> which returns a sequence of tokens rather than a definition
> which returns an object.  This will produce two copies of
> @Lorem side by side within a paragraph, in the same way that
>
> address@hidden @Begin
>  lorikeet
>  lorikeet
> address@hidden @Text
>
> would produce two copies of lorikeet side by side within
> a paragraph.  See the User's Guide, Section 1.3.
>
> Jeff
>
> On Tue, Feb 21, 2012 at 08:31:10PM +0100, Martin Senft wrote:
>> 2012/2/20 Jeff Kingston <address@hidden>:
>> > Forgetting the // is a well-known Lout gotcha.
>> >
>>
>> Good point, I haven't noticed that. However, fixing this does not
>> remove the paragraph breaking issue in "def @Lorem { @PP ... }" for
>> me.
>>
>> Martin



reply via email to

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