Re: Trouble with paragraph duplication
Martin Senft <[email protected]>
| Newsgroups | gmane.comp.type-setting.lout |
|---|---|
| Message-ID | <CAP=7od70SHL7n14fyYwvqi9Q_e4O4DZTuX_f1nitd73b8NLR9Q@mail.gmail.com> |
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 <[email protected]>: > OK, there is also a problem further down: > > @Text @Begin > @Lorem > @Lorem > @End @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 > > @Text @Begin > lorikeet > lorikeet > @End @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 <[email protected]>: >> > 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