groff
[Top][All Lists]
Advanced

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

Re: [Groff] Re: YaDCM (Yet another Drop Capital Macro)


From: Werner LEMBERG
Subject: Re: [Groff] Re: YaDCM (Yet another Drop Capital Macro)
Date: Sat, 19 Mar 2005 08:15:55 +0100 (CET)

> > 2) if there isn't enough following text to bring the paragraph
> >    baseline below the bottom of the dropped cap, and the following
> >    para also begins with a dropped cap, the indentation is messed
> >    up for subsequent paras.
>
> I've not fixed (2) either.. does anyone see an obvious fix for this?

Here's a patch.  This also fixes dropcaps which vertically span more
than a single paragraph.


    Werner


======================================================================


--- dropcap.tmac.orig   2005-03-19 00:09:46.000000000 +0100
+++ dropcap.tmac        2005-03-19 08:12:15.163393160 +0100
@@ -77,6 +77,8 @@
 .  el \{\
 '    in \\n[dc::orig-indent]u
 .  \}
+.  if \\n[.trunc] \
+.     sp \\n[.trunc]u
 ..
 .\"
 .\"  dropcap - WORD LINES COLOUR FONT FAMILY ADJUSTMENT { ADJUSTMENT }




reply via email to

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