Use *roffier method of producing Guidebook.dat
doc/Gbk-1pg-sfx.mn is already using one half of a sound technique: set the page length to a very large value, guaranteed to overshoot the vertical space required by the document's text. The other half is to, at the end of the document, set the page length to the current vertical position, so that it ends immediately. https://www.gnu.org/software/groff/manual/groff.html.node/Manipulating-Spacing.html
This commit is contained in:
@@ -34,8 +34,7 @@ PSCMD = groff
|
||||
# GUIDECMD= $(GUIDE_PREFORMAT) | perl -pe 's/^(.mt)$$/.pl 4720v\n.in 0\n.po 8\n.ll 64m\n$$1/' | nroff -c -Tascii | $(COLCMD)
|
||||
#
|
||||
GUIDECMD = $(GUIDE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD)
|
||||
ONEPAGECMD = $(ONEPAGE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD) \
|
||||
| sed -e '/EOF--EOF/,12345D'
|
||||
ONEPAGECMD = $(ONEPAGE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD)
|
||||
|
||||
# Only generate output for the current configuration:
|
||||
NHGREP = $(MAKEDEFS) --grep --input - --output -
|
||||
|
||||
Reference in New Issue
Block a user