summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2021-04-21 04:53:40 +1000
committerG. Branden Robinson <g.branden.robinson@gmail.com>2021-04-21 05:28:57 +1000
commit1c74ce20666bc6ac026db72cf0fc519ba13b0c3b (patch)
tree74c802dc4f65947081ac1f0f88f69f79168820a4
parent1400cd34eb6a3c81cd5a0e79d3fe525501bb76f4 (diff)
downloadgroff-git-1c74ce20666bc6ac026db72cf0fc519ba13b0c3b.tar.gz
contrib/sboxes/msboxes.ms: Fix non-body font.
Take advantage of fix to Savannah #60422. Set FAM string earlier, but at last possible opportunity such that it will affect headers, footers, and footnote text. The document now uses Helevetica consistently except where switched to Courier for code examples.
-rw-r--r--BRANCH-TODO2
-rw-r--r--contrib/sboxes/msboxes.ms4
2 files changed, 2 insertions, 4 deletions
diff --git a/BRANCH-TODO b/BRANCH-TODO
index 98eecede6..e6ca9564c 100644
--- a/BRANCH-TODO
+++ b/BRANCH-TODO
@@ -9,8 +9,6 @@ Resolve the following issues.
- Use BI in title.
- Recast language to time-proof it (avoid "recent").
- Use correct \[aq] glyphs in code literals.
- - The font is wrong outside the box once the document source is
- presented (headers and footnotes are in Courier on pp. 3-4).
* Get the BX=x chatter out of stderr.
* Update gropdf(1) to document \X'pdf: background'.
* Decide on a place in the existing ms name space definition for the new
diff --git a/contrib/sboxes/msboxes.ms b/contrib/sboxes/msboxes.ms
index e715c7e9c..84fcc5a6a 100644
--- a/contrib/sboxes/msboxes.ms
+++ b/contrib/sboxes/msboxes.ms
@@ -16,6 +16,7 @@
.EF ''''
.OH 'Using PDF boxes with the \f[I]ms\f[] macros''%'
.OF ''''
+.ds FAM H
.TL
Using PDF boxes with the \f[I]ms\f[] macros
.AU
@@ -23,7 +24,6 @@ Deri James
.AI
deri@chuzzlewit.myzen.co.uk
.\" .AB no
-.ds FAM H
.LP
A recent extension to the Groff PDF driver allows coloured rectangles to be
created beneath any output created by groff. The extension is a new "\eX'pdf:'"
@@ -161,6 +161,7 @@ The above was produced by the following code.
\&.EF ''''
\&.OH 'Using PDF boxes with the \ef[I]ms\ef[] macros''%'
\&.OF ''''
+\&.ds FAM H
\&.TL
Using PDF boxes with the \ef[I]ms\ef[] macros
\&.AU
@@ -168,7 +169,6 @@ Deri James
\&.AI
deri@chuzzlewit.myzen.co.uk
\&.\" .AB no
-\&.ds FAM H
\&.LP
A recent extension to the Groff PDF driver allows coloured rectangles to be
created beneath any output created by groff. The extension is a new "\eX'pdf:'"