[Groff] Figure with subtitle in MS

2012-03-05 Thread Cedric Sodhi
Hello everyone, apologies for such a trivial question in advance. I'm usually using ms for simple papers (mom seems a little "big" for the job and for I like simplicty I hence use groff_ms) and I wonder how I would embed a centered figure with a subtitle (possibly handled by refer), looking like

Re: [Groff] Figure with subtitle in MS

2012-03-05 Thread Peter Schaffter
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 th

Re: [Groff] Figure with subtitle in MS

2012-03-05 Thread Cedric Sodhi
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

Re: [Groff] Figure with subtitle in MS

2012-03-05 Thread Ted Harding
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

Re: [Groff] odd interaction between .bl and .(c in -me macros

2012-03-05 Thread Tadziu Hoffmann
> Many things that one would normally set in an environment, -me > stores in registers, which are global, not per environment. > So there is little point in switching to a new environment > and then using the -me-sanctioned method of setting, say, > the paragraph type size (that is, setting the pp