[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog doc/groff.texinfo font/devps/...
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ./ChangeLog doc/groff.texinfo font/devps/... |
Date: |
Sun, 19 Mar 2006 09:13:43 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 06/03/19 09:13:43
Modified files:
. : ChangeLog
doc : groff.texinfo
font/devps/generate: symbol.sed
Log message:
* doc/groff.texinfo: Improve documentation of `.sp'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/groff/ChangeLog.diff?tr1=1.931&tr2=1.932&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/doc/groff.texinfo.diff?tr1=1.232&tr2=1.233&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/font/devps/generate/symbol.sed.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.931 groff/ChangeLog:1.932
--- groff/ChangeLog:1.931 Sat Mar 18 17:30:20 2006
+++ groff/ChangeLog Sun Mar 19 09:13:43 2006
@@ -1,3 +1,7 @@
+2006-03-19 Miklos Somogyi <address@hidden>
+
+ * doc/groff.texinfo: Improve documentation of `.sp'.
+
2006-03-18 Werner LEMBERG <address@hidden>
* LICENSE: Renamed to...
Index: groff/doc/groff.texinfo
diff -u groff/doc/groff.texinfo:1.232 groff/doc/groff.texinfo:1.233
--- groff/doc/groff.texinfo:1.232 Mon Mar 13 22:36:02 2006
+++ groff/doc/groff.texinfo Sun Mar 19 09:13:43 2006
@@ -7091,7 +7091,27 @@
address@hidden A negative argument causes @code{gtroff} to move up the page
the specified distance. If the argument is preceded by a @samp{|}
then @code{gtroff} moves that distance from the top of the page. This
-request causes a line break. The default scaling indicator is @samp{v}.
+request causes a line break, and that adds the current line spacing to
+the space you have just specified. The default scaling indicator is
address@hidden
+
+For convenience you may wish to use the following macros to set the height
+of the next line at a given distance from the top or the bottom of the
+page:
+
address@hidden
+.de y-from-top-down
+. sp |\\$1-\\n[.v]u
+..
+.
+.de y-from_bot-up
+. sp |\\n[.p]u-\\$1-\\n[.v]u
+..
address@hidden
+
address@hidden
+A call to @samp{.y-from-bot-up 10c} means that the bottom of the next line
+will be at address@hidden from the paper edge at the bottom.
If a vertical trap is sprung during execution of @code{sp}, the amount of
vertical space after the trap is discarded. For example, this
Index: groff/font/devps/generate/symbol.sed
diff -u groff/font/devps/generate/symbol.sed:1.1.1.1
groff/font/devps/generate/symbol.sed:1.2
--- groff/font/devps/generate/symbol.sed:1.1.1.1 Sun Feb 6 09:36:20 2000
+++ groff/font/devps/generate/symbol.sed Sun Mar 19 09:13:43 2006
@@ -1,5 +1,5 @@
#! /bin/sed -f
-# Tweak the AFM file for the Symbol font.
+# Set up uniform vertical dimensions for extensible glyphs (needed by eqn).
/^C .*[ ;]N bracketlefttp[ ;]/bx
/^C .*[ ;]N bracketleftex[ ;]/bx
/^C .*[ ;]N bracketleftbt[ ;]/bx
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ./ChangeLog doc/groff.texinfo font/devps/...,
Werner LEMBERG <=