At 2018-03-09T19:28:23+0000, Colin Watson wrote: > $ groff -e -mandoc -Z -wmac -Tutf8 <src/devices/grolj4/lj4_font.5.man > >/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. -- Regards, Branden
diff --git a/src/devices/grolj4/lj4_font.5.man b/src/devices/grolj4/lj4_font.5.man index 6e4cf510..7f8e50a0 100644 --- a/src/devices/grolj4/lj4_font.5.man +++ b/src/devices/grolj4/lj4_font.5.man @@ -1,4 +1,3 @@ -'\" e .TH LJ4_FONT @MAN5EXT@ "@MDATE@" "Groff Version @VERSION@" .SH NAME lj4_font \- groff fonts for use with devlj4 @@ -118,9 +117,7 @@ or any combination (e.g., 2400 and 3175) for which -.EQ -res\~\[mu]\~unitwidth = 7\|620\|000. -.EN +.IR res \~\[tmu]\~ unitwidth \~=\~7\|620\|000. . Although HP PCL\~5 LaserJet printers support an internal resolution of 7200 units per inch,
Description: PGP signature