Michael Loßin on Mon, 18 Feb 2002 13:25:31 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

RE: Need help restoring an old feature


On 17-Feb-02 James B. Hiller wrote:
> Hi.
> 
> I just upgraded from apsfilter 5.2.0 to 7.2.1, and in the transition ended
> up losing a feature that I've grown to like, and have no idea how to get
> it back.

[...which is "pretty-printing"...]

This feature got lost in 7.2.1 due to a silly cut-n-paste error
of mine.

The text-to-PostScript filter (which is probably "a2ps") has
a facility to create font face/size/style effect with certain
text formats; these have to be enabled explicitly.

In the apsfilter script (about line 454), change the following
line:
        : ${A2PS_BASIC:---delegate=no -X iso1 -g}
to
        : ${A2PS_BASIC:=--delegate=no -X iso1 -g}

                       ^ just one character

If you are already using an A2PS_BASIC setting in one of
your apsfilterrc files, just add "-g" to it.


HTH
Michael