20 Feb 2012 19:02
Trouble with paragraph duplication
Nicholas Clark <nicholas.clark <at> gmail.com>
2012-02-20 18:02:49 GMT
2012-02-20 18:02:49 GMT
Hi all,
I'm having a little bit of trouble understanding some Lout behavior.
I'd like to be able to replicate a paragraph programmatically, so that
it can be placed in a document several times. I've noticed that Lout
deletes everything if I put any paragraph control characters in my
paragraph text. Why is this?
As an example, this works:
<at> SysInclude{ doc }
def <at> Lorem{
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore
eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
}
<at> Document
<at> Text <at> Begin
<at> PP
<at> PP
<at> Lorem
(Continue reading)
RSS Feed