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: Gaius Mulley
Subject: Re: [Groff] Re: YaDCM (Yet another Drop Capital Macro)
Date: 10 Apr 2005 17:57:08 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Werner LEMBERG <address@hidden> writes:

> > But, change that `.sp 4', half way down the second drop `A' in your
> > latest example, to just a simple `.sp' -- oops, *that* wasn't meant
> > to happen ;-(
> 
> The attached version fixes this.  It inserts one line too much space,
> though, but I haven't had time yet to investigate this further.
> 
> I've also patched some other minor details:
> 
>   . The vertical size of the dropcap now also takes the depth into
>     account.  Some fonts have capitals with descenders.
> 
>   . Strings defined with .ds should end with `\"' to avoid trailing
>     spaces:
> 
>       .ds foo abc\"
> 
>   . Assignments with .nr should be enclosed in parentheses so that we
>     don't increment or decrement accidentally.  I prefer this to the
>     `old' technique of using `0' as a prefix:
> 
>       .nr foo (\$1)
> 
>   . I've used additional parentheses for numerical expressions to make
>     them more readable.
> 
>   . Numeric Registers must be removed with `.rr', not `.rm'.
>     `.dropcap' now tests whether those registers do exist, and emit a
>     proper `.sp' command to call all remaining traps from the previous
>     invocation of `.dropcap' before planting its own traps.
> 
>   . Using (u;...) with `.nr' has no effect.  I've removed such
>     constructions.
> 
>   . In macros, using `\v' has exactly the same effect as `\\v'.
>     There's nothing to interpolate.
> 
> 
>       Werner
> 

many thanks Werner

Gaius




reply via email to

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