Hi Branden, Many thanks for the detailed explanation. Both .OH and .EH now behave fine with just %. It would though be a fine thing if I could just manage to page number in the footers, that being more manuscripty and all. It's then less than ideal that I'm not managing to output any kind of footers, even with: .ds CF - Anybody home? -
Section "6. Page Layout" states that by default, groff -ms " produces no footers. You can customize this arrangement." The absence of any footer-enabling control implies that setting any footer string, or invoking .OF & .EF will suffice. The problem ought not be absence of footer margin, as -ms defaults to one inch. (And explicitly setting one doesn't help, either.) Making some body text a footer (page 3) causes it to disappear, even when PL is set, then dropped to 7 inches, in an effort to shrink things into view. Neither evince nor xpdf can find any footers in the pdf. Apropos the delimiters, my editor default is utf-8, but I'm surprised that basic keyboard entry is given whacky encodings. It did not visibly impair .OH and .EH, though. I'll have to recall how to set the editor to latin1 for an individual file. I'll better understand how documentation might elucidate, once I better understand what I'm doing wrong. ;-) (I have your pdf manual, generated from /opt/groff/groff-1.23.0/doc/ms.ms . And, yes, looking in there, I see it just uses % by itself.) Does the attached input file output either the simple central footer string or page 3 text footer at your end? Regards, Erik
.ds CH \" Clobbers -ms page numbering default. .nr PL 7i \" Else filling overruns A5 length? .nr FM 0.4 \" Explicit footer margin. Might enable stuff? \".OF ’ ’Pno test’%’ \" ### Uncommented, these two lines succumb to \".EF ’%’Pno test’ ’ \" ### a general inability to output footers. \".OH ’ ’Pno test’%’ \" Page numbering in odd and \".EH ’%’Pno test’ ’ \" even headers. .ds CF - Anybody home? - \" Heck, this also does nothing. .LP Oh goody, -ms can number pages in the header, using .OH & .EH. .bp .LP But footers are no footling matter. .bp .LP .FS Will any form of footer find freedom? This one? .FE :!groff -Tpdf -dpaper=a5 -P-pa5 -P-l -ms /home/erik/misc/typsetting/src/test2.ms > /tmp/groff_test2.pdf
groff_test2.pdf
Description: Adobe PDF document
