[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with @CentredDisplay in @Rotate sections
From: |
Michael Renner |
Subject: |
Re: Problems with @CentredDisplay in @Rotate sections |
Date: |
Tue, 24 Jan 2006 21:12:37 +0100 |
User-agent: |
Thunderbird 1.5 (Windows/20051201) |
Michael Renner wrote:
Apparently @Place breaks @CD too. Furthermore current lout versions
generate ghostscript-incompatible postscript by not inserting blanks
between the number and the unit, e.g.:
@Place is a source of neverending fun.
For the coordinates when there's a space between the amount and the
unit, lout apparently generates invalid postscript code.
--- cut ---
@SysInclude { doc }
@Document
@PageOrientation { Portrait }
@Text @Begin
@Place x{left + 5.9cm} y{top - 6.2cm} {
I'm visible
}
@Place x{left + 4.9cm} y{top - 7.2 cm} {
I'm not!
}
@End @Text
--- cut ---
The generated output looks like this:
LoutPageDict begin matr setmatrix left 5.9cm add top 6.2cm sub translate
end gsave
vs.
LoutPageDict begin matr setmatrix left 4.9cm add top 7.2 sub cm
translate end gsave
I don't have the slightest clue about postscript, but I guess attribute
ordering is important for those commands ;)
--
best regards,
Michael Renner - Network services
Preisvergleich Internet Services AG
Obere Donaustraße 63/2, A-1020 Wien
Tel: +43 1 5811609 80
Fax: +43 1 5811609 55