At 2018-03-09T19:28:23+0000, Colin Watson wrote:
>   $ groff -e -mandoc -Z -wmac -Tutf8 <src/devices/grolj4/ 
> >/dev/null
>   eqn:<standard input>:122: unquoted escape
> \~ in eqn input produces this warning.  It's not clear to me that we get
> much benefit from using eqn in this page just for this one somewhat
> malformed chunk of input (it also arguably ought to be using "times"
> rather than "\[mu]" if it's going to be using eqn anyway).  How about
> something like this?  Or is there a better approach?

This one's my fault.  I introduced it in
a4f9b86065c02f6b2f385c85526a175ab13ae361 on 20 November.  Bag my head.

I have a patch ready (attached), which is basically yours but uses .IR
for font-switching instead of embedded font escapes.

Thanks for catching this.

diff --git a/src/devices/grolj4/ b/src/devices/grolj4/
index 6e4cf510..7f8e50a0 100644
--- a/src/devices/grolj4/
+++ b/src/devices/grolj4/
@@ -1,4 +1,3 @@
-'\" e
 .TH LJ4_FONT @MAN5EXT@ "@MDATE@" "Groff Version @VERSION@"
 lj4_font \- groff fonts for use with devlj4
@@ -118,9 +117,7 @@ or any combination
 2400 and 3175)
 for which
-res\~\[mu]\~unitwidth = 7\|620\|000.
+.IR res \~\[tmu]\~ unitwidth \~=\~7\|620\|000.
 Although HP PCL\~5 LaserJet printers support an internal resolution of
 7200 units per inch,

Attachment: signature.asc
Description: PGP signature

Reply via email to