[Top][All Lists]

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

Re: [Groff] Figure with subtitle in MS

From: Ted Harding
Subject: Re: [Groff] Figure with subtitle in MS
Date: Mon, 05 Mar 2012 18:47:13 -0000 (GMT)

Glad you found something that seems to work! It wasn't clear to
me how your problem (as you described it) arose (since you did
not quote code which would generate it). I do not remember ever
meeting such a problem myself, and I quite often use the
".KS ... .KE" or ".KF ... .K" mechanism to embed a block, in
which .PSPIC is used, within a keep. This is of course useful
when you want to keep a figure and all of a block of surrounding
text together on the same page.

The code I would use is essentially similar to what you write
below (though without the "\\$.." arguments when not in a macro),
and as I say I do not recall having encountered problems.


On 05-Mar-2012 Cedric Sodhi wrote:
> Thank you Peter,
> I've now written a small macro which seems to work:
> .de FIG
> .     KS
> .     PSPIC "\\$2"
> .     ad r
> .     B "Figure \\$1":
> \\$3
> .     KE
> .     ad b
> ..
> (Right justifying the label).
> Cedric
> On Mon, Mar 05, 2012 at 01:28:05PM -0500, Peter Schaffter wrote:
>> On Mon, Mar 05, 2012, Cedric Sodhi wrote:
>> > While .PSPIC allows me to insert a postscript picture and .KS allows me
>> > to use a keep, using both, the .PSPIC inside of the keep results in the
>> > picture being moved out of the frame towards the right.
>> > 
>> > What am I doing wrong? Should I use mom for that, after all?
>> The mom macros implement no special handling for PSPIC.  Neither do
>> they implement keeps, so I wouldn't look to them as a solution.
>> -- 
>> Peter Schaffter
>> Author of The Binbrook Caucus

E-Mail: (Ted Harding) <address@hidden>
Date: 05-Mar-2012  Time: 18:47:09
This message was sent by XFMail

reply via email to

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