groff
[Top][All Lists]
Advanced

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

Re: [Groff] Three topics related to images


From: Peter Schaffter
Subject: Re: [Groff] Three topics related to images
Date: Sat, 21 Jun 2014 14:02:42 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Jun 21, 2014, Ralph Corderoy wrote:
> mom's PDF_IMAGE macro could remain a float with lots of bells and
> whistles to the user but make use of an underlying macro-set-agnostic
> macro to do the PDF inclusion as Tadziu suggested;  "provide a
> bare-bones PDF image includer à la PSPIC instead".  IOW, bits of
> PDF_IMAGE's functionality are useful elsewhere; can that be factored out
> and made available?

Yes.  It's just a question of wrapping

  \X'pdf: pdfpic ...

inside a macro with flags for positioning and scaling.  Unlike
PSPIC, though, you'd still have to get the bounding box externally
since groff doesn't implement a pdf equivalent to .psbb.

I'll look into it this week.

-- 
Peter Schaffter
http://www.schaffter.ca



reply via email to

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