groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] bad QE in -ms


From: Carsten Kunze
Subject: Re: [Groff] bad QE in -ms
Date: Mon, 1 Feb 2016 11:41:21 +0100 (CET)

Hello,

the warning message is of course correct already.

For adding the vertical space macro par*start could be used, but the fewest 
side effects to the current implementation may it have to add the vertical 
space request directly.  For @RE the macro name needs to be checked of course.  
(Additionally .QS/.QE needs to be added to the manual page and the info 
documentation.)

Can we agree to commit this?  (The patch is also added as a .gz file.)

diff --git a/tmac/s.tmac b/tmac/s.tmac
index cf0eca8..190ee11 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1298,6 +1298,10 @@ along with this program. If not, see 
<http://www.gnu.org/licenses/>.
 .\}
 .el address@hidden unbalanced \\$0
 address@hidden
+.if '\\$0'QE' \{\
+.      sp \\n[\\n[.ev]:PD]u
+.      ne \\n[PORPHANS]v+\\n(.Vu
+.\}
 ..
 .de @QS
 .br
@@ -1311,6 +1315,8 @@ along with this program. If not, see 
<http://www.gnu.org/licenses/>.
 .nr \\n[.ev]:ri +\\n[QI]
 .nr \\n[.ev]:ai \\n[\\n[.ev]:PI]
 address@hidden
+.sp \\n[\\n[.ev]:PD]u
+.ne \\n[PORPHANS]v+\\n(.Vu
 ..
 .als @QE @RE
 .\" start boxed text

Attachment: tmac_s.tmac.patch.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]